public interface ValueIndexes
Modifier and Type | Method and Description |
---|---|
BitmapColumnIndex |
forValue(Object value,
TypeSignature<ValueType> valueType)
Get the
ImmutableBitmap corresponding to rows matching the supplied value. |
@Nullable BitmapColumnIndex forValue(@Nonnull Object value, TypeSignature<ValueType> valueType)
ImmutableBitmap
corresponding to rows matching the supplied value. Generates an empty bitmap when
passed a value that doesn't exist. May return null if a value index cannot be computed for the supplied value type.
Does not match null, use NullValueIndex
for matching nulls.value
- value to matchvalueType
- type of the value to match, used to assist conversion from the match value type to the column
value typeImmutableBitmap
corresponding to the rows which match the value, or null if an index
connot be computed for the supplied value typeCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.