Interface BitmapColumnIndex

    • Method Detail

      • estimateSelectivity

        double estimateSelectivity​(int totalRows)
      • computeBitmapResult

        <T> T computeBitmapResult​(BitmapResultFactory<T> bitmapResultFactory,
                                  boolean includeUnknown)
        Compute a bitmap result wrapped with the BitmapResultFactory representing the rows matched by this index.
        Parameters:
        bitmapResultFactory - helper to format the ImmutableBitmap in a form ready for consumption by callers
        includeUnknown - mapping for Druid native two state logic system into SQL three-state logic system. If set to true, this method should also return true if the result is 'unknown' to be a match, such as from the input being null valued. Used primarily to allow NotFilter to invert a match in an SQL compliant manner
        Returns:
        bitmap result representing rows matched by this index