public class ComparatorSortedDimensionDictionary<T> extends Object
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 and Description |
|---|
ComparatorSortedDimensionDictionary(List<T> idToValue,
Comparator<T> comparator,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSortedIdFromUnsortedId(int id) |
int |
getUnsortedIdFromSortedId(int index) |
T |
getValueFromSortedId(int index) |
public ComparatorSortedDimensionDictionary(List<T> idToValue, Comparator<T> comparator, int length)
public int getUnsortedIdFromSortedId(int index)
public int getSortedIdFromUnsortedId(int id)
public T getValueFromSortedId(int index)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.