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.
| Modifier and Type | Interface and Description |
|---|---|
static class |
WordCount.WordCountOptions.OutputFactory
Returns "gs://${YOUR_STAGING_DIRECTORY}/counts.txt" as the default destination.
|
PipelineOptions.CheckEnabled| Modifier and Type | Method and Description |
|---|---|
String |
getInputFile() |
String |
getOutput() |
void |
setInputFile(String value) |
void |
setOutput(String value) |
as, cloneAs, getRunner, getStableUniqueNames, setRunner, setStableUniqueNames@Default.String(value="gs://dataflow-samples/shakespeare/kinglear.txt") String getInputFile()
void setInputFile(String value)
@Default.InstanceFactory(value=WordCount.WordCountOptions.OutputFactory.class) String getOutput()
void setOutput(String value)