Package io.trino.testing.tpch
Class TpchIndexMetadata
java.lang.Object
io.trino.plugin.tpch.TpchMetadata
io.trino.testing.tpch.TpchIndexMetadata
- All Implemented Interfaces:
ConnectorMetadata
public class TpchIndexMetadata
extends io.trino.plugin.tpch.TpchMetadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.connector.ConnectorMetadata
ConnectorMetadata.Helper -
Field Summary
Fields inherited from class io.trino.plugin.tpch.TpchMetadata
ROW_NUMBER_COLUMN_NAME, SCHEMA_NAMES, TINY_SCALE_FACTOR, TINY_SCHEMA_NAMEFields inherited from interface io.trino.spi.connector.ConnectorMetadata
MODIFYING_ROWS_MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveIndex(ConnectorSession session, ConnectorTableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain) Methods inherited from class io.trino.plugin.tpch.TpchMetadata
applyFilter, applyTableScanRedirect, beginStatisticsCollection, finishStatisticsCollection, getColumnHandles, getColumnMetadata, getStatisticsCollectionMetadata, getTableHandle, getTableMetadata, getTableProperties, getTableStatistics, getTrinoType, listSchemaNames, listTableColumns, listTables, schemaExists, schemaNameToScaleFactorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.connector.ConnectorMetadata
addColumn, addField, applyAggregation, applyDelete, applyJoin, applyJoin, applyLimit, applyProjection, applySample, applyTableFunction, applyTopN, beginCreateTable, beginInsert, beginMerge, beginQuery, beginRefreshMaterializedView, beginTableExecute, cleanupQuery, createMaterializedView, createRole, createSchema, createTable, createView, delegateMaterializedViewRefreshToConnector, denySchemaPrivileges, denyTablePrivileges, dropColumn, dropField, dropMaterializedView, dropRole, dropSchema, dropTable, dropView, executeDelete, executeTableExecute, finishCreateTable, finishInsert, finishMerge, finishRefreshMaterializedView, finishTableExecute, getAggregationFunctionMetadata, getCommonPartitioningHandle, getFunctionDependencies, getFunctionMetadata, getFunctions, getInfo, getInsertLayout, getInsertWriterScalingOptions, getLayoutForTableExecute, getMaterializedView, getMaterializedViewFreshness, getMaterializedViews, getMaxWriterTasks, getMergeRowIdColumnHandle, getNewTableLayout, getNewTableWriterScalingOptions, getRowChangeParadigm, getSchemaOwner, getSchemaProperties, getStatisticsCollectionMetadataForWrite, getSupportedType, getSystemTable, getTableHandle, getTableHandleForExecute, getTableName, getTableSchema, getUpdateLayout, getView, getViews, grantRoles, grantSchemaPrivileges, grantTablePrivileges, listApplicableRoles, listEnabledRoles, listFunctions, listMaterializedViews, listRoleGrants, listRoles, listTablePrivileges, listViews, makeCompatiblePartitioning, redirectTable, refreshMaterializedView, renameColumn, renameField, renameMaterializedView, renameSchema, renameTable, renameView, revokeRoles, revokeSchemaPrivileges, revokeTablePrivileges, roleExists, setColumnComment, setColumnType, setFieldType, setMaterializedViewColumnComment, setMaterializedViewProperties, setSchemaAuthorization, setTableAuthorization, setTableComment, setTableProperties, setViewAuthorization, setViewColumnComment, setViewComment, streamRelationColumns, streamRelationComments, streamTableColumns, supportsMissingColumnsOnInsert, truncateTable, validateScan
-
Constructor Details
-
TpchIndexMetadata
-
-
Method Details
-
resolveIndex
public Optional<ConnectorResolvedIndex> resolveIndex(ConnectorSession session, ConnectorTableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain)
-