public final class IndexedUtf8ValueSetIndex<TDictionary extends Indexed<ByteBuffer>> extends Object implements StringValueSetIndex, Utf8ValueSetIndex
| Constructor and Description |
|---|
IndexedUtf8ValueSetIndex(BitmapFactory bitmapFactory,
TDictionary dictionary,
Indexed<ImmutableBitmap> bitmaps) |
| Modifier and Type | Method and Description |
|---|---|
BitmapColumnIndex |
forSortedValues(SortedSet<String> values)
Get an
Iterable of ImmutableBitmap corresponding to the specified set of values (if they are
contained in the underlying column). |
BitmapColumnIndex |
forSortedValuesUtf8(SortedSet<ByteBuffer> valuesUtf8)
Get an
Iterable of ImmutableBitmap corresponding to the specified set of values (if they are
contained in the underlying column). |
BitmapColumnIndex |
forValue(String value)
Get the
ImmutableBitmap corresponding to the supplied value |
public IndexedUtf8ValueSetIndex(BitmapFactory bitmapFactory, TDictionary dictionary, Indexed<ImmutableBitmap> bitmaps)
public BitmapColumnIndex forValue(@Nullable String value)
StringValueSetIndexImmutableBitmap corresponding to the supplied valueforValue in interface StringValueSetIndexpublic BitmapColumnIndex forSortedValues(SortedSet<String> values)
StringValueSetIndexIterable of ImmutableBitmap corresponding to the specified set of values (if they are
contained in the underlying column). The set must be sorted using
Comparators.naturalNullsFirst().forSortedValues in interface StringValueSetIndexpublic BitmapColumnIndex forSortedValuesUtf8(SortedSet<ByteBuffer> valuesUtf8)
Utf8ValueSetIndexIterable of ImmutableBitmap corresponding to the specified set of values (if they are
contained in the underlying column). The set must be sorted using
ByteBufferUtils.utf8Comparator().forSortedValuesUtf8 in interface Utf8ValueSetIndexCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.