Package org.apache.beam.examples
Interface WindowedWordCount.Options
-
- All Superinterfaces:
ExampleBigQueryTableOptions,ExampleOptions,org.apache.beam.sdk.extensions.gcp.options.GcpOptions,org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions,org.apache.beam.sdk.transforms.display.HasDisplayData,org.apache.beam.sdk.options.PipelineOptions,WordCount.WordCountOptions
- Enclosing class:
- WindowedWordCount
public static interface WindowedWordCount.Options extends WordCount.WordCountOptions, ExampleOptions, ExampleBigQueryTableOptions
Options forWindowedWordCount.Inherits standard example configuration options, which allow specification of the runner, as well as the
WordCount.WordCountOptionssupport for specification of the input and output files.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.beam.examples.common.ExampleBigQueryTableOptions
ExampleBigQueryTableOptions.BigQueryTableFactory
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.extensions.gcp.options.GcpOptions
org.apache.beam.sdk.extensions.gcp.options.GcpOptions.DefaultProjectFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.EnableStreamingEngineFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpOAuthScopesFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpTempLocationFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpUserCredentialsFactory
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions
org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions.GoogleApiTracer
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.LonggetMaxTimestampMillis()java.lang.LonggetMinTimestampMillis()java.lang.IntegergetNumShards()java.lang.IntegergetWindowSize()voidsetMaxTimestampMillis(java.lang.Long value)voidsetMinTimestampMillis(java.lang.Long value)voidsetNumShards(java.lang.Integer numShards)voidsetWindowSize(java.lang.Integer value)-
Methods inherited from interface org.apache.beam.examples.common.ExampleBigQueryTableOptions
getBigQueryDataset, getBigQuerySchema, getBigQueryTable, setBigQueryDataset, setBigQuerySchema, setBigQueryTable
-
Methods inherited from interface org.apache.beam.examples.common.ExampleOptions
getInjectorNumWorkers, getKeepJobsRunning, setInjectorNumWorkers, setKeepJobsRunning
-
Methods inherited from interface org.apache.beam.sdk.extensions.gcp.options.GcpOptions
getCredentialFactoryClass, getDataflowKmsKey, getGcpCredential, getGcpOauthScopes, getGcpTempLocation, getImpersonateServiceAccount, getProject, getWorkerRegion, getWorkerZone, getZone, isEnableStreamingEngine, setCredentialFactoryClass, setDataflowKmsKey, setEnableStreamingEngine, setGcpCredential, setGcpOauthScopes, setGcpTempLocation, setImpersonateServiceAccount, setProject, setWorkerRegion, setWorkerZone, setZone
-
Methods inherited from interface org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions
getGoogleApiTrace, setGoogleApiTrace
-
Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayData
-
Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
-
Methods inherited from interface org.apache.beam.examples.WordCount.WordCountOptions
getInputFile, getOutput, setInputFile, setOutput
-
-
-
-
Method Detail
-
getWindowSize
@Integer(10) java.lang.Integer getWindowSize()
-
setWindowSize
void setWindowSize(java.lang.Integer value)
-
getMinTimestampMillis
@InstanceFactory(DefaultToCurrentSystemTime.class) java.lang.Long getMinTimestampMillis()
-
setMinTimestampMillis
void setMinTimestampMillis(java.lang.Long value)
-
getMaxTimestampMillis
@InstanceFactory(DefaultToMinTimestampPlusOneHour.class) java.lang.Long getMaxTimestampMillis()
-
setMaxTimestampMillis
void setMaxTimestampMillis(java.lang.Long value)
-
getNumShards
java.lang.Integer getNumShards()
-
setNumShards
void setNumShards(java.lang.Integer numShards)
-
-