Interface ArrayElementIndexes


public interface ArrayElementIndexes
Construct a BitmapColumnIndex for any array element which might be present in an array contained in the column.
  • Method Details

    • containsValue

      @Nullable BitmapColumnIndex containsValue(@Nullable Object value, TypeSignature<ValueType> valueType)
      Get the ImmutableBitmap corresponding 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 row
      valueType - type of the value to match, used to assist conversion from the match value type to the column value type
      Returns:
      ImmutableBitmap corresponding to the rows with array elements which match the value, or null if an index connot be computed for the supplied value type