Uses of Record Class
io.trino.metadata.TableHandle
Packages that use TableHandle
Package
Description
-
Uses of TableHandle in io.trino.cost
Methods in io.trino.cost that return types with arguments of type TableHandleMethods in io.trino.cost with parameters of type TableHandleModifier and TypeMethodDescriptionCachingTableStatsProvider.getTableStatistics(TableHandle tableHandle) TableStatsProvider.getTableStatistics(TableHandle tableHandle) -
Uses of TableHandle in io.trino.metadata
Methods in io.trino.metadata that return TableHandleModifier and TypeMethodDescriptionMetadata.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) AnalyzeMetadata.tableHandle()Returns the value of thetableHandlerecord component.MergeHandle.tableHandle()Returns the value of thetableHandlerecord component.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, ConnectorExpression joinCondition, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) MetadataManager.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, ConnectorExpression joinCondition, 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.applyTableFunction(Session session, TableFunctionHandle handle) MetadataManager.applyTableFunction(Session session, TableFunctionHandle handle) 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.applyUpdate(Session session, TableHandle tableHandle, Map<ColumnHandle, Constant> assignments) Push update into connectorMetadataManager.applyUpdate(Session session, TableHandle table, Map<ColumnHandle, Constant> 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.tableHandle()Returns the value of thetableHandlerecord component.Methods in io.trino.metadata with parameters of type TableHandleModifier and TypeMethodDescriptionvoidMetadata.addColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnMetadata column) Add the specified column to the table.voidMetadataManager.addColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnMetadata column) voidMetadata.addField(Session session, TableHandle tableHandle, List<String> parentPath, String fieldName, Type type, boolean ignoreExisting) Add the specified field to the column.voidMetadataManager.addField(Session session, TableHandle tableHandle, List<String> parentPath, String fieldName, Type type, boolean ignoreExisting) 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, ConnectorExpression joinCondition, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) MetadataManager.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, ConnectorExpression joinCondition, 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.applyUpdate(Session session, TableHandle tableHandle, Map<ColumnHandle, Constant> assignments) Push update into connectorMetadataManager.applyUpdate(Session session, TableHandle table, Map<ColumnHandle, Constant> assignments) Metadata.beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns) Begin insert queryMetadataManager.beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns) Metadata.beginMerge(Session session, TableHandle tableHandle) Begin merge queryMetadataManager.beginMerge(Session session, TableHandle tableHandle) 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) voidMetadata.dropColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnHandle column) Drop the specified column.voidMetadataManager.dropColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnHandle column) voidMetadata.dropField(Session session, TableHandle tableHandle, ColumnHandle column, List<String> fieldPath) Drop the specified field from the column.voidMetadataManager.dropField(Session session, TableHandle tableHandle, ColumnHandle column, List<String> fieldPath) voidMetadata.dropNotNullConstraint(Session session, TableHandle tableHandle, ColumnHandle column) Drop a not null constraint on the specified column.voidMetadataManager.dropNotNullConstraint(Session session, TableHandle tableHandle, ColumnHandle column) voidMetadata.dropTable(Session session, TableHandle tableHandle, CatalogSchemaTableName tableName) Drops the specified tablevoidMetadataManager.dropTable(Session session, TableHandle tableHandle, CatalogSchemaTableName tableName) Metadata.executeDelete(Session session, TableHandle tableHandle) Execute delete in connectorMetadataManager.executeDelete(Session session, TableHandle table) Metadata.executeUpdate(Session session, TableHandle tableHandle) Execute update in connectorMetadataManager.executeUpdate(Session session, TableHandle table) Metadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) Finish refresh materialized view queryMetadataManager.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) 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.getInfo(Session session, TableHandle handle) MetadataManager.getInfo(Session session, TableHandle handle) Metadata.getInsertLayout(Session session, TableHandle target) MetadataManager.getInsertLayout(Session session, TableHandle table) Metadata.getInsertWriterScalingOptions(Session session, TableHandle tableHandle) Returns writer scaling options for the specified table.MetadataManager.getInsertWriterScalingOptions(Session session, TableHandle tableHandle) Metadata.getMergeRowIdColumnHandle(Session session, TableHandle tableHandle) Get the column handle that will generate row IDs for the merge operation.MetadataManager.getMergeRowIdColumnHandle(Session session, TableHandle tableHandle) Metadata.getRowChangeParadigm(Session session, TableHandle tableHandle) Return the row update paradigm supported by the connector on the table or throw an exception if row change is not supported.MetadataManager.getRowChangeParadigm(Session session, TableHandle tableHandle) Metadata.getStatisticsCollectionMetadata(Session session, TableHandle tableHandle, Map<String, Object> analyzeProperties) Describe statistics that must be collected during a statistics collectionMetadataManager.getStatisticsCollectionMetadata(Session session, TableHandle tableHandle, Map<String, Object> analyzeProperties) 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.getTableName(Session session, TableHandle tableHandle) MetadataManager.getTableName(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) Return statistics for specified table.MetadataManager.getTableStatistics(Session session, TableHandle tableHandle) Metadata.getUpdateLayout(Session session, TableHandle tableHandle) Get the physical layout for updated or deleted rows of a MERGE operation.MetadataManager.getUpdateLayout(Session session, TableHandle tableHandle) 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, CatalogSchemaTableName table, ColumnHandle source, String target) Rename the specified column.voidMetadataManager.renameColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnHandle source, String target) voidMetadata.renameField(Session session, TableHandle tableHandle, List<String> fieldPath, String target) Rename the specified field.voidMetadataManager.renameField(Session session, TableHandle tableHandle, List<String> fieldPath, String target) voidMetadata.renameTable(Session session, TableHandle tableHandle, CatalogSchemaTableName currentTableName, QualifiedObjectName newTableName) Rename the specified table.voidMetadataManager.renameTable(Session session, TableHandle tableHandle, CatalogSchemaTableName sourceTableName, 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.setColumnType(Session session, TableHandle tableHandle, ColumnHandle column, Type type) Set the specified type to the column.voidMetadataManager.setColumnType(Session session, TableHandle tableHandle, ColumnHandle column, Type type) voidMetadata.setFieldType(Session session, TableHandle tableHandle, List<String> fieldPath, Type type) Set the specified type to the field.voidMetadataManager.setFieldType(Session session, TableHandle tableHandle, List<String> fieldPath, Type type) 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, Optional<Object>> properties) Set properties to the specified table.voidMetadataManager.setTableProperties(Session session, TableHandle tableHandle, Map<String, Optional<Object>> properties) 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) 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.finishInsert(Session session, InsertTableHandle tableHandle, List<TableHandle> sourceTableHandles, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics) Finish insert queryMetadataManager.finishInsert(Session session, InsertTableHandle tableHandle, List<TableHandle> sourceTableHandles, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics) Metadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) Finish refresh materialized view queryMetadataManager.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) static RedirectionAwareTableHandleRedirectionAwareTableHandle.noRedirection(Optional<TableHandle> tableHandle) Constructors in io.trino.metadata with parameters of type TableHandleModifierConstructorDescriptionAnalyzeMetadata(TableStatisticsMetadata statisticsMetadata, TableHandle tableHandle) Creates an instance of aAnalyzeMetadatarecord class.MergeHandle(TableHandle tableHandle, ConnectorMergeTableHandle connectorMergeHandle) Creates an instance of aMergeHandlerecord class.Constructor parameters in io.trino.metadata with type arguments of type TableHandleModifierConstructorDescriptionRedirectionAwareTableHandle(Optional<TableHandle> tableHandle, Optional<QualifiedObjectName> redirectedTableName) Creates an instance of aRedirectionAwareTableHandlerecord class. -
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) TableScanOperator(OperatorContext operatorContext, PlanNodeId sourceId, PageSourceProvider pageSourceProvider, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter) TableScanOperatorFactory(int operatorId, PlanNodeId planNodeId, PlanNodeId sourceId, 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, io.opentelemetry.api.trace.Span parentSpan, TableHandle table, 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 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, Optional<String> viewText) Constructors in io.trino.sql.analyzer with parameters of type TableHandleModifierConstructorDescriptionInsert(Table table, TableHandle target, List<ColumnHandle> columns, Optional<TableLayout> 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.MergeTarget.getHandle()TableWriterNode.DeleteTarget.getHandleOrElseThrow()TableWriterNode.UpdateTarget.getHandleOrElseThrow()TableWriterNode.TableExecuteTarget.getMandatorySourceHandle()TableWriterNode.RefreshMaterializedViewReference.getStorageTableHandle()TableScanNode.getTable()IndexSourceNode.getTableHandle()TableWriterNode.RefreshMaterializedViewTarget.getTableHandle()TableDeleteNode.getTarget()TableUpdateNode.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.InsertTarget.getSourceTableHandles()TableWriterNode.RefreshMaterializedViewReference.getSourceTableHandles()TableWriterNode.RefreshMaterializedViewTarget.getSourceTableHandles()Methods in io.trino.sql.planner.plan with parameters of type TableHandleModifier and TypeMethodDescriptionstatic TableScanNodeTableScanNode.fromJson(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) static 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) MergeTarget(TableHandle handle, Optional<MergeHandle> mergeHandle, SchemaTableName schemaTableName, TableWriterNode.MergeParadigmAndTypes mergeParadigmAndTypes) RefreshMaterializedViewReference(String table, TableHandle storageTableHandle, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) RefreshMaterializedViewTarget(TableHandle tableHandle, InsertTableHandle insertHandle, SchemaTableName schemaTableName, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions, WriterScalingOptions writerScalingOptions) TableDeleteNode(PlanNodeId id, TableHandle target, Symbol output) TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) TableUpdateNode(PlanNodeId id, TableHandle target, Symbol output) WriteStatisticsReference(TableHandle handle) Constructor parameters in io.trino.sql.planner.plan with type arguments of type TableHandleModifierConstructorDescriptionDeleteTarget(Optional<TableHandle> handle, SchemaTableName schemaTableName) InsertTarget(InsertTableHandle handle, SchemaTableName schemaTableName, boolean multipleWritersPerPartitionSupported, OptionalInt maxWriterTasks, WriterScalingOptions writerScalingOptions, List<TableHandle> sourceTableHandles) RefreshMaterializedViewReference(String table, TableHandle storageTableHandle, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) RefreshMaterializedViewTarget(TableHandle tableHandle, InsertTableHandle insertHandle, SchemaTableName schemaTableName, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions, WriterScalingOptions writerScalingOptions) TableExecuteTarget(TableExecuteHandle executeHandle, Optional<TableHandle> sourceHandle, SchemaTableName schemaTableName, WriterScalingOptions writerScalingOptions) UpdateTarget(Optional<TableHandle> handle, SchemaTableName schemaTableName, List<String> updatedColumns, List<ColumnHandle> updatedColumnHandles) -
Uses of TableHandle in io.trino.sql.planner.planprinter
Methods in io.trino.sql.planner.planprinter with parameters of type TableHandleModifier and TypeMethodDescriptionAnonymizer.anonymize(TableHandle tableHandle) Anonymizer.anonymize(TableHandle tableHandle, TableInfo tableInfo) CounterBasedAnonymizer.anonymize(TableHandle tableHandle) CounterBasedAnonymizer.anonymize(TableHandle tableHandle, TableInfo tableInfo) NoOpAnonymizer.anonymize(TableHandle tableHandle) NoOpAnonymizer.anonymize(TableHandle tableHandle, TableInfo tableInfo) -
Uses of TableHandle in io.trino.testing
Fields in io.trino.testing declared as TableHandleMethods in io.trino.testing that return TableHandleModifier and TypeMethodDescriptionPlanTester.getTableHandle(String catalogName, String schemaName, String tableName) -
Uses of TableHandle in io.trino.tracing
Methods in io.trino.tracing that return TableHandleModifier and TypeMethodDescriptionTracingMetadata.makeCompatiblePartitioning(Session session, TableHandle table, PartitioningHandle partitioningHandle) Methods in io.trino.tracing that return types with arguments of type TableHandleModifier and TypeMethodDescriptionTracingMetadata.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) TracingMetadata.applyDelete(Session session, TableHandle tableHandle) TracingMetadata.applyFilter(Session session, TableHandle table, Constraint constraint) TracingMetadata.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, ConnectorExpression joinCondition, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) TracingMetadata.applyLimit(Session session, TableHandle table, long limit) TracingMetadata.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) TracingMetadata.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) TracingMetadata.applyTableFunction(Session session, TableFunctionHandle handle) TracingMetadata.applyTopN(Session session, TableHandle handle, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) TracingMetadata.applyUpdate(Session session, TableHandle tableHandle, Map<ColumnHandle, Constant> assignments) TracingMetadata.beginTableExecute(Session session, TableExecuteHandle handle, TableHandle updatedSourceTableHandle) TracingMetadata.getTableHandle(Session session, QualifiedObjectName tableName) TracingMetadata.getTableHandle(Session session, QualifiedObjectName tableName, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion) Methods in io.trino.tracing with parameters of type TableHandleModifier and TypeMethodDescriptionvoidTracingMetadata.addColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnMetadata column) voidTracingMetadata.addField(Session session, TableHandle tableHandle, List<String> parentPath, String fieldName, Type type, boolean ignoreExisting) TracingMetadata.applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String, ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets) TracingMetadata.applyDelete(Session session, TableHandle tableHandle) TracingMetadata.applyFilter(Session session, TableHandle table, Constraint constraint) TracingMetadata.applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, ConnectorExpression joinCondition, Map<String, ColumnHandle> leftAssignments, Map<String, ColumnHandle> rightAssignments, JoinStatistics statistics) TracingMetadata.applyLimit(Session session, TableHandle table, long limit) TracingMetadata.applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String, ColumnHandle> assignments) TracingMetadata.applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio) TracingMetadata.applyTableScanRedirect(Session session, TableHandle tableHandle) TracingMetadata.applyTopN(Session session, TableHandle handle, long topNCount, List<SortItem> sortItems, Map<String, ColumnHandle> assignments) TracingMetadata.applyUpdate(Session session, TableHandle tableHandle, Map<ColumnHandle, Constant> assignments) TracingMetadata.beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns) TracingMetadata.beginMerge(Session session, TableHandle tableHandle) TracingMetadata.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) TracingMetadata.beginStatisticsCollection(Session session, TableHandle tableHandle) TracingMetadata.beginTableExecute(Session session, TableExecuteHandle handle, TableHandle updatedSourceTableHandle) voidTracingMetadata.dropColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnHandle column) voidTracingMetadata.dropField(Session session, TableHandle tableHandle, ColumnHandle column, List<String> fieldPath) voidTracingMetadata.dropNotNullConstraint(Session session, TableHandle tableHandle, ColumnHandle column) voidTracingMetadata.dropTable(Session session, TableHandle tableHandle, CatalogSchemaTableName tableName) TracingMetadata.executeDelete(Session session, TableHandle tableHandle) TracingMetadata.executeUpdate(Session session, TableHandle tableHandle) TracingMetadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions) TracingMetadata.getColumnHandles(Session session, TableHandle tableHandle) TracingMetadata.getColumnMetadata(Session session, TableHandle tableHandle, ColumnHandle columnHandle) TracingMetadata.getInfo(Session session, TableHandle handle) TracingMetadata.getInsertLayout(Session session, TableHandle target) TracingMetadata.getInsertWriterScalingOptions(Session session, TableHandle tableHandle) TracingMetadata.getMergeRowIdColumnHandle(Session session, TableHandle tableHandle) TracingMetadata.getRowChangeParadigm(Session session, TableHandle tableHandle) TracingMetadata.getStatisticsCollectionMetadata(Session session, TableHandle tableHandle, Map<String, Object> analyzeProperties) TracingMetadata.getTableHandleForExecute(Session session, TableHandle tableHandle, String procedureName, Map<String, Object> executeProperties) TracingMetadata.getTableMetadata(Session session, TableHandle tableHandle) TracingMetadata.getTableName(Session session, TableHandle tableHandle) TracingMetadata.getTableProperties(Session session, TableHandle handle) TracingMetadata.getTableSchema(Session session, TableHandle tableHandle) TracingMetadata.getTableStatistics(Session session, TableHandle tableHandle) TracingMetadata.getUpdateLayout(Session session, TableHandle tableHandle) TracingMetadata.makeCompatiblePartitioning(Session session, TableHandle table, PartitioningHandle partitioningHandle) voidTracingMetadata.renameColumn(Session session, TableHandle tableHandle, CatalogSchemaTableName table, ColumnHandle source, String target) voidTracingMetadata.renameField(Session session, TableHandle tableHandle, List<String> fieldPath, String target) voidTracingMetadata.renameTable(Session session, TableHandle tableHandle, CatalogSchemaTableName currentTableName, QualifiedObjectName newTableName) TracingMetadata.resolveIndex(Session session, TableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain) voidTracingMetadata.setColumnComment(Session session, TableHandle tableHandle, ColumnHandle column, Optional<String> comment) voidTracingMetadata.setColumnType(Session session, TableHandle tableHandle, ColumnHandle column, Type type) voidTracingMetadata.setFieldType(Session session, TableHandle tableHandle, List<String> fieldPath, Type type) voidTracingMetadata.setTableComment(Session session, TableHandle tableHandle, Optional<String> comment) voidTracingMetadata.setTableProperties(Session session, TableHandle tableHandle, Map<String, Optional<Object>> properties) booleanTracingMetadata.supportsMissingColumnsOnInsert(Session session, TableHandle tableHandle) voidTracingMetadata.truncateTable(Session session, TableHandle tableHandle) voidTracingMetadata.validateScan(Session session, TableHandle table) Method parameters in io.trino.tracing with type arguments of type TableHandleModifier and TypeMethodDescriptionTracingMetadata.beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles) TracingMetadata.finishInsert(Session session, InsertTableHandle tableHandle, List<TableHandle> sourceTableHandles, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics) TracingMetadata.finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles, List<String> sourceTableFunctions)