T - element typeR - the return typepublic abstract class DataSetAnalyticBase<T,R> extends Object implements DataSetAnalytic<T,R>
DataSetAnalytic.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.api.java.ExecutionEnvironment |
env |
| Constructor and Description |
|---|
DataSetAnalyticBase() |
| Modifier and Type | Method and Description |
|---|---|
R |
execute()
Execute the program and return the result.
|
R |
execute(String jobName)
Execute the program and return the result.
|
DataSetAnalyticBase<T,R> |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResultpublic DataSetAnalyticBase<T,R> 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.run in interface DataSetAnalytic<T,R>input - input datasetExceptionpublic R execute() throws Exception
DataSetAnalyticexecute in interface DataSetAnalytic<T,R>Exceptionpublic R execute(String jobName) throws Exception
DataSetAnalyticexecute in interface DataSetAnalytic<T,R>jobName - the name to assign to the jobExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.