Package org.apache.druid.segment.index
Class IndexedStringDruidPredicateIndexes<TDictionary extends Indexed<String>>
- java.lang.Object
-
- org.apache.druid.segment.index.IndexedStringDruidPredicateIndexes<TDictionary>
-
- All Implemented Interfaces:
DruidPredicateIndexes
public final class IndexedStringDruidPredicateIndexes<TDictionary extends Indexed<String>> extends Object implements DruidPredicateIndexes
-
-
Constructor Summary
Constructors Constructor Description IndexedStringDruidPredicateIndexes(BitmapFactory bitmapFactory, TDictionary dictionary, Indexed<ImmutableBitmap> bitmaps, ColumnConfig columnConfig, int numRows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitmapColumnIndex
forPredicate(DruidPredicateFactory matcherFactory)
Get aBitmapColumnIndex
corresponding to all the rows that match the suppliedDruidPredicateFactory
-
-
-
Constructor Detail
-
IndexedStringDruidPredicateIndexes
public IndexedStringDruidPredicateIndexes(BitmapFactory bitmapFactory, TDictionary dictionary, Indexed<ImmutableBitmap> bitmaps, @Nullable ColumnConfig columnConfig, int numRows)
-
-
Method Detail
-
forPredicate
@Nullable public BitmapColumnIndex forPredicate(DruidPredicateFactory matcherFactory)
Description copied from interface:DruidPredicateIndexes
Get aBitmapColumnIndex
corresponding to all the rows that match the suppliedDruidPredicateFactory
If this method returns null it indicates that there was no index that matched the respective values and a
ValueMatcher
must be used instead.- Specified by:
forPredicate
in interfaceDruidPredicateIndexes
-
-