Java Code Examples for org.apache.beam.sdk.options.Default#Integer

The following examples show how to use org.apache.beam.sdk.options.Default#Integer . 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: TrafficRoutes.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Numeric value of window 'slide every' setting, in minutes")
@Default.Integer(WINDOW_SLIDE_EVERY)
Integer getWindowSlideEvery();
 
Example 2
Source File: PostgresIOTestPipelineOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Port for postgres server")
@Default.Integer(5432)
Integer getPostgresPort();
 
Example 3
Source File: HadoopFormatIOTestOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Elasticsearch Server port")
@Default.Integer(0)
Integer getElasticServerPort();
 
Example 4
Source File: PubSubToMongoDB.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description("Maximum Connection idle time in ms. Default: 60000")
@Default.Integer(60000)
int getMaxConnectionIdleTime();
 
Example 5
Source File: WriteToGCSAvro.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description(
    "The maximum number of output shards produced when writing. Default number is runner defined. ")
@Default.Integer(0)
Integer getNumShards();
 
Example 6
Source File: CombineLoadTest.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Number of reiterations over the values to perform.")
@Default.Integer(1)
Integer getIterations();
 
Example 7
Source File: SamzaPipelineOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The batch get size limit for the state store.")
@Default.Integer(10000)
int getStoreBatchGetSize();
 
Example 8
Source File: MetricsOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("The graphite metrics port")
@Default.Integer(2003)
Integer getMetricsGraphitePort();
 
Example 9
Source File: FlinkPipelineOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description(
    "The maximum number of concurrent checkpoints. Defaults to 1 (=no concurrent checkpoints).")
@Default.Integer(1)
int getNumConcurrentCheckpoints();
 
Example 10
Source File: JoinNonVariantSegmentsWithVariants.java    From dataflow-java with Apache License 2.0 4 votes vote down vote up
@Description("Genomic window \"bin\" size to use for data containing non-variant segments when "
    + "joining those non-variant segment records with variant records.")
@Default.Integer(1000)
int getBinSize();
 
Example 11
Source File: StreamingDataflowWorkerOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description(
    "Frequency at which active work should be reported back to Windmill, in millis. "
        + "The first refresh will occur after at least this much time has passed since "
        + "starting the work item")
@Default.Integer(10000)
int getActiveWorkRefreshPeriodMillis();
 
Example 12
Source File: HadoopFormatIOTestOptions.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Cassandra Server port")
@Default.Integer(0)
Integer getCassandraServerPort();
 
Example 13
Source File: LeaderBoard.java    From deployment-examples with MIT License 4 votes vote down vote up
@Description("Numeric value of allowed data lateness, in minutes")
@Default.Integer(120)
Integer getAllowedLateness();
 
Example 14
Source File: FilterExamples.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Numeric value of month to filter on")
@Default.Integer(MONTH_TO_FILTER)
Integer getMonthFilter();
 
Example 15
Source File: TextConverters.java    From DataflowTemplates with Apache License 2.0 4 votes vote down vote up
@Description("The maximum number of output shards produced when writing.")
@Default.Integer(1)
Integer getNumShards();
 
Example 16
Source File: StreamWordCount.java    From beam-starter with Apache License 2.0 4 votes vote down vote up
@Description("Fixed window duration, in minutes")
@Default.Integer(1)
Integer getWindowSize();
 
Example 17
Source File: ImportOptions.java    From feast with Apache License 2.0 4 votes vote down vote up
@Description(
    "Port on StatsD server to write metrics to. Required if the metrics exporter is set to StatsD.")
@Default.Integer(8125)
int getStatsdPort();
 
Example 18
Source File: ElasticsearchIOITCommon.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Http port for elasticsearch server")
@Default.Integer(9200)
Integer getElasticsearchHttpPort();
 
Example 19
Source File: TrafficRoutes.java    From beam with Apache License 2.0 4 votes vote down vote up
@Description("Numeric value of sliding window duration, in minutes")
@Default.Integer(WINDOW_DURATION)
Integer getWindowDuration();
 
Example 20
Source File: TokenizePipelineOptions.java    From dlp-dataflow-deidentification with Apache License 2.0 4 votes vote down vote up
@Description("Pollinginterval")
@Default.Integer(300)
Integer getPollingInterval();