Class ReadOnlyTableProvider
java.lang.Object
org.apache.beam.sdk.extensions.sql.meta.provider.ReadOnlyTableProvider
- All Implemented Interfaces:
TableProvider
A
ReadOnlyTableProvider provides in-memory read only set of BeamSqlTable
BeamSqlTables.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildBeamSqlTable(Table table) Build aBeamSqlTableusing the given table meta info.voidcreateTable(Table table) Creates a table.voidDrops a table.Get all tables from this provider.Gets the table type this provider handles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.extensions.sql.meta.provider.TableProvider
getSubProvider, getSubProviders, getTable, supportsPartitioning
-
Constructor Details
-
ReadOnlyTableProvider
-
-
Method Details
-
getTableType
Description copied from interface:TableProviderGets the table type this provider handles.- Specified by:
getTableTypein interfaceTableProvider
-
createTable
Description copied from interface:TableProviderCreates a table.- Specified by:
createTablein interfaceTableProvider
-
dropTable
Description copied from interface:TableProviderDrops a table.- Specified by:
dropTablein interfaceTableProvider- Parameters:
tableName-
-
getTables
Description copied from interface:TableProviderGet all tables from this provider.- Specified by:
getTablesin interfaceTableProvider
-
buildBeamSqlTable
Description copied from interface:TableProviderBuild aBeamSqlTableusing the given table meta info.- Specified by:
buildBeamSqlTablein interfaceTableProvider
-