Interface ValueIndexes
- All Known Implementing Classes:
IndexedUtf8ValueIndexes
public interface ValueIndexes
Construct a
BitmapColumnIndex for a specific value which might be present in the column.-
Method Summary
Modifier and TypeMethodDescriptionforValue(Object value, TypeSignature<ValueType> valueType) Get aBitmapColumnIndexwhich can compute theImmutableBitmapcorresponding to rows matching the supplied value.
-
Method Details
-
forValue
Get aBitmapColumnIndexwhich can compute theImmutableBitmapcorresponding 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
NullValueIndexfor matching nulls.- Parameters:
value- value to matchvalueType- type of the value to match, used to assist conversion from the match value type to the column value type- Returns:
ImmutableBitmapcorresponding to the rows which match the value, or null if an index connot be computed for the supplied value type
-