Class GenerateSequenceTableProvider
- java.lang.Object
-
- org.apache.beam.sdk.extensions.sql.meta.provider.InMemoryMetaTableProvider
-
- org.apache.beam.sdk.extensions.sql.meta.provider.seqgen.GenerateSequenceTableProvider
-
- All Implemented Interfaces:
TableProvider
@AutoService(TableProvider.class) public class GenerateSequenceTableProvider extends InMemoryMetaTableProvider
Sequence generator table provider.A sample of text table is:
CREATE EXTERNAL TABLE MY_SEQUENCE( sequence BIGINT COMMENT 'this is the primary key', event_time TIMESTAMP COMMENT 'this is the element timestamp' ) TYPE 'sequence';
-
-
Constructor Summary
Constructors Constructor Description GenerateSequenceTableProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeamSqlTablebuildBeamSqlTable(Table table)Build aBeamSqlTableusing the given table meta info.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
-
getTableType
public java.lang.String getTableType()
Description copied from interface:TableProviderGets the table type this provider handles.
-
buildBeamSqlTable
public BeamSqlTable buildBeamSqlTable(Table table)
Description copied from interface:TableProviderBuild aBeamSqlTableusing the given table meta info.
-
-