Package org.apache.druid.segment.index
Class AllUnknownBitmapColumnIndex
- java.lang.Object
-
- org.apache.druid.segment.index.AllUnknownBitmapColumnIndex
-
- All Implemented Interfaces:
BitmapColumnIndex
public class AllUnknownBitmapColumnIndex extends Object implements BitmapColumnIndex
LikeAllFalseBitmapColumnIndexduring normal operation, except if called with 'includeUnknowns' becomes likeAllTrueBitmapColumnIndex.
-
-
Constructor Summary
Constructors Constructor Description AllUnknownBitmapColumnIndex(ColumnIndexSelector indexSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TcomputeBitmapResult(BitmapResultFactory<T> bitmapResultFactory, boolean includeUnknown)Compute a bitmap result wrapped with theBitmapResultFactoryrepresenting the rows matched by this index.ColumnIndexCapabilitiesgetIndexCapabilities()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.segment.index.BitmapColumnIndex
computeBitmapResult
-
-
-
-
Constructor Detail
-
AllUnknownBitmapColumnIndex
public AllUnknownBitmapColumnIndex(ColumnIndexSelector indexSelector)
-
-
Method Detail
-
getIndexCapabilities
public ColumnIndexCapabilities getIndexCapabilities()
- Specified by:
getIndexCapabilitiesin interfaceBitmapColumnIndex
-
computeBitmapResult
public <T> T computeBitmapResult(BitmapResultFactory<T> bitmapResultFactory, boolean includeUnknown)
Description copied from interface:BitmapColumnIndexCompute a bitmap result wrapped with theBitmapResultFactoryrepresenting the rows matched by this index. If building a cursor, useBitmapColumnIndex.computeBitmapResult(BitmapResultFactory, int, int, boolean)instead.- Specified by:
computeBitmapResultin interfaceBitmapColumnIndex- Parameters:
bitmapResultFactory- helper to format theImmutableBitmapin a form ready for consumption by callersincludeUnknown- mapping for Druid native two state logic system into SQL three-state logic system. If set to true, bitmaps returned by this method should include true bits for any rows where the matching result is 'unknown', such as from the input being null valued. SeeNullHandling.useThreeValueLogic().- Returns:
- bitmap result representing rows matched by this index
-
-