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>
@Internal public class FieldFromArray<OUT> extends Object implements Extractor<Object,OUT>
Extracts a single field out of an array.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldFromArray()Extracts the first field (id 0) from the array.FieldFromArray(int fieldId)Extracts the field with the given id from the array.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OUTextract(Object in)Extracts/Converts the given input to an object of the output type.
-