Package org.apache.beam.examples.common
Interface ExampleBigQueryTableOptions
-
- All Superinterfaces:
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
- All Known Subinterfaces:
AutoComplete.Options,StreamingWordExtract.StreamingWordExtractOptions,TrafficMaxLaneFlow.TrafficMaxLaneFlowOptions,TrafficRoutes.TrafficRoutesOptions,TriggerExample.TrafficFlowOptions,WindowedWordCount.Options
public interface ExampleBigQueryTableOptions extends org.apache.beam.sdk.extensions.gcp.options.GcpOptionsOptions that can be used to configure BigQuery tables in Beam examples. The project defaults to the project being used to run the example.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExampleBigQueryTableOptions.BigQueryTableFactoryReturns the job name as the default BigQuery table name.-
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.StringgetBigQueryDataset()com.google.api.services.bigquery.model.TableSchemagetBigQuerySchema()java.lang.StringgetBigQueryTable()voidsetBigQueryDataset(java.lang.String dataset)voidsetBigQuerySchema(com.google.api.services.bigquery.model.TableSchema schema)voidsetBigQueryTable(java.lang.String table)-
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
-
-
-
-
Method Detail
-
getBigQueryDataset
@String("beam_examples") java.lang.String getBigQueryDataset()
-
setBigQueryDataset
void setBigQueryDataset(java.lang.String dataset)
-
getBigQueryTable
@InstanceFactory(BigQueryTableFactory.class) java.lang.String getBigQueryTable()
-
setBigQueryTable
void setBigQueryTable(java.lang.String table)
-
getBigQuerySchema
com.google.api.services.bigquery.model.TableSchema getBigQuerySchema()
-
setBigQuerySchema
void setBigQuerySchema(com.google.api.services.bigquery.model.TableSchema schema)
-
-