@Internal public class ArrayFromTuple extends Object implements Extractor<org.apache.flink.api.java.tuple.Tuple,Object[]>
| Constructor and Description |
|---|
ArrayFromTuple()
Using this constructor the extractor will convert the whole tuple (all
fields in the original order) to an array.
|
ArrayFromTuple(int... indexes)
Using this constructor the extractor will combine the fields as specified
in the indexes parameter in an object array.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
extract(org.apache.flink.api.java.tuple.Tuple in)
Extracts/Converts the given input to an object of the output type.
|
public ArrayFromTuple()
public ArrayFromTuple(int... indexes)
indexes - the field ids (enumerated from 0)Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.