T - element typepublic class Collect<T> extends DataSetAnalyticBase<T,List<T>>
DataSet into a List.env| Constructor and Description |
|---|
Collect() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getResult()
This method must be called after the program has executed.
|
Collect<T> |
run(org.apache.flink.api.java.DataSet<T> input)
All
DataSetAnalytic processing must be terminated by an
OutputFormat and obtained via accumulators rather than
returned by a DataSet. |
execute, executepublic Collect<T> run(org.apache.flink.api.java.DataSet<T> input) throws Exception
DataSetAnalyticDataSetAnalytic processing must be terminated by an
OutputFormat and obtained via accumulators rather than
returned by a DataSet.public List<T> getResult()
DataSetAnalyticCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.