@Internal public class FieldsFromTuple extends Object implements Extractor<Tuple,double[]>
Constructor and Description |
---|
FieldsFromTuple(int... indexes)
Extracts one or more fields of the the type Double from a tuple and puts
them into a new double[] (in the specified order).
|
Modifier and Type | Method and Description |
---|---|
double[] |
extract(Tuple in)
Extracts/Converts the given input to an object of the output type
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.