T
- element typepublic class Collect<T> extends DataSetAnalyticBase<T,List<T>>
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(DataSet<T> input)
All
DataSetAnalytic processing must be terminated by an OutputFormat and
obtained via accumulators rather than returned by a DataSet . |
execute, execute
public Collect<T> run(DataSet<T> input) throws Exception
DataSetAnalytic
DataSetAnalytic
processing must be terminated by an OutputFormat
and
obtained via accumulators rather than returned by a DataSet
.public List<T> getResult()
DataSetAnalytic
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.