Class SchemaIOTableProviderWrapper
- java.lang.Object
-
- org.apache.beam.sdk.extensions.sql.meta.provider.InMemoryMetaTableProvider
-
- org.apache.beam.sdk.extensions.sql.meta.provider.SchemaIOTableProviderWrapper
-
- All Implemented Interfaces:
java.io.Serializable,TableProvider
- Direct Known Subclasses:
AvroTableProvider,DataStoreV1TableProvider,PubsubTableProvider
@Internal public abstract class SchemaIOTableProviderWrapper extends InMemoryMetaTableProvider implements java.io.Serializable
A generalTableProviderfor IOs for consumption by Beam SQL.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaIOTableProviderWrapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BeamSqlTablebuildBeamSqlTable(Table tableDefinition)Build aBeamSqlTableusing the given table meta info.abstract org.apache.beam.sdk.schemas.io.SchemaIOProvidergetSchemaIOProvider()protected BeamTableStatisticsgetTableStatistics(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.sdk.schemas.io.SchemaIO schemaIO)java.lang.StringgetTableType()Gets the table type this provider handles.-
Methods inherited from class org.apache.beam.sdk.extensions.sql.meta.provider.InMemoryMetaTableProvider
createTable, dropTable, getTables
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.beam.sdk.extensions.sql.meta.provider.TableProvider
getSubProvider, getSubProviders, getTable, supportsPartitioning
-
-
-
-
Method Detail
-
getSchemaIOProvider
public abstract org.apache.beam.sdk.schemas.io.SchemaIOProvider getSchemaIOProvider()
-
getTableType
public java.lang.String getTableType()
Description copied from interface:TableProviderGets the table type this provider handles.- Specified by:
getTableTypein interfaceTableProvider
-
buildBeamSqlTable
public BeamSqlTable buildBeamSqlTable(Table tableDefinition)
Description copied from interface:TableProviderBuild aBeamSqlTableusing the given table meta info.- Specified by:
buildBeamSqlTablein interfaceTableProvider
-
getTableStatistics
protected BeamTableStatistics getTableStatistics(org.apache.beam.sdk.options.PipelineOptions options, org.apache.beam.sdk.schemas.io.SchemaIO schemaIO)
-
-