- getExecutionEnvironment
Creates an execution environment that represents the context in which the
program is currently execu
- execute
Triggers the program execution. The environment will execute all parts of the
program that have resu
- getConfig
Gets the config object that defines execution parameters.
- fromCollection
Creates a DataSet from the given iterator. Because the iterator will remain
unmodified until the act
- fromElements
Creates a new data set that contains the given elements. The elements must all
be of the same type,
- setParallelism
Sets the parallelism for operations executed through this environment. Setting a
parallelism of x he
- createInput
Generic method to create an input DataSet with in InputFormat. The DataSet will
not be immediately c
- getParallelism
Gets the parallelism with which operation are executed by default. Operations
can individually overr
- createLocalEnvironment
Creates a LocalEnvironment which is used for executing Flink jobs.
- readTextFile
Creates a DataSet that represents the Strings produced by reading the given file
line wise. The java
- getLastJobExecutionResult
Returns the org.apache.flink.api.common.JobExecutionResult of the last executed
job.
- readCsvFile
Creates a CSV reader to read a comma separated value (CSV) file. The reader has
options to define pa