public final class IndexedUtf8LexicographicalRangeIndex<TDictionary extends Indexed<ByteBuffer>> extends Object implements LexicographicalRangeIndex
| Constructor and Description |
|---|
IndexedUtf8LexicographicalRangeIndex(BitmapFactory bitmapFactory,
TDictionary dictionary,
Indexed<ImmutableBitmap> bitmaps,
boolean hasNull) |
| Modifier and Type | Method and Description |
|---|---|
BitmapColumnIndex |
forRange(String startValue,
boolean startStrict,
String endValue,
boolean endStrict)
Get a
BitmapColumnIndex corresponding to the values supplied in the specified range. |
BitmapColumnIndex |
forRange(String startValue,
boolean startStrict,
String endValue,
boolean endStrict,
com.google.common.base.Predicate<String> matcher)
Get a
BitmapColumnIndex corresponding to the values supplied in the specified range whose dictionary ids
also match some predicate, such as to match a prefix. |
public IndexedUtf8LexicographicalRangeIndex(BitmapFactory bitmapFactory, TDictionary dictionary, Indexed<ImmutableBitmap> bitmaps, boolean hasNull)
public BitmapColumnIndex forRange(@Nullable String startValue, boolean startStrict, @Nullable String endValue, boolean endStrict)
LexicographicalRangeIndexBitmapColumnIndex 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.forRange in interface LexicographicalRangeIndexpublic BitmapColumnIndex forRange(@Nullable String startValue, boolean startStrict, @Nullable String endValue, boolean endStrict, com.google.common.base.Predicate<String> matcher)
LexicographicalRangeIndexBitmapColumnIndex corresponding to the values supplied in the specified range whose dictionary ids
also match some predicate, such as to match a prefix. If supplied starting value is null, the range will begin at
the first non-null value in the underlying value dictionary that matches the predicate. If the end value is null,
the range will extend to the last value in the underlying value dictionary that matches the predicate.
If the provided matcher is always true, it's better to use the other
LexicographicalRangeIndex.forRange(String, boolean, String, boolean) method.forRange in interface LexicographicalRangeIndexCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.