public final class IndexedStringDictionaryEncodedStringValueIndex<TDictionary extends Indexed<String>> extends Object implements DictionaryEncodedStringValueIndex
| Constructor and Description |
|---|
IndexedStringDictionaryEncodedStringValueIndex(BitmapFactory bitmapFactory,
TDictionary dictionary,
Indexed<ImmutableBitmap> bitmaps) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableBitmap |
getBitmap(int idx)
Get the
ImmutableBitmap for dictionary id of the underlying dictionary |
BitmapFactory |
getBitmapFactory() |
int |
getCardinality()
Get the cardinality of the underlying value dictionary
|
String |
getValue(int index)
Get the value in the underlying value dictionary of the specified dictionary id
|
public IndexedStringDictionaryEncodedStringValueIndex(BitmapFactory bitmapFactory, TDictionary dictionary, Indexed<ImmutableBitmap> bitmaps)
public int getCardinality()
DictionaryEncodedStringValueIndexgetCardinality in interface DictionaryEncodedStringValueIndex@Nullable public String getValue(int index)
DictionaryEncodedStringValueIndexgetValue in interface DictionaryEncodedStringValueIndexpublic BitmapFactory getBitmapFactory()
getBitmapFactory in interface DictionaryEncodedStringValueIndexpublic ImmutableBitmap getBitmap(int idx)
DictionaryEncodedValueIndexImmutableBitmap for dictionary id of the underlying dictionarygetBitmap in interface DictionaryEncodedValueIndexCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.