Class PartitionedTableLocationKey.PartitionsComparator

java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey.PartitionsComparator
All Implemented Interfaces:
Comparator<Map<String,Comparable<?>>>
Enclosing class:
PartitionedTableLocationKey

public static final class PartitionedTableLocationKey.PartitionsComparator extends Object implements Comparator<Map<String,Comparable<?>>>
Compares two maps of partitions by key-value pairs. p1's entry order determines the priority of each partition in the comparison, and it's assumed that p2 will have the same entry order. compare(Map, Map) will throw an UnknownPartitionKeyException if one of the maps is missing keys found in the other.