Class FieldFromArray<OUT>
java.lang.Object
org.apache.flink.streaming.api.functions.windowing.delta.extractor.FieldFromArray<OUT>
- Type Parameters:
OUT- The type of the extracted field.
- All Implemented Interfaces:
Serializable,Extractor<Object,OUT>
Extracts a single field out of an array.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExtracts the first field (id 0) from the array.FieldFromArray(int fieldId) Extracts the field with the given id from the array. -
Method Summary
-
Constructor Details
-
FieldFromArray
public FieldFromArray()Extracts the first field (id 0) from the array. -
FieldFromArray
public FieldFromArray(int fieldId) Extracts the field with the given id from the array.- Parameters:
fieldId- The id of the field which will be extracted from the array.
-
-
Method Details