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 aBeamSqlTable
using the given table meta info.void
createTable
(Table table) Creates a table.void
Drops 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, wait
Methods 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:TableProvider
Gets the table type this provider handles.- Specified by:
getTableType
in interfaceTableProvider
-
createTable
Description copied from interface:TableProvider
Creates a table.- Specified by:
createTable
in interfaceTableProvider
-
dropTable
Description copied from interface:TableProvider
Drops a table.- Specified by:
dropTable
in interfaceTableProvider
- Parameters:
tableName
-
-
getTables
Description copied from interface:TableProvider
Get all tables from this provider.- Specified by:
getTables
in interfaceTableProvider
-
buildBeamSqlTable
Description copied from interface:TableProvider
Build aBeamSqlTable
using the given table meta info.- Specified by:
buildBeamSqlTable
in interfaceTableProvider
-