Java Code Examples for org.apache.beam.sdk.options.Validation#Required

The following examples show how to use org.apache.beam.sdk.options.Validation#Required . 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: DataCatalogPipelineOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
/** Whether to truncate timestamps in tables described by Data Catalog. */
@Description("Truncate sub-millisecond precision timestamps in tables described by Data Catalog")
@Validation.Required
@Default.Boolean(false)
boolean getTruncateTimestamps();
 
Example 2
Source File: BigQueryIOIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Synthetic source options")
@Validation.Required
String getSourceOptions();
 
Example 3
Source File: BigQueryIOReadIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The expected number of records")
@Validation.Required
long getNumRecords();
 
Example 4
Source File: KafkaToGCSOptions.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description("Kafka Bootstrap Server(s). ")
@Validation.Required
String getBootstrapServers();
 
Example 5
Source File: JetPipelineOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Number of locally started Jet Cluster Members")
@Validation.Required
@Default.Integer(0)
Integer getJetLocalMode();
 
Example 6
Source File: KuduToBigQuery.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description("Kudu Tables")
@Validation.Required
String getkuduTableSource();
 
Example 7
Source File: KafkaIOIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Time to wait for the events to be processed by the read pipeline (in seconds)")
@Validation.Required
Integer getReadTimeout();
 
Example 8
Source File: BigQueryIOStorageReadIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The expected number of records")
@Validation.Required
long getNumRecords();
 
Example 9
Source File: DBeamPipelineOptions.java    From dbeam with Apache License 2.0 4 votes vote down vote up
@Description("The JDBC connection url to perform the export.")
@Validation.Required
String getConnectionUrl();
 
Example 10
Source File: BigQueryIOStorageReadTableRowIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The table to be read")
@Validation.Required
String getInputTable();
 
Example 11
Source File: PubsubToPubsub.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description(
    "Filter events based on an optional attribute key. "
        + "No filters are applied if a filterKey is not specified.")
@Validation.Required
ValueProvider<String> getFilterKey();
 
Example 12
Source File: TextConverters.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description("The directory to output files to. Must end with a slash.")
@Validation.Required
ValueProvider<String> getOutputDirectory();
 
Example 13
Source File: WordCount.java    From twister2 with Apache License 2.0 4 votes vote down vote up
/** Set this required option to specify where to write the output. */
@Description("Path of the file to write to")
@Validation.Required
String getOutput();
 
Example 14
Source File: LeaderBoard.java    From deployment-examples with MIT License 4 votes vote down vote up
@Description("BigQuery Dataset to write tables to. Must already exist.")
@Validation.Required
String getDataset();
 
Example 15
Source File: AwsOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
/** AWS region used by the AWS client. */
@Description("AWS region used by the AWS client")
@Validation.Required
String getRegion();
 
Example 16
Source File: TextIOToBigQuery.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Validation.Required
@Description("Temporary directory for BigQuery loading process")
ValueProvider<String> getBigQueryLoadingTemporaryDirectory();
 
Example 17
Source File: BigQueryToTableIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("BigQuery output table schema.")
@Validation.Required
TableSchema getOutputSchema();
 
Example 18
Source File: KafkaIOIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Kafka bootstrap server addresses")
@Validation.Required
String getKafkaBootstrapServerAddresses();
 
Example 19
Source File: BigQueryIOStorageReadIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The table to be read")
@Validation.Required
String getInputTable();
 
Example 20
Source File: BigQueryToTableIT.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description(
    "BigQuery table to write to, specified as "
        + "<project_id>:<dataset_id>.<table_id>. The dataset must already exist.")
@Validation.Required
String getOutput();