public static interface WordCount.WordCountOptions
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 | Method and Description |
---|---|
java.lang.String |
getInputFile()
By default, this example reads from a public dataset containing the text of King Lear.
|
java.lang.String |
getOutput()
Set this required option to specify where to write the output.
|
void |
setInputFile(java.lang.String value) |
void |
setOutput(java.lang.String value) |
java.lang.String getInputFile()
void setInputFile(java.lang.String value)
java.lang.String getOutput()
void setOutput(java.lang.String value)