com.google.cloud.dataflow.sdk.options.Validation Java Examples
The following examples show how to use
com.google.cloud.dataflow.sdk.options.Validation.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomPipelineOptions.java From cloud-dataflow-nyc-taxi-tycoon with Apache License 2.0 | 4 votes |
@Description("ProjectId where data source topic lives") @Default.String("pubsub-public-data") @Validation.Required String getSourceProject();
Example #2
Source File: CustomPipelineOptions.java From cloud-dataflow-nyc-taxi-tycoon with Apache License 2.0 | 4 votes |
@Description("TopicId of source topic") @Default.String("taxirides-realtime") @Validation.Required String getSourceTopic();
Example #3
Source File: CustomPipelineOptions.java From cloud-dataflow-nyc-taxi-tycoon with Apache License 2.0 | 4 votes |
@Description("ProjectId where data sink topic lives") @Validation.Required String getSinkProject();
Example #4
Source File: CustomPipelineOptions.java From cloud-dataflow-nyc-taxi-tycoon with Apache License 2.0 | 4 votes |
@Description("TopicId of sink topic") @Default.String("visualizer") @Validation.Required String getSinkTopic();
Example #5
Source File: FXTimeSeriesPipelineOptions.java From data-timeseries-java with Apache License 2.0 | 4 votes |
@Description("Number of Shards to create for the correlation calculations") @Validation.Required int getShards();
Example #6
Source File: FXTimeSeriesPipelineOptions.java From data-timeseries-java with Apache License 2.0 | 4 votes |
@Description("When outputing correlations should the underlying values be included. " + "Warning this will generate a lot of extra work and should only be used for testing / demos") @Validation.Required boolean getIncludeUnderlying();
Example #7
Source File: FXTimeSeriesPipelineOptions.java From data-timeseries-java with Apache License 2.0 | 4 votes |
@Description("The lowest ABS(correlation value) to emit. If there are 1000 FX instrements there will be (N^2-N)/2 " + "correlations very slide of the window. If you are consuming this in a UI downstream you need to be aware" + "of not swamping the downstream systems with values that have little importance. 0.5 is a good starting point." + "important to note that 0.5 is not the median there is normally a heavey skew towards 0 ") @Validation.Required double getMinCorrelationValue();
Example #8
Source File: FXTimeSeriesPipelineOptions.java From data-timeseries-java with Apache License 2.0 | 4 votes |
@Description("Should NAN values be propogated forward") @Validation.Required boolean getPropogateNAN();
Example #9
Source File: TFIDF.java From flink-dataflow with Apache License 2.0 | 4 votes |
@Description("Prefix of output URI to write to") @Validation.Required String getOutput();
Example #10
Source File: JoinExamples.java From flink-dataflow with Apache License 2.0 | 4 votes |
@Description("Path of the file to write to") @Validation.Required String getOutput();