Class BigQueryTableProvider

  • All Implemented Interfaces:
    TableProvider

    @AutoService(TableProvider.class)
    public class BigQueryTableProvider
    extends InMemoryMetaTableProvider
    BigQuery table provider.

    A sample of text table is:

    
     CREATE TABLE ORDERS(
       ID INT COMMENT 'this is the primary key',
       NAME VARCHAR(127) COMMENT 'this is the name'
     )
     TYPE 'bigquery'
     COMMENT 'this is the table orders'
     LOCATION '[PROJECT_ID]:[DATASET].[TABLE]'
     
    • Constructor Detail

      • BigQueryTableProvider

        public BigQueryTableProvider()
    • Method Detail

      • getTableType

        public java.lang.String getTableType()
        Description copied from interface: TableProvider
        Gets the table type this provider handles.
      • getConversionOptions

        protected static org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtils.ConversionOptions getConversionOptions​(com.fasterxml.jackson.databind.node.ObjectNode properties)