public interface ExperimentalOptions extends PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STATE_CACHE_SIZE |
static java.lang.String |
STATE_SAMPLING_PERIOD_MILLIS |
Modifier and Type | Method and Description |
---|---|
static void |
addExperiment(ExperimentalOptions options,
java.lang.String experiment)
Adds experiment to options if not already present.
|
@Nullable java.util.List<java.lang.String> |
getExperiments() |
static java.lang.String |
getExperimentValue(PipelineOptions options,
java.lang.String experiment)
Return the value for the specified experiment or null if not present.
|
static boolean |
hasExperiment(PipelineOptions options,
java.lang.String experiment)
Returns true iff the provided pipeline options has the specified experiment enabled.
|
void |
setExperiments(@Nullable java.util.List<java.lang.String> value) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
static final java.lang.String STATE_CACHE_SIZE
static final java.lang.String STATE_SAMPLING_PERIOD_MILLIS
@Nullable java.util.List<java.lang.String> getExperiments()
void setExperiments(@Nullable java.util.List<java.lang.String> value)
static boolean hasExperiment(PipelineOptions options, java.lang.String experiment)
static void addExperiment(ExperimentalOptions options, java.lang.String experiment)
static java.lang.String getExperimentValue(PipelineOptions options, java.lang.String experiment)