Package org.apache.flink.table.data
Interface ArrayData.ElementGetter
-
- All Superinterfaces:
Serializable
- Enclosing interface:
- ArrayData
@PublicEvolving public static interface ArrayData.ElementGetter extends Serializable
Accessor for getting the elements of an array during runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetElementOrNull(ArrayData array, int pos)Converters and serializers always support nullability.
-
-
-
Method Detail
-
getElementOrNull
@Nullable Object getElementOrNull(ArrayData array, int pos)
Converters and serializers always support nullability. The NOT NULL constraint is only considered on SQL semantic level but not data transfer. E.g. partial deletes (i.e. key-only upserts) set all non-key fields to null, regardless of logical type.
-
-