Class ImportStateComparator

java.lang.Object
io.deephaven.enterprise.ingester.impl.ImportStateComparator
All Implemented Interfaces:
Comparator<ImportStateDetails>

public class ImportStateComparator extends Object implements Comparator<ImportStateDetails>
For the CompositeImportState we need to have a well-defined order. We first sort by class (using the canonical name as a key), then by the key columns. If there is still an ambiguity, we sort by the Constructor arguments, which we assume must be comparable to disambiguate.