Interface DictionaryEncodedStringValueIndex
-
- All Superinterfaces:
DictionaryEncodedValueIndex
- All Known Implementing Classes:
IndexedStringDictionaryEncodedStringValueIndex
public interface DictionaryEncodedStringValueIndex extends DictionaryEncodedValueIndex
This exposes a 'raw' view into bitmap value indexes of a stringDictionaryEncodedColumn
. This allows callers to directly retrieve bitmaps via dictionary ids, as well as access to lower level details of such a column like value lookup and value cardinality. Most filter implementations should likely be using higher level index instead, such asStringValueSetIndexes
,LexicographicalRangeIndexes
,NumericRangeIndexes
, orDruidPredicateIndexes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitmapFactory
getBitmapFactory()
int
getCardinality()
Get the cardinality of the underlying value dictionaryString
getValue(int index)
Get the value in the underlying value dictionary of the specified dictionary id-
Methods inherited from interface org.apache.druid.segment.index.semantic.DictionaryEncodedValueIndex
getBitmap
-
-
-
-
Method Detail
-
getCardinality
int getCardinality()
Get the cardinality of the underlying value dictionary
-
getValue
@Nullable String getValue(int index)
Get the value in the underlying value dictionary of the specified dictionary id
-
getBitmapFactory
BitmapFactory getBitmapFactory()
-
-