Class ComparatorHashableMultiKeyCollating

java.lang.Object
com.espertech.esper.common.internal.util.ComparatorHashableMultiKeyCollating
All Implemented Interfaces:
Serializable, Comparator<HashableMultiKey>

public final class ComparatorHashableMultiKeyCollating extends Object implements Comparator<HashableMultiKey>, Serializable
A comparator on multikeys with string values and using the Collator for comparing. The multikeys must contain the same number of values.
See Also:
  • Constructor Details

    • ComparatorHashableMultiKeyCollating

      public ComparatorHashableMultiKeyCollating(boolean[] isDescendingValues, boolean[] stringTypeValues)
      Ctor.
      Parameters:
      isDescendingValues - - each value is true if the corresponding (same index) entry in the multi-keys is to be sorted in descending order. The multikeys to be compared must have the same number of values as this array.
      stringTypeValues - true for each string-typed column
  • Method Details