Package org.apache.druid.segment
Class SortedDimensionDictionary<T extends Comparable<T>>
java.lang.Object
org.apache.druid.segment.SortedDimensionDictionary<T>
Creates a sorted dictionary given some existing dictionary, storing a mapping of both sorted id to unsorted id
and unsorted id to sorted id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSortedIdFromUnsortedId(int id) intgetUnsortedIdFromSortedId(int index) getValueFromSortedId(int index)
-
Constructor Details
-
SortedDimensionDictionary
-
-
Method Details
-
getUnsortedIdFromSortedId
public int getUnsortedIdFromSortedId(int index) -
getSortedIdFromUnsortedId
public int getSortedIdFromUnsortedId(int id) -
getValueFromSortedId
-