public interface FlinkPipelineOptions extends PipelineOptions, ApplicationNameOptions, StreamingOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCheckpointingInterval() |
org.apache.flink.streaming.api.CheckpointingMode |
getCheckpointingMode() |
java.lang.Long |
getCheckpointTimeoutMillis() |
java.lang.Boolean |
getEnableMetrics() |
java.lang.Long |
getExecutionRetryDelay() |
java.util.List<java.lang.String> |
getFilesToStage()
List of local files to make available to workers.
|
java.lang.String |
getFlinkMaster()
The url of the Flink JobManager on which to execute pipelines.
|
java.lang.Integer |
getNumberOfExecutionRetries() |
java.lang.Boolean |
getObjectReuse() |
java.lang.Integer |
getParallelism() |
java.lang.Boolean |
getRetainExternalizedCheckpointsOnCancellation() |
org.apache.flink.runtime.state.AbstractStateBackend |
getStateBackend()
State backend to store Beam's state during computation.
|
java.lang.Boolean |
isExternalizedCheckpointsEnabled()
Enables or disables externalized checkpoints.
|
void |
setCheckpointingInterval(java.lang.Long interval) |
void |
setCheckpointingMode(org.apache.flink.streaming.api.CheckpointingMode mode) |
void |
setCheckpointTimeoutMillis(java.lang.Long checkpointTimeoutMillis) |
void |
setEnableMetrics(java.lang.Boolean enableMetrics) |
void |
setExecutionRetryDelay(java.lang.Long delay) |
void |
setExternalizedCheckpointsEnabled(java.lang.Boolean externalCheckpoints) |
void |
setFilesToStage(java.util.List<java.lang.String> value) |
void |
setFlinkMaster(java.lang.String value) |
void |
setNumberOfExecutionRetries(java.lang.Integer retries) |
void |
setObjectReuse(java.lang.Boolean reuse) |
void |
setParallelism(java.lang.Integer value) |
void |
setRetainExternalizedCheckpointsOnCancellation(java.lang.Boolean retainOnCancellation) |
void |
setStateBackend(org.apache.flink.runtime.state.AbstractStateBackend stateBackend) |
isStreaming, setStreaming
getAppName, setAppName
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation
populateDisplayData
java.util.List<java.lang.String> getFilesToStage()
Jars are placed on the worker's classpath.
The default value is the list of jars from the main program's classpath.
void setFilesToStage(java.util.List<java.lang.String> value)
java.lang.String getFlinkMaster()
void setFlinkMaster(java.lang.String value)
@Default.InstanceFactory(value=DefaultParallelismFactory.class) java.lang.Integer getParallelism()
void setParallelism(java.lang.Integer value)
@Default.Long(value=-1L) java.lang.Long getCheckpointingInterval()
void setCheckpointingInterval(java.lang.Long interval)
@Default.Enum(value="AT_LEAST_ONCE") org.apache.flink.streaming.api.CheckpointingMode getCheckpointingMode()
void setCheckpointingMode(org.apache.flink.streaming.api.CheckpointingMode mode)
@Default.Long(value=1200000L) java.lang.Long getCheckpointTimeoutMillis()
void setCheckpointTimeoutMillis(java.lang.Long checkpointTimeoutMillis)
@Default.Integer(value=-1) java.lang.Integer getNumberOfExecutionRetries()
void setNumberOfExecutionRetries(java.lang.Integer retries)
@Default.Long(value=-1L) java.lang.Long getExecutionRetryDelay()
void setExecutionRetryDelay(java.lang.Long delay)
@Default.Boolean(value=false) java.lang.Boolean getObjectReuse()
void setObjectReuse(java.lang.Boolean reuse)
org.apache.flink.runtime.state.AbstractStateBackend getStateBackend()
void setStateBackend(org.apache.flink.runtime.state.AbstractStateBackend stateBackend)
@Default.Boolean(value=true) java.lang.Boolean getEnableMetrics()
void setEnableMetrics(java.lang.Boolean enableMetrics)
@Default.Boolean(value=false) java.lang.Boolean isExternalizedCheckpointsEnabled()
void setExternalizedCheckpointsEnabled(java.lang.Boolean externalCheckpoints)
@Default.Boolean(value=false) java.lang.Boolean getRetainExternalizedCheckpointsOnCancellation()
void setRetainExternalizedCheckpointsOnCancellation(java.lang.Boolean retainOnCancellation)