public class DataCatalogTableProvider extends FullNameTableProvider
| Modifier and Type | Method and Description |
|---|---|
BeamSqlTable |
buildBeamSqlTable(Table table)
Build a
BeamSqlTable using the given table meta info. |
static DataCatalogTableProvider |
create(DataCatalogPipelineOptions options) |
void |
createTable(Table table)
Creates a table.
|
void |
dropTable(java.lang.String tableName)
Drops a table.
|
Table |
getTable(java.lang.String tableNamePart)
Get a specific table from this provider it is present, or null if it is not present.
|
Table |
getTableByFullName(TableName fullTableName) |
java.util.Map<java.lang.String,Table> |
getTables()
Get all tables from this provider.
|
java.lang.String |
getTableType()
Gets the table type this provider handles.
|
getSubProvider, registerKnownTableNamesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubProviderspublic static DataCatalogTableProvider create(DataCatalogPipelineOptions options)
public java.lang.String getTableType()
TableProviderpublic void createTable(Table table)
TableProviderpublic void dropTable(java.lang.String tableName)
TableProviderpublic java.util.Map<java.lang.String,Table> getTables()
TableProvider@Nullable public Table getTable(java.lang.String tableNamePart)
TableProvider@Nullable public Table getTableByFullName(TableName fullTableName)
getTableByFullName in class FullNameTableProviderpublic BeamSqlTable buildBeamSqlTable(Table table)
TableProviderBeamSqlTable using the given table meta info.