Interface ArrayElementIndexes
public interface ArrayElementIndexes
Construct a
BitmapColumnIndex for any array element which might be present in an array contained in the
column.-
Method Summary
Modifier and TypeMethodDescriptioncontainsValue(Object value, TypeSignature<ValueType> valueType) Get theImmutableBitmapcorresponding to rows with array elements matching the supplied value.
-
Method Details
-
containsValue
@Nullable BitmapColumnIndex containsValue(@Nullable Object value, TypeSignature<ValueType> valueType) Get theImmutableBitmapcorresponding to rows with array elements matching the supplied value. Generates an empty bitmap when passed a value that doesn't exist in any array. May return null if a value index cannot be computed for the supplied value type.- Parameters:
value- value to match against any array element in a rowvalueType- 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 with array elements which match the value, or null if an index connot be computed for the supplied value type
-