@AutoService(value=TableProvider.class) public class DataStoreV1TableProvider extends SchemaIOTableProviderWrapper
TableProvider for DatastoreIO for consumption by Beam SQL.
Passes the DataStoreV1SchemaIOProvider to the generalized table provider wrapper,
SchemaIOTableProviderWrapper, for DataStoreV1 specific behavior.
A sample of DataStoreV1Table table is:
CREATE TABLE ORDERS(
name VARCHAR,
favorite_color VARCHAR,
favorite_numbers ARRAY<INTEGER>
)
TYPE 'datastoreV1'
LOCATION 'projectId/kind'
| Constructor and Description |
|---|
DataStoreV1TableProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.sdk.schemas.io.SchemaIOProvider |
getSchemaIOProvider() |
BeamTableStatistics |
getTableStatistics(org.apache.beam.sdk.options.PipelineOptions options,
org.apache.beam.sdk.schemas.io.SchemaIO schemaIO) |
java.lang.String |
getTableType()
Gets the table type this provider handles.
|
buildBeamSqlTablecreateTable, dropTable, getTablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubProvider, getSubProviders, getTablepublic org.apache.beam.sdk.schemas.io.SchemaIOProvider getSchemaIOProvider()
getSchemaIOProvider in class SchemaIOTableProviderWrapperpublic java.lang.String getTableType()
TableProvidergetTableType in interface TableProvidergetTableType in class SchemaIOTableProviderWrapperpublic BeamTableStatistics getTableStatistics(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.sdk.schemas.io.SchemaIO schemaIO)
getTableStatistics in class SchemaIOTableProviderWrapper