DataflowJavaSDK icon indicating copy to clipboard operation
DataflowJavaSDK copied to clipboard

filling default.string() with getoutput()

Open demousteven opened this issue 8 years ago • 1 comments
trafficstars

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 " + "dev6celbux:dev6celbux.shakespeare_copy. The dataset must already exist.") @Validation.Required @Default.String(OUTPUTDATA) String getOutput(); void setOutput(String value); }

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

demousteven avatar Feb 02 '17 20:02 demousteven

@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.

davorbonaci avatar Mar 06 '17 18:03 davorbonaci