Package org.apache.druid.segment
Class ComparatorSortedDimensionDictionary<T>
java.lang.Object
org.apache.druid.segment.ComparatorSortedDimensionDictionary<T>
Comparator based SortedDimensionDictionary
There are a number of unused methods, because nested columns don't merge bitmap indexes during
the merge phase, rather they are created when serializing the column, but leaving for now for
compatibility with the other implementation-
Constructor Summary
ConstructorsConstructorDescriptionComparatorSortedDimensionDictionary(List<T> idToValue, Comparator<T> comparator, int length) -
Method Summary
Modifier and TypeMethodDescriptionintgetSortedIdFromUnsortedId(int id) intgetUnsortedIdFromSortedId(int index) getValueFromSortedId(int index)
-
Constructor Details
-
ComparatorSortedDimensionDictionary
-
-
Method Details
-
getUnsortedIdFromSortedId
public int getUnsortedIdFromSortedId(int index) -
getSortedIdFromUnsortedId
public int getSortedIdFromUnsortedId(int id) -
getValueFromSortedId
-