Uses of Class
io.trino.metadata.TableHandle
Packages that use TableHandle
Package
Description
-
Uses of TableHandle in io.trino.metadata
Methods in io.trino.metadata that return TableHandleModifier and TypeMethodDescriptionMetadata.beginDelete(Session session, TableHandle tableHandle) Begin delete queryMetadataManager.beginDelete(Session session, TableHandle tableHandle) Metadata.beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) Begin update queryMetadataManager.beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) TableLayoutResult.getNewTableHandle()Deprecated.AnalyzeMetadata.getTableHandle()Metadata.makeCompatiblePartitioning(Session session, TableHandle table, PartitioningHandle partitioningHandle) Return a table handle whose partitioning is converted to the provided partitioning handle, but otherwise identical to the provided table handle.MetadataManager.makeCompatiblePartitioning(Session session, TableHandle tableHandle, PartitioningHandle partitioningHandle) TableHandle.withConnectorHandle(ConnectorTableHandle connectorHandle) Methods in io.trino.metadata that return types with arguments of type TableHandleModifier and TypeMethodDescriptionMetadata.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) MetadataManager.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) Metadata.applyDelete(Session session, TableHandle tableHandle) Push delete into connectorMetadataManager.applyDelete(Session session, TableHandle table) Metadata.applyFilter(Session session, TableHandle table, Constraint constraint) MetadataManager.applyFilter(Session session, TableHandle table, Constraint constraint) Metadata.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) MetadataManager.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) Metadata.applyLimit(Session session, TableHandle table, long limit) MetadataManager.applyLimit(Session session, TableHandle table, long limit) Metadata.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) MetadataManager.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) Metadata.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) MetadataManager.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) Metadata.applyTopN(Session session, TableHandle handle, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) MetadataManager.applyTopN(Session session, TableHandle table, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) Metadata.beginTableExecute(Session session, TableExecuteHandle handle, TableHandle updatedSourceTableHandle) MetadataManager.beginTableExecute(Session session, TableExecuteHandle tableExecuteHandle, TableHandle sourceHandle) Metadata.getTableHandle(Session session, QualifiedObjectName tableName) Returns a table handle for the specified table name.Metadata.getTableHandle(Session session, QualifiedObjectName tableName, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion) Returns a table handle for the specified table name with a specified versionMetadataManager.getTableHandle(Session session, QualifiedObjectName table) MetadataManager.getTableHandle(Session session, QualifiedObjectName table, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion) RedirectionAwareTableHandle.getTableHandle()Metadata.getTableHandleForStatisticsCollection(Session session, QualifiedObjectName tableName, Map<String, Object> analyzeProperties) MetadataManager.getTableHandleForStatisticsCollection(Session session, QualifiedObjectName table, Map<String, Object> analyzeProperties) Methods in io.trino.metadata with parameters of type TableHandleModifier and TypeMethodDescriptionvoidMetadata.addColumn(Session session, TableHandle tableHandle, ColumnMetadata column) Add the specified column to the table.voidMetadataManager.addColumn(Session session, TableHandle tableHandle, ColumnMetadata column) Metadata.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) MetadataManager.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) Metadata.applyDelete(Session session, TableHandle tableHandle) Push delete into connectorMetadataManager.applyDelete(Session session, TableHandle table) Metadata.applyFilter(Session session, TableHandle table, Constraint constraint) MetadataManager.applyFilter(Session session, TableHandle table, Constraint constraint) Metadata.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) MetadataManager.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) Metadata.applyLimit(Session session, TableHandle table, long limit) MetadataManager.applyLimit(Session session, TableHandle table, long limit) Metadata.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) MetadataManager.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) Metadata.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) MetadataManager.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) Metadata.applyTableScanRedirect(Session session, TableHandle tableHandle) Returns the result of redirecting the table scan on a given table to a different table.MetadataManager.applyTableScanRedirect(Session session, TableHandle tableHandle) Metadata.applyTopN(Session session, TableHandle handle, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) MetadataManager.applyTopN(Session session, TableHandle table, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) Metadata.beginDelete(Session session, TableHandle tableHandle) Begin delete queryMetadataManager.beginDelete(Session session, TableHandle tableHandle) Metadata.beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns) Begin insert queryMetadataManager.beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns) Metadata.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) Begin refresh materialized view queryMetadataManager.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) Metadata.beginStatisticsCollection(Session session, TableHandle tableHandle) Begin statistics collectionMetadataManager.beginStatisticsCollection(Session session, TableHandle tableHandle) Metadata.beginTableExecute(Session session, TableExecuteHandle handle, TableHandle updatedSourceTableHandle) MetadataManager.beginTableExecute(Session session, TableExecuteHandle tableExecuteHandle, TableHandle sourceHandle) Metadata.beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) Begin update queryMetadataManager.beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) voidMetadata.dropColumn(Session session, TableHandle tableHandle, ColumnHandle column) Drop the specified column.voidMetadataManager.dropColumn(Session session, TableHandle tableHandle, ColumnHandle column) voidMetadata.dropTable(Session session, TableHandle tableHandle) Drops the specified tablevoidMetadataManager.dropTable(Session session, TableHandle tableHandle) Metadata.executeDelete(Session session, TableHandle tableHandle) Execute delete in connectorMetadataManager.executeDelete(Session session, TableHandle table) voidMetadata.finishDelete(Session session, TableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments) Finish delete queryvoidMetadataManager.finishDelete(Session session, TableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments) Metadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles) Finish refresh materialized view queryMetadataManager.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles) voidMetadata.finishUpdate(Session session, TableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments) Finish update queryvoidMetadataManager.finishUpdate(Session session, TableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments) Metadata.getColumnHandles(Session session, TableHandle tableHandle) Gets all of the columns on the specified table, or an empty map if the columns cannot be enumerated.MetadataManager.getColumnHandles(Session session, TableHandle tableHandle) Metadata.getColumnMetadata(Session session, TableHandle tableHandle, ColumnHandle columnHandle) Gets the metadata for the specified table column.MetadataManager.getColumnMetadata(Session session, TableHandle tableHandle, ColumnHandle columnHandle) Metadata.getDeleteRowIdColumnHandle(Session session, TableHandle tableHandle) Get the row ID column handle used with UpdatablePageSource#deleteRows.MetadataManager.getDeleteRowIdColumnHandle(Session session, TableHandle tableHandle) Metadata.getInfo(Session session, TableHandle handle) MetadataManager.getInfo(Session session, TableHandle handle) Metadata.getInsertLayout(Session session, TableHandle target) MetadataManager.getInsertLayout(Session session, TableHandle table) Metadata.getLayout(Session session, TableHandle tableHandle, Constraint constraint, Optional<Set<ColumnHandle>> desiredColumns) Deprecated.MetadataManager.getLayout(Session session, TableHandle table, Constraint constraint, Optional<Set<ColumnHandle>> desiredColumns) Metadata.getTableHandleForExecute(Session session, TableHandle tableHandle, String procedureName, Map<String, Object> executeProperties) MetadataManager.getTableHandleForExecute(Session session, TableHandle tableHandle, String procedure, Map<String, Object> executeProperties) Metadata.getTableMetadata(Session session, TableHandle tableHandle) Return the metadata for the specified table handle.MetadataManager.getTableMetadata(Session session, TableHandle tableHandle) Metadata.getTableProperties(Session session, TableHandle handle) MetadataManager.getTableProperties(Session session, TableHandle handle) Metadata.getTableSchema(Session session, TableHandle tableHandle) Return table schema definition for the specified table handle.MetadataManager.getTableSchema(Session session, TableHandle tableHandle) Metadata.getTableStatistics(Session session, TableHandle tableHandle, Constraint constraint) Return statistics for specified table for given filtering contraint.MetadataManager.getTableStatistics(Session session, TableHandle tableHandle, Constraint constraint) Metadata.getUpdateRowIdColumnHandle(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) Get the row ID column handle used with UpdatablePageSource#updateRows.MetadataManager.getUpdateRowIdColumnHandle(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns) Metadata.makeCompatiblePartitioning(Session session, TableHandle table, PartitioningHandle partitioningHandle) Return a table handle whose partitioning is converted to the provided partitioning handle, but otherwise identical to the provided table handle.MetadataManager.makeCompatiblePartitioning(Session session, TableHandle tableHandle, PartitioningHandle partitioningHandle) voidMetadata.renameColumn(Session session, TableHandle tableHandle, ColumnHandle source, String target) Rename the specified column.voidMetadataManager.renameColumn(Session session, TableHandle tableHandle, ColumnHandle source, String target) voidMetadata.renameTable(Session session, TableHandle tableHandle, QualifiedObjectName newTableName) Rename the specified table.voidMetadataManager.renameTable(Session session, TableHandle tableHandle, QualifiedObjectName newTableName) Metadata.resolveIndex(Session session, TableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain) Try to locate a table index that can lookup results by indexableColumns and provide the requested outputColumns.MetadataManager.resolveIndex(Session session, TableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain) voidMetadata.setColumnComment(Session session, TableHandle tableHandle, ColumnHandle column, Optional<String> comment) Comments to the specified column.voidMetadataManager.setColumnComment(Session session, TableHandle tableHandle, ColumnHandle column, Optional<String> comment) voidMetadata.setTableComment(Session session, TableHandle tableHandle, Optional<String> comment) Comments to the specified table.voidMetadataManager.setTableComment(Session session, TableHandle tableHandle, Optional<String> comment) voidMetadata.setTableProperties(Session session, TableHandle tableHandle, Map<String, Object> properties) Set properties to the specified table.voidMetadataManager.setTableProperties(Session session, TableHandle tableHandle, Map<String, Object> properties) booleanMetadata.supportsMetadataDelete(Session session, TableHandle tableHandle) booleanMetadataManager.supportsMetadataDelete(Session session, TableHandle tableHandle) booleanMetadata.supportsMissingColumnsOnInsert(Session session, TableHandle tableHandle) booleanMetadataManager.supportsMissingColumnsOnInsert(Session session, TableHandle tableHandle) voidMetadata.truncateTable(Session session, TableHandle tableHandle) Truncates the specified tablevoidMetadataManager.truncateTable(Session session, TableHandle tableHandle) booleanMetadata.usesLegacyTableLayouts(Session session, TableHandle table) Deprecated.booleanMetadataManager.usesLegacyTableLayouts(Session session, TableHandle table) default voidMetadata.validateScan(Session session, TableHandle table) voidMetadataManager.validateScan(Session session, TableHandle table) static RedirectionAwareTableHandleRedirectionAwareTableHandle.withRedirectionTo(QualifiedObjectName redirectedTableName, TableHandle tableHandle) Method parameters in io.trino.metadata with type arguments of type TableHandleModifier and TypeMethodDescriptionMetadata.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) Begin refresh materialized view queryMetadataManager.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) Metadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles) Finish refresh materialized view queryMetadataManager.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles) static RedirectionAwareTableHandleRedirectionAwareTableHandle.noRedirection(Optional<TableHandle> tableHandle) Constructors in io.trino.metadata with parameters of type TableHandleModifierConstructorDescriptionAnalyzeMetadata(TableStatisticsMetadata statisticsMetadata, TableHandle tableHandle) TableLayoutResult(TableHandle newTable, TableProperties layout, TupleDomain<ColumnHandle> unenforcedConstraint) Deprecated.Constructor parameters in io.trino.metadata with type arguments of type TableHandleModifierConstructorDescriptionprotectedRedirectionAwareTableHandle(Optional<TableHandle> tableHandle) -
Uses of TableHandle in io.trino.operator
Constructors in io.trino.operator with parameters of type TableHandleModifierConstructorDescriptionScanFilterAndProjectOperatorFactory(int operatorId, PlanNodeId planNodeId, PlanNodeId sourceId, PageSourceProvider pageSourceProvider, Supplier<CursorProcessor> cursorProcessor, Supplier<PageProcessor> pageProcessor, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter, List<Type> types, io.airlift.units.DataSize minOutputPageSize, int minOutputPageRowCount) TableDeleteOperator(OperatorContext operatorContext, Metadata metadata, Session session, TableHandle tableHandle) TableDeleteOperatorFactory(int operatorId, PlanNodeId planNodeId, Metadata metadata, Session session, TableHandle tableHandle) TableScanOperator(OperatorContext operatorContext, PlanNodeId planNodeId, PageSourceProvider pageSourceProvider, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter) TableScanOperatorFactory(int operatorId, PlanNodeId sourceId, PageSourceProvider pageSourceProvider, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter) TableScanWorkProcessorOperator(Session session, MemoryTrackingContext memoryTrackingContext, WorkProcessor<Split> splits, PageSourceProvider pageSourceProvider, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter) -
Uses of TableHandle in io.trino.split
Methods in io.trino.split with parameters of type TableHandleModifier and TypeMethodDescriptionPageSourceManager.createPageSource(Session session, Split split, TableHandle table, List<ColumnHandle> columns, DynamicFilter dynamicFilter) PageSourceProvider.createPageSource(Session session, Split split, TableHandle table, List<ColumnHandle> columns, DynamicFilter dynamicFilter) SplitManager.getSplits(Session session, TableHandle table, ConnectorSplitManager.SplitSchedulingStrategy splitSchedulingStrategy, DynamicFilter dynamicFilter, Constraint constraint) -
Uses of TableHandle in io.trino.sql.analyzer
Methods in io.trino.sql.analyzer that return TableHandleModifier and TypeMethodDescriptionAnalysis.getTableHandle(Table table) Analysis.Insert.getTarget()Analysis.RefreshMaterializedViewAnalysis.getTarget()Methods in io.trino.sql.analyzer that return types with arguments of type TableHandleMethods in io.trino.sql.analyzer with parameters of type TableHandleMethod parameters in io.trino.sql.analyzer with type arguments of type TableHandleModifier and TypeMethodDescriptionvoidAnalysis.registerTable(Table table, Optional<TableHandle> handle, QualifiedObjectName name, String authorization, Scope accessControlScope) Constructors in io.trino.sql.analyzer with parameters of type TableHandleModifierConstructorDescriptionInsert(Table table, TableHandle target, List<ColumnHandle> columns, Optional<NewTableLayout> newTableLayout) RefreshMaterializedViewAnalysis(Table table, TableHandle target, Query query, List<ColumnHandle> columns) -
Uses of TableHandle in io.trino.sql.planner.plan
Methods in io.trino.sql.planner.plan that return TableHandleModifier and TypeMethodDescriptionStatisticsWriterNode.WriteStatisticsReference.getHandle()TableWriterNode.InsertReference.getHandle()TableWriterNode.DeleteTarget.getHandleOrElseThrow()TableWriterNode.UpdateTarget.getHandleOrElseThrow()TableWriterNode.TableExecuteTarget.getMandatorySourceHandle()TableWriterNode.RefreshMaterializedViewReference.getStorageTableHandle()TableScanNode.getTable()IndexSourceNode.getTableHandle()TableWriterNode.RefreshMaterializedViewTarget.getTableHandle()TableDeleteNode.getTarget()Methods in io.trino.sql.planner.plan that return types with arguments of type TableHandleModifier and TypeMethodDescriptionTableWriterNode.DeleteTarget.getHandle()TableWriterNode.UpdateTarget.getHandle()TableWriterNode.TableExecuteTarget.getSourceHandle()TableWriterNode.RefreshMaterializedViewReference.getSourceTableHandles()TableWriterNode.RefreshMaterializedViewTarget.getSourceTableHandles()Methods in io.trino.sql.planner.plan with parameters of type TableHandleModifier and TypeMethodDescriptionstatic TableScanNodeTableScanNode.newInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.Use explicit constructor instead.TableScanNode.withTableHandle(TableHandle table) Constructors in io.trino.sql.planner.plan with parameters of type TableHandleModifierConstructorDescriptionIndexSourceNode(PlanNodeId id, IndexHandle indexHandle, TableHandle tableHandle, Set<Symbol> lookupSymbols, List<Symbol> outputSymbols, Map<Symbol, ColumnHandle> assignments) InsertReference(TableHandle handle, List<ColumnHandle> columns) RefreshMaterializedViewReference(Table table, TableHandle storageTableHandle, List<TableHandle> sourceTableHandles) RefreshMaterializedViewTarget(TableHandle tableHandle, InsertTableHandle insertHandle, SchemaTableName schemaTableName, List<TableHandle> sourceTableHandles) TableDeleteNode(PlanNodeId id, TableHandle target, Symbol output) TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) WriteStatisticsReference(TableHandle handle) Constructor parameters in io.trino.sql.planner.plan with type arguments of type TableHandleModifierConstructorDescriptionDeleteTarget(Optional<TableHandle> handle, SchemaTableName schemaTableName) RefreshMaterializedViewReference(Table table, TableHandle storageTableHandle, List<TableHandle> sourceTableHandles) RefreshMaterializedViewTarget(TableHandle tableHandle, InsertTableHandle insertHandle, SchemaTableName schemaTableName, List<TableHandle> sourceTableHandles) TableExecuteTarget(TableExecuteHandle executeHandle, Optional<TableHandle> sourceHandle, SchemaTableName schemaTableName) UpdateTarget(Optional<TableHandle> handle, SchemaTableName schemaTableName, List<String> updatedColumns, List<ColumnHandle> updatedColumnHandles) -
Uses of TableHandle in io.trino.testing
Fields in io.trino.testing declared as TableHandle