public class LocalStreamEnvironment extends StreamExecutionEnvironment
currentEnvironment, DEFAULT_JOB_NAME, streamGraph| Constructor and Description |
|---|
LocalStreamEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.JobExecutionResult |
execute()
Executes the JobGraph of the on a mini cluster of CLusterUtil with a
default name.
|
org.apache.flink.api.common.JobExecutionResult |
execute(String jobName)
Executes the JobGraph of the on a mini cluster of CLusterUtil with a user
specified name.
|
addDefaultKryoSerializer, addDefaultKryoSerializer, addSource, addSource, clean, createInput, createInput, createLocalEnvironment, createLocalEnvironment, createRemoteEnvironment, createRemoteEnvironment, disableOperatorChaining, enableCheckpointing, enableCheckpointing, enableCheckpointing, fromCollection, fromCollection, fromCollection, fromCollection, fromElements, fromParallelCollection, fromParallelCollection, generateParallelSequence, generateSequence, getBufferTimeout, getConfig, getDegreeOfParallelism, getExecutionEnvironment, getExecutionPlan, getNumberOfExecutionRetries, getParallelism, getStreamGraph, initializeFromFactory, readFile, readFileOfPrimitives, readFileOfPrimitives, readFileStream, readTextFile, readTextFile, readTextFileWithValue, readTextFileWithValue, registerType, registerTypeWithKryoSerializer, registerTypeWithKryoSerializer, setBufferTimeout, setDefaultLocalParallelism, setDegreeOfParallelism, setNumberOfExecutionRetries, setParallelism, setStateHandleProvider, socketTextStream, socketTextStream, socketTextStreampublic org.apache.flink.api.common.JobExecutionResult execute()
throws Exception
execute in class StreamExecutionEnvironmentExceptionpublic org.apache.flink.api.common.JobExecutionResult execute(String jobName) throws Exception
execute in class StreamExecutionEnvironmentjobName - name of the jobExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.