Uses of Class
io.trino.spi.connector.SchemaTableName
Packages that use SchemaTableName
-
Uses of SchemaTableName in io.trino.spi.connector
Methods in io.trino.spi.connector that return SchemaTableNameModifier and TypeMethodDescriptionMaterializedViewNotFoundException.getMaterializedViewName()CatalogSchemaTableName.getSchemaTableName()ConnectorTableMetadata.getTable()ConnectorTableSchema.getTable()TableColumnsMetadata.getTable()ColumnNotFoundException.getTableName()default SchemaTableNameConnectorMetadata.getTableName(ConnectorSession session, ConnectorTableHandle table) Return schema table name for the specified table handle.TableNotFoundException.getTableName()ViewNotFoundException.getViewName()RelationColumnsMetadata.name()Returns the value of thenamerecord component.RelationCommentMetadata.name()Returns the value of thenamerecord component.static SchemaTableNameSchemaTableName.schemaTableName(String schemaName, String tableName) SchemaTablePrefix.toSchemaTableName()Methods in io.trino.spi.connector that return types with arguments of type SchemaTableNameModifier and TypeMethodDescriptiondefault Map<SchemaTableName, Set<String>> ConnectorAccessControl.filterColumns(ConnectorSecurityContext context, Map<SchemaTableName, Set<String>> tableColumns) Filter lists of columns of multiple tables to those visible to the identity.default Set<SchemaTableName> ConnectorAccessControl.filterTables(ConnectorSecurityContext context, Set<SchemaTableName> tableNames) Filter the list of tables and views to those visible to the identity.ConnectorMetadata.getMaterializedViews(ConnectorSession session, Optional<String> schemaName) Gets the definitions of materialized views, possibly filtered by schema.default Map<SchemaTableName, RelationType> ConnectorMetadata.getRelationTypes(ConnectorSession session, Optional<String> schemaName) List table, view and materialized view names, possibly filtered by schema.default Map<SchemaTableName, ConnectorViewDefinition> ConnectorMetadata.getViews(ConnectorSession session, Optional<String> schemaName) Gets the definitions of views (but not materialized views), possibly filtered by schema.default List<SchemaTableName> ConnectorMetadata.listMaterializedViews(ConnectorSession session, Optional<String> schemaName) List materialized view names, possibly filtered by schema.default Map<SchemaTableName, List<ColumnMetadata>> ConnectorMetadata.listTableColumns(ConnectorSession session, SchemaTablePrefix prefix) Deprecated.default List<SchemaTableName> ConnectorMetadata.listTables(ConnectorSession session, Optional<String> schemaName) List table, view and materialized view names, possibly filtered by schema.default List<SchemaTableName> ConnectorMetadata.listViews(ConnectorSession session, Optional<String> schemaName) List view names (but not materialized views), possibly filtered by schema.SchemaTablePrefix.toOptionalSchemaTableName()Methods in io.trino.spi.connector with parameters of type SchemaTableNameModifier and TypeMethodDescriptiondefault voidConnectorAccessControl.checkCanAddColumn(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to add columns to the specified table.default voidConnectorAccessControl.checkCanAlterColumn(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to alter columns for the specified table.default voidConnectorAccessControl.checkCanCreateMaterializedView(ConnectorSecurityContext context, SchemaTableName materializedViewName, Map<String, Object> properties) Check if identity is allowed to create the specified materialized view.default voidConnectorAccessControl.checkCanCreateTable(ConnectorSecurityContext context, SchemaTableName tableName, Map<String, Object> properties) Check if identity is allowed to create the specified table with properties.default voidConnectorAccessControl.checkCanCreateView(ConnectorSecurityContext context, SchemaTableName viewName) Check if identity is allowed to create the specified view.default voidConnectorAccessControl.checkCanCreateViewWithSelectFromColumns(ConnectorSecurityContext context, SchemaTableName tableName, Set<String> columnNames) Check if identity is allowed to create a view that selects from the specified columns in a relation.default voidConnectorAccessControl.checkCanDeleteFromTable(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to delete from the specified table.default voidConnectorAccessControl.checkCanDenyTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal grantee) Check if identity is allowed to deny to any other user the specified privilege on the specified table.default voidConnectorAccessControl.checkCanDropColumn(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to drop columns from the specified table.default voidConnectorAccessControl.checkCanDropMaterializedView(ConnectorSecurityContext context, SchemaTableName materializedViewName) Check if identity is allowed to drop the specified materialized view.default voidConnectorAccessControl.checkCanDropTable(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to drop the specified table.default voidConnectorAccessControl.checkCanDropView(ConnectorSecurityContext context, SchemaTableName viewName) Check if identity is allowed to drop the specified view.default voidConnectorAccessControl.checkCanExecuteTableProcedure(ConnectorSecurityContext context, SchemaTableName tableName, String procedure) default voidConnectorAccessControl.checkCanGrantTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal grantee, boolean grantOption) Check if identity is allowed to grant to any other user the specified privilege on the specified table.default voidConnectorAccessControl.checkCanInsertIntoTable(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to insert into the specified table.default voidConnectorAccessControl.checkCanRefreshMaterializedView(ConnectorSecurityContext context, SchemaTableName materializedViewName) Check if identity is allowed to refresh the specified materialized view.default voidConnectorAccessControl.checkCanRenameColumn(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to rename a column in the specified table.default voidConnectorAccessControl.checkCanRenameMaterializedView(ConnectorSecurityContext context, SchemaTableName viewName, SchemaTableName newViewName) Check if identity is allowed to rename the specified materialized view.default voidConnectorAccessControl.checkCanRenameTable(ConnectorSecurityContext context, SchemaTableName tableName, SchemaTableName newTableName) Check if identity is allowed to rename the specified table.default voidConnectorAccessControl.checkCanRenameView(ConnectorSecurityContext context, SchemaTableName viewName, SchemaTableName newViewName) Check if identity is allowed to rename the specified view.default voidConnectorAccessControl.checkCanRevokeTablePrivilege(ConnectorSecurityContext context, Privilege privilege, SchemaTableName tableName, TrinoPrincipal revokee, boolean grantOption) Check if identity is allowed to revoke the specified privilege on the specified table from any user.default voidConnectorAccessControl.checkCanSelectFromColumns(ConnectorSecurityContext context, SchemaTableName tableName, Set<String> columnNames) Check if identity is allowed to select from the specified columns in a relation.default voidConnectorAccessControl.checkCanSetColumnComment(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to comment the column in the specified table.default voidConnectorAccessControl.checkCanSetMaterializedViewProperties(ConnectorSecurityContext context, SchemaTableName materializedViewName, Map<String, Optional<Object>> properties) Check if identity is allowed to set the properties of the specified materialized view.default voidConnectorAccessControl.checkCanSetTableAuthorization(ConnectorSecurityContext context, SchemaTableName tableName, TrinoPrincipal principal) Check if identity is allowed to change the specified table's user/role.default voidConnectorAccessControl.checkCanSetTableComment(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to comment the specified table.default voidConnectorAccessControl.checkCanSetTableProperties(ConnectorSecurityContext context, SchemaTableName tableName, Map<String, Optional<Object>> properties) Check if identity is allowed to set properties to the specified table.default voidConnectorAccessControl.checkCanSetViewAuthorization(ConnectorSecurityContext context, SchemaTableName viewName, TrinoPrincipal principal) Check if identity is allowed to change the specified view's user/role.default voidConnectorAccessControl.checkCanSetViewComment(ConnectorSecurityContext context, SchemaTableName viewName) Check if identity is allowed to comment the specified view.default voidConnectorAccessControl.checkCanShowColumns(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to show columns of tables by executing SHOW COLUMNS, DESCRIBE etc.default voidConnectorAccessControl.checkCanShowCreateTable(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to execute SHOW CREATE TABLE, SHOW CREATE VIEW or SHOW CREATE MATERIALIZED VIEWdefault voidConnectorAccessControl.checkCanTruncateTable(ConnectorSecurityContext context, SchemaTableName tableName) Check if identity is allowed to truncate the specified table in this catalog.default voidConnectorAccessControl.checkCanUpdateTableColumns(ConnectorSecurityContext context, SchemaTableName tableName, Set<String> updatedColumns) Check if identity is allowed to update the supplied columns in the specified table in this catalog.default voidConnectorMetadata.createMaterializedView(ConnectorSession session, SchemaTableName viewName, ConnectorMaterializedViewDefinition definition, Map<String, Object> properties, boolean replace, boolean ignoreExisting) Create the specified materialized view.default voidConnectorMetadata.createView(ConnectorSession session, SchemaTableName viewName, ConnectorViewDefinition definition, Map<String, Object> viewProperties, boolean replace) Create the specified view.default booleanConnectorMetadata.delegateMaterializedViewRefreshToConnector(ConnectorSession session, SchemaTableName viewName) Returns true if materialized view refresh should be delegated to connector usingConnectorMetadata.refreshMaterializedView(io.trino.spi.connector.ConnectorSession, io.trino.spi.connector.SchemaTableName)default voidConnectorMetadata.denyTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee) Denys the specified privilege to the specified user on the specified tabledefault voidConnectorMetadata.dropMaterializedView(ConnectorSession session, SchemaTableName viewName) Drop the specified materialized view.default voidConnectorMetadata.dropView(ConnectorSession session, SchemaTableName viewName) Drop the specified view.static RelationColumnsMetadataRelationColumnsMetadata.forMaterializedView(SchemaTableName name, List<ConnectorMaterializedViewDefinition.Column> columns) static RelationColumnsMetadataRelationColumnsMetadata.forRedirectedTable(SchemaTableName name) static RelationCommentMetadataRelationCommentMetadata.forRedirectedTable(SchemaTableName name) static TableColumnsMetadataTableColumnsMetadata.forRedirectedTable(SchemaTableName table) static RelationCommentMetadataRelationCommentMetadata.forRelation(SchemaTableName name, Optional<String> comment) static RelationColumnsMetadataRelationColumnsMetadata.forTable(SchemaTableName name, List<ColumnMetadata> columns) static TableColumnsMetadataTableColumnsMetadata.forTable(SchemaTableName table, List<ColumnMetadata> columns) static RelationColumnsMetadataRelationColumnsMetadata.forView(SchemaTableName name, List<ConnectorViewDefinition.ViewColumn> columns) default Optional<ViewExpression> ConnectorAccessControl.getColumnMask(ConnectorSecurityContext context, SchemaTableName tableName, String columnName, Type type) default Map<ColumnSchema, ViewExpression> ConnectorAccessControl.getColumnMasks(ConnectorSecurityContext context, SchemaTableName tableName, List<ColumnSchema> columns) Bulk method for getting column masks for a subset of columns in a table.ConnectorMetadata.getMaterializedView(ConnectorSession session, SchemaTableName viewName) Gets the materialized view data for the specified materialized view name.default MaterializedViewFreshnessConnectorMetadata.getMaterializedViewFreshness(ConnectorSession session, SchemaTableName name) The method is used by the engine to determine if a materialized view is current with respect to the tables it depends on.ConnectorMetadata.getMaterializedViewProperties(ConnectorSession session, SchemaTableName viewName, ConnectorMaterializedViewDefinition materializedViewDefinition) default WriterScalingOptionsConnectorMetadata.getNewTableWriterScalingOptions(ConnectorSession session, SchemaTableName tableName, Map<String, Object> tableProperties) default List<ViewExpression> ConnectorAccessControl.getRowFilters(ConnectorSecurityContext context, SchemaTableName tableName) Get row filters associated with the given table and identity.default Optional<SystemTable> ConnectorMetadata.getSystemTable(ConnectorSession session, SchemaTableName tableName) Returns the system table for the specified table name, if one exists.default ConnectorTableHandleConnectorMetadata.getTableHandle(ConnectorSession session, SchemaTableName tableName, Optional<ConnectorTableVersion> startVersion, Optional<ConnectorTableVersion> endVersion) Returns a table handle for the specified table name and version, ornulliftableNamerelation does not exist or is not a table (e.g. is a view, or a materialized view).default Optional<ConnectorViewDefinition> ConnectorMetadata.getView(ConnectorSession session, SchemaTableName viewName) Gets the view data for the specified view name.ConnectorMetadata.getViewProperties(ConnectorSession session, SchemaTableName viewName) Gets the view properties for the specified view.default voidConnectorMetadata.grantTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Grants the specified privilege to the specified user on the specified tabledefault booleanConnectorMetadata.isView(ConnectorSession session, SchemaTableName viewName) Is the specified table a view.booleanSchemaTablePrefix.matches(SchemaTableName schemaTableName) default Optional<CatalogSchemaTableName> ConnectorMetadata.redirectTable(ConnectorSession session, SchemaTableName tableName) Redirects table to other table which may or may not be in the same catalog.default CompletableFuture<?> ConnectorMetadata.refreshMaterializedView(ConnectorSession session, SchemaTableName viewName) Refresh materialized viewdefault voidConnectorMetadata.renameMaterializedView(ConnectorSession session, SchemaTableName source, SchemaTableName target) Rename the specified materialized viewdefault voidConnectorMetadata.renameTable(ConnectorSession session, ConnectorTableHandle tableHandle, SchemaTableName newTableName) Rename the specified tabledefault voidConnectorMetadata.renameView(ConnectorSession session, SchemaTableName source, SchemaTableName target) Rename the specified viewdefault voidConnectorMetadata.revokeTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption) Revokes the specified privilege on the specified table from the specified userdefault voidConnectorMetadata.setMaterializedViewColumnComment(ConnectorSession session, SchemaTableName viewName, String columnName, Optional<String> comment) Comments to the specified materialized view column.default voidConnectorMetadata.setMaterializedViewProperties(ConnectorSession session, SchemaTableName viewName, Map<String, Optional<Object>> properties) Sets the properties of the specified materialized viewdefault voidConnectorMetadata.setTableAuthorization(ConnectorSession session, SchemaTableName tableName, TrinoPrincipal principal) Sets the user/role on the specified table.default voidConnectorMetadata.setViewAuthorization(ConnectorSession session, SchemaTableName viewName, TrinoPrincipal principal) Sets the user/role on the specified view.default voidConnectorMetadata.setViewColumnComment(ConnectorSession session, SchemaTableName viewName, String columnName, Optional<String> comment) Comments to the specified view column.default voidConnectorMetadata.setViewComment(ConnectorSession session, SchemaTableName viewName, Optional<String> comment) Comments to the specified viewMethod parameters in io.trino.spi.connector with type arguments of type SchemaTableNameModifier and TypeMethodDescriptiondefault Map<SchemaTableName, Set<String>> ConnectorAccessControl.filterColumns(ConnectorSecurityContext context, Map<SchemaTableName, Set<String>> tableColumns) Filter lists of columns of multiple tables to those visible to the identity.default Set<SchemaTableName> ConnectorAccessControl.filterTables(ConnectorSecurityContext context, Set<SchemaTableName> tableNames) Filter the list of tables and views to those visible to the identity.default Iterator<RelationColumnsMetadata> ConnectorMetadata.streamRelationColumns(ConnectorSession session, Optional<String> schemaName, UnaryOperator<Set<SchemaTableName>> relationFilter) Gets columns for all relations (tables, views, materialized views), possibly filtered by schemaName.default Iterator<RelationCommentMetadata> ConnectorMetadata.streamRelationComments(ConnectorSession session, Optional<String> schemaName, UnaryOperator<Set<SchemaTableName>> relationFilter) Gets comments for all relations (tables, views, materialized views), possibly filtered by schemaName.Constructors in io.trino.spi.connector with parameters of type SchemaTableNameModifierConstructorDescriptionCatalogSchemaTableName(String catalogName, SchemaTableName schemaTableName) ColumnNotFoundException(SchemaTableName tableName, String columnName) ColumnNotFoundException(SchemaTableName tableName, String columnName, String message) ColumnNotFoundException(SchemaTableName tableName, String columnName, String message, Throwable cause) ColumnNotFoundException(SchemaTableName tableName, String columnName, Throwable cause) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment, List<String> checkConstraints) ConnectorTableSchema(SchemaTableName table, List<ColumnSchema> columns) ConnectorTableSchema(SchemaTableName table, List<ColumnSchema> columns, List<String> checkConstraints) MaterializedViewNotFoundException(SchemaTableName materializedViewName) MaterializedViewNotFoundException(SchemaTableName materializedViewName, String message) MaterializedViewNotFoundException(SchemaTableName materializedViewName, String message, Throwable cause) MaterializedViewNotFoundException(SchemaTableName materializedViewName, Throwable cause) RelationColumnsMetadata(SchemaTableName name, Optional<List<ConnectorMaterializedViewDefinition.Column>> materializedViewColumns, Optional<List<ConnectorViewDefinition.ViewColumn>> viewColumns, Optional<List<ColumnMetadata>> tableColumns, boolean redirected) Creates an instance of aRelationColumnsMetadatarecord class.RelationCommentMetadata(SchemaTableName name, boolean tableRedirected, Optional<String> comment) Creates an instance of aRelationCommentMetadatarecord class.TableColumnsMetadata(SchemaTableName table, Optional<List<ColumnMetadata>> columns) TableNotFoundException(SchemaTableName tableName) TableNotFoundException(SchemaTableName tableName, String message) TableNotFoundException(SchemaTableName tableName, String message, Throwable cause) TableNotFoundException(SchemaTableName tableName, Throwable cause) ViewNotFoundException(SchemaTableName viewName) ViewNotFoundException(SchemaTableName viewName, String message) ViewNotFoundException(SchemaTableName viewName, String message, Throwable cause) ViewNotFoundException(SchemaTableName viewName, Throwable cause) -
Uses of SchemaTableName in io.trino.spi.security
Methods in io.trino.spi.security that return SchemaTableNameMethods in io.trino.spi.security that return types with arguments of type SchemaTableNameModifier and TypeMethodDescriptiondefault Map<SchemaTableName, Set<String>> SystemAccessControl.filterColumns(SystemSecurityContext context, String catalogName, Map<SchemaTableName, Set<String>> tableColumns) Filter lists of columns of multiple tables to those visible to the identity.default Set<SchemaTableName> SystemAccessControl.filterTables(SystemSecurityContext context, String catalogName, Set<SchemaTableName> tableNames) Filter the list of tables and views to those visible to the identity.Method parameters in io.trino.spi.security with type arguments of type SchemaTableNameModifier and TypeMethodDescriptiondefault Map<SchemaTableName, Set<String>> SystemAccessControl.filterColumns(SystemSecurityContext context, String catalogName, Map<SchemaTableName, Set<String>> tableColumns) Filter lists of columns of multiple tables to those visible to the identity.default Set<SchemaTableName> SystemAccessControl.filterTables(SystemSecurityContext context, String catalogName, Set<SchemaTableName> tableNames) Filter the list of tables and views to those visible to the identity.Constructors in io.trino.spi.security with parameters of type SchemaTableNameModifierConstructorDescriptionGrantInfo(PrivilegeInfo privilegeInfo, TrinoPrincipal grantee, SchemaTableName schemaTableName, Optional<TrinoPrincipal> grantor, Optional<Boolean> withHierarchy)
ConnectorMetadata.streamTableColumns(io.trino.spi.connector.ConnectorSession, io.trino.spi.connector.SchemaTablePrefix)which handles redirected tables