public class StreamPlanEnvironment extends StreamExecutionEnvironment
currentEnvironment, DEFAULT_JOB_NAME, streamGraph| Modifier | Constructor and Description |
|---|---|
protected |
StreamPlanEnvironment(org.apache.flink.api.java.ExecutionEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.JobExecutionResult |
execute()
Triggers the program execution.
|
org.apache.flink.api.common.JobExecutionResult |
execute(String jobName)
Triggers the program execution.
|
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, socketTextStreamprotected StreamPlanEnvironment(org.apache.flink.api.java.ExecutionEnvironment env)
public org.apache.flink.api.common.JobExecutionResult execute()
throws Exception
StreamExecutionEnvironmentexecute in class StreamExecutionEnvironmentExceptionpublic org.apache.flink.api.common.JobExecutionResult execute(String jobName) throws Exception
StreamExecutionEnvironmentexecute in class StreamExecutionEnvironmentjobName - Desired name of the jobExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.