Class FieldsFromTuple
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.windowing.delta.extractor.FieldsFromTuple
-
- All Implemented Interfaces:
Serializable,Extractor<org.apache.flink.api.java.tuple.Tuple,double[]>
@Internal public class FieldsFromTuple extends Object implements Extractor<org.apache.flink.api.java.tuple.Tuple,double[]>
Extracts one or more fields of the type Double from a tuple and puts them into a new double[].- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldsFromTuple(int... indexes)Extracts one or more fields of the type Double from a tuple and puts them into a new double[] (in the specified order).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]extract(org.apache.flink.api.java.tuple.Tuple in)Extracts/Converts the given input to an object of the output type.
-
-
-
Method Detail
-
extract
public double[] extract(org.apache.flink.api.java.tuple.Tuple in)
Description copied from interface:ExtractorExtracts/Converts the given input to an object of the output type.
-
-