Interface NumericRangeIndexes


  • public interface NumericRangeIndexes
    An optimized column value BitmapColumnIndex provider for specialized processing of numeric value ranges. This index does not match null values, union the results of this index with NullValueIndex if null values should be considered part of the value range.
    • Method Detail

      • forRange

        @Nullable
        BitmapColumnIndex forRange​(@Nullable
                                   Number startValue,
                                   boolean startStrict,
                                   @Nullable
                                   Number endValue,
                                   boolean endStrict)
        Get a BitmapColumnIndex corresponding to the values supplied in the specified range. If supplied starting value is null, the range will begin at the first non-null value in the underlying value dictionary. If the end value is null, the range will extend to the last value in the underlying value dictionary.

        If this method returns null it indicates that there is no index available that matches the requested range and a ValueMatcher must be used instead.