@AutoService(value=TableProvider.class) public class BigQueryTableProvider extends InMemoryMetaTableProvider
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 and Description |
|---|
BigQueryTableProvider() |
| Modifier and Type | Method and Description |
|---|---|
BeamSqlTable |
buildBeamSqlTable(Table table)
Build a
BeamSqlTable using the given table meta info. |
java.lang.String |
getTableType()
Gets the table type this provider handles.
|
createTable, dropTable, getTablespublic java.lang.String getTableType()
TableProviderpublic BeamSqlTable buildBeamSqlTable(Table table)
TableProviderBeamSqlTable using the given table meta info.