public static interface WordCount.WordCountOptions extends PipelineOptions
WordCount
.
Concept #4: Defining your own configuration options. Here, you can add your own arguments to be processed by the command-line parser, and specify default values for them. You can then access the options values in your pipeline code.
Inherits standard configuration options.
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInputFile() |
java.lang.String |
getOutput() |
void |
setInputFile(java.lang.String value) |
void |
setOutput(java.lang.String value) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.String(value="gs://beam-samples/shakespeare/kinglear.txt") java.lang.String getInputFile()
void setInputFile(java.lang.String value)
java.lang.String getOutput()
void setOutput(java.lang.String value)