| Modifier and Type | Method and Description |
|---|---|
SchemaTableName |
ConnectorViewDefinition.getName() |
SchemaTableName |
ConnectorTableMetadata.getTable() |
SchemaTableName |
TableNotFoundException.getTableName() |
SchemaTableName |
ColumnNotFoundException.getTableName() |
SchemaTableName |
ViewNotFoundException.getViewName() |
static SchemaTableName |
SchemaTableName.valueOf(String schemaTableName) |
| Modifier and Type | Method and Description |
|---|---|
default Map<SchemaTableName,ConnectorViewDefinition> |
ConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix)
Deprecated.
Gets the view data for views that match the specified table prefix.
|
Map<SchemaTableName,List<ColumnMetadata>> |
ConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix)
Deprecated.
Gets the metadata for all columns that match the specified table prefix.
|
List<SchemaTableName> |
ConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull)
Deprecated.
List table names, possibly filtered by schema.
|
default List<SchemaTableName> |
ConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull)
Deprecated.
List view names, possibly filtered by schema.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace)
Deprecated.
Create the specified view.
|
default void |
ConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName)
Deprecated.
Drop the specified view.
|
ConnectorTableHandle |
ConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName)
Deprecated.
Returns a table handle for the specified table name, or null if the connector does not contain the table.
|
default void |
ConnectorMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
String grantee,
boolean grantOption)
Deprecated.
Grants the specified privilege to the specified user on the specified table
|
boolean |
SchemaTablePrefix.matches(SchemaTableName schemaTableName) |
default void |
ConnectorMetadata.renameTable(ConnectorSession session,
ConnectorTableHandle tableHandle,
SchemaTableName newTableName)
Deprecated.
Rename the specified table
|
| Modifier and Type | Method and Description |
|---|---|
Map<SchemaTableName,ConnectorViewDefinition> |
ClassLoaderSafeConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix) |
Map<SchemaTableName,List<ColumnMetadata>> |
ClassLoaderSafeConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassLoaderSafeConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace) |
void |
ClassLoaderSafeConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName) |
ConnectorTableHandle |
ClassLoaderSafeConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName) |
void |
ClassLoaderSafeConnectorMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
String grantee,
boolean grantOption) |
void |
ClassLoaderSafeConnectorMetadata.renameTable(ConnectorSession session,
ConnectorTableHandle tableHandle,
SchemaTableName newTableName) |
| Modifier and Type | Method and Description |
|---|---|
default Map<SchemaTableName,ConnectorViewDefinition> |
ConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix)
Gets the view data for views that match the specified table prefix.
|
Map<SchemaTableName,List<ColumnMetadata>> |
ConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix)
Gets the metadata for all columns that match the specified table prefix.
|
List<SchemaTableName> |
ConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull)
List table names, possibly filtered by schema.
|
default List<SchemaTableName> |
ConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull)
List view names, possibly filtered by schema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorAccessControl.checkCanAddColumn(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to add columns to the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to create the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to create the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateViewWithSelectFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to create a view that selects from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateViewWithSelectFromView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to create a view that selects from the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanDeleteFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to delete from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanDropTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to drop the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanDropView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to drop the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanGrantTablePrivilege(Identity identity,
Privilege privilege,
SchemaTableName tableName)
Check if identity is allowed to grant to any other user the specified privilege on the specified table.
|
void |
ConnectorAccessControl.checkCanInsertIntoTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to insert into the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanRenameColumn(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to rename a column in the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanRenameTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName,
SchemaTableName newTableName)
Check if identity is allowed to rename the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanSelectFromTable(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName tableName)
Check if identity is allowed to select from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanSelectFromView(ConnectorTransactionHandle transactionHandle,
Identity identity,
SchemaTableName viewName)
Check if identity is allowed to select from the specified view in this catalog.
|
default void |
ConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace)
Create the specified view.
|
default void |
ConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName)
Drop the specified view.
|
ConnectorTableHandle |
ConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName)
Returns a table handle for the specified table name, or null if the connector does not contain the table.
|
default void |
ConnectorMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
String grantee,
boolean grantOption)
Grants the specified privilege to the specified user on the specified table
|
default void |
ConnectorMetadata.renameTable(ConnectorSession session,
ConnectorTableHandle tableHandle,
SchemaTableName newTableName)
Rename the specified table
|
| Modifier and Type | Method and Description |
|---|---|
Map<SchemaTableName,ConnectorViewDefinition> |
ClassLoaderSafeConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix) |
Map<SchemaTableName,List<ColumnMetadata>> |
ClassLoaderSafeConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassLoaderSafeConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace) |
void |
ClassLoaderSafeConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName) |
ConnectorTableHandle |
ClassLoaderSafeConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName) |
void |
ClassLoaderSafeConnectorMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
String grantee,
boolean grantOption) |
void |
ClassLoaderSafeConnectorMetadata.renameTable(ConnectorSession session,
ConnectorTableHandle tableHandle,
SchemaTableName newTableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorAccessControl.checkCanAddColumn(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to add columns to the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to create the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateView(Identity identity,
SchemaTableName viewName)
Deprecated.
Check if identity is allowed to create the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateViewWithSelectFromTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to create a view that selects from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanCreateViewWithSelectFromView(Identity identity,
SchemaTableName viewName)
Deprecated.
Check if identity is allowed to create a view that selects from the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanDeleteFromTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to delete from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanDropTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to drop the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanDropView(Identity identity,
SchemaTableName viewName)
Deprecated.
Check if identity is allowed to drop the specified view in this catalog.
|
void |
ConnectorAccessControl.checkCanGrantTablePrivilege(Identity identity,
Privilege privilege,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to grant to any other user the specified privilege on the specified table.
|
void |
ConnectorAccessControl.checkCanInsertIntoTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to insert into the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanRenameColumn(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to rename a column in the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanRenameTable(Identity identity,
SchemaTableName tableName,
SchemaTableName newTableName)
Deprecated.
Check if identity is allowed to rename the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanSelectFromTable(Identity identity,
SchemaTableName tableName)
Deprecated.
Check if identity is allowed to select from the specified table in this catalog.
|
void |
ConnectorAccessControl.checkCanSelectFromView(Identity identity,
SchemaTableName viewName)
Deprecated.
Check if identity is allowed to select from the specified view in this catalog.
|
Copyright © 2012-2016. All Rights Reserved.