GoogleCloudPlatform / DataflowJavaSDK

Google Cloud Dataflow provides a simple, powerful model for building both batch and streaming parallel data processing pipelines.
http://cloud.google.com/dataflow
855 stars 324 forks source link

filling default.string() with getoutput() #545

Open demousteven opened 7 years ago

demousteven commented 7 years ago

I am not a Java guru I am having a problem to fill the values on this script on the description level , on how to fill the value on description.string with getoutput() and setoutput () every time I do so I have error please help . @Description("BigQuery table to write to, specified as "

and this one on the description level:

private static interface Options extends PipelineOptions { @Description("Path of the file to write to") @Validation.Required String getOutput(); void setOutput(String value); }

Please hep

davorbonaci commented 7 years ago

@demousteven, I'm not really sure I understand the question.

@Description is an optional annotation on PipelineOptions to enable getting help for pipeline options on the command-line. You never need to change it, ever.