Uses of Class
io.trino.Session
-
-
Uses of Session in io.trino
Methods in io.trino that return Session Modifier and Type Method Description SessionSession. beginTransactionId(TransactionId transactionId, TransactionManager transactionManager, AccessControl accessControl)SessionSession.SessionBuilder. build()SessionFullConnectorSession. getSession()SessionSessionRepresentation. toSession(SessionPropertyManager sessionPropertyManager)SessionSessionRepresentation. toSession(SessionPropertyManager sessionPropertyManager, Map<String,String> extraCredentials)SessionSession. withDefaultProperties(Map<String,String> systemPropertyDefaults, Map<String,Map<String,String>> catalogPropertyDefaults, AccessControl accessControl)Methods in io.trino with parameters of type Session Modifier and Type Method Description static Session.SessionBuilderSession. builder(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getAggregationOperatorUnspillMemoryLimit(Session session)static OptionalIntSystemSessionProperties. getConcurrentLifespansPerNode(Session session)static IntegerSystemSessionProperties. getCostEstimationWorkerCount(Session session)static StringSystemSessionProperties. getExecutionPolicy(Session session)static intSystemSessionProperties. getFilterAndProjectMinOutputPageRowCount(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getFilterAndProjectMinOutputPageSize(Session session)static intSystemSessionProperties. getHashPartitionCount(Session session)static intSystemSessionProperties. getInitialSplitsPerNode(Session session)static FeaturesConfig.JoinDistributionTypeSystemSessionProperties. getJoinDistributionType(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getJoinMaxBroadcastTableSize(Session session)static FeaturesConfig.JoinReorderingStrategySystemSessionProperties. getJoinReorderingStrategy(Session session)static OptionalIntSystemSessionProperties. getMaxDriversPerTask(Session session)static intSystemSessionProperties. getMaxGroupingSets(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getMaxPartialTopNMemory(Session session)static intSystemSessionProperties. getMaxRecursionDepth(Session session)static intSystemSessionProperties. getMaxReorderedJoins(Session session)static intSystemSessionProperties. getMaxUnacknowledgedSplitsPerTask(Session session)static io.airlift.units.DurationSystemSessionProperties. getOptimizerTimeout(Session session)static intSystemSessionProperties. getPreferredWritePartitioningMinNumberOfPartitions(Session session)static io.airlift.units.DurationSystemSessionProperties. getQueryMaxCpuTime(Session session)static io.airlift.units.DurationSystemSessionProperties. getQueryMaxExecutionTime(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getQueryMaxMemory(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getQueryMaxMemoryPerNode(Session session)static io.airlift.units.DurationSystemSessionProperties. getQueryMaxPlanningTime(Session session)static io.airlift.units.DurationSystemSessionProperties. getQueryMaxRunTime(Session session)static Optional<io.airlift.units.DataSize>SystemSessionProperties. getQueryMaxScanPhysicalBytes(Session session)static intSystemSessionProperties. getQueryMaxStageCount(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getQueryMaxTotalMemory(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getQueryMaxTotalMemoryPerNode(Session session)static intSystemSessionProperties. getQueryPriority(Session session)static intSystemSessionProperties. getRequiredWorkers(Session session)static io.airlift.units.DurationSystemSessionProperties. getRequiredWorkersMaxWait(Session session)static intSystemSessionProperties. getRetryAttempts(Session session)static io.airlift.units.DurationSystemSessionProperties. getRetryInitialDelay(Session session)static io.airlift.units.DurationSystemSessionProperties. getRetryMaxDelay(Session session)static RetryPolicySystemSessionProperties. getRetryPolicy(Session session)static Optional<String>SystemSessionProperties. getSpatialPartitioningTableName(Session session)static io.airlift.units.DurationSystemSessionProperties. getSplitConcurrencyAdjustmentInterval(Session session)static doubleSystemSessionProperties. getTableScanNodePartitioningMinBucketToTaskRatio(Session session)static intSystemSessionProperties. getTaskConcurrency(Session session)static intSystemSessionProperties. getTaskWriterCount(Session session)static Optional<String>SystemSessionProperties. getTimeZoneId(Session session)static io.airlift.units.DataSizeSystemSessionProperties. getWriterMinSize(Session session)static booleanSystemSessionProperties. ignoreDownStreamPreferences(Session session)static booleanSystemSessionProperties. isAllowPushdownIntoConnectors(Session session)static booleanSystemSessionProperties. isCollectPlanStatisticsForAllQueries(Session session)static booleanSystemSessionProperties. isColocatedJoinEnabled(Session session)static booleanSystemSessionProperties. isDefaultFilterFactorEnabled(Session session)static booleanSystemSessionProperties. isDictionaryAggregationEnabled(Session session)static booleanSystemSessionProperties. isDistributedIndexJoinEnabled(Session session)static booleanSystemSessionProperties. isDistributedSortEnabled(Session session)static booleanSystemSessionProperties. isDynamicScheduleForGroupedExecution(Session session)static booleanSystemSessionProperties. isEnableCoordinatorDynamicFiltersDistribution(Session session)static booleanSystemSessionProperties. isEnableDynamicFiltering(Session session)static booleanSystemSessionProperties. isEnableForcedExchangeBelowGroupId(Session session)static booleanSystemSessionProperties. isEnableIntermediateAggregations(Session session)static booleanSystemSessionProperties. isEnableLargeDynamicFilters(Session session)static booleanSystemSessionProperties. isEnableStatsCalculator(Session session)static booleanSystemSessionProperties. isExchangeCompressionEnabled(Session session)static booleanSystemSessionProperties. isForceSingleNodeOutput(Session session)static booleanSystemSessionProperties. isGroupedExecutionEnabled(Session session)static booleanSystemSessionProperties. isIgnoreStatsCalculatorFailures(Session session)static booleanSystemSessionProperties. isIncrementalHashArrayLoadFactorEnabled(Session session)static booleanSystemSessionProperties. isLateMaterializationEnabled(Session session)static booleanSystemSessionProperties. isLegacyCatalogRoles(Session session)static booleanSystemSessionProperties. isMergeProjectWithValues(Session session)static booleanSystemSessionProperties. isOmitDateTimeTypePrecision(Session session)static booleanSystemSessionProperties. isOptimizeDistinctAggregationEnabled(Session session)static booleanSystemSessionProperties. isOptimizeDuplicateInsensitiveJoins(Session session)static booleanSystemSessionProperties. isOptimizeHashGenerationEnabled(Session session)static booleanSystemSessionProperties. isOptimizeMetadataQueries(Session session)static booleanSystemSessionProperties. isOptimizeTopNRanking(Session session)static booleanSystemSessionProperties. isParseDecimalLiteralsAsDouble(Session session)static booleanSystemSessionProperties. isPredicatePushdownUseTableProperties(Session session)static booleanSystemSessionProperties. isPushAggregationThroughOuterJoin(Session session)static booleanSystemSessionProperties. isPushPartialAggregationThroughJoin(Session session)static booleanSystemSessionProperties. isPushTableWriteThroughUnion(Session session)static booleanSystemSessionProperties. isRedistributeWrites(Session session)static booleanSystemSessionProperties. isRewriteFilteringSemiJoinToInnerJoin(Session session)static booleanSystemSessionProperties. isScaleWriters(Session session)static booleanSystemSessionProperties. isShareIndexLoading(Session session)static booleanSystemSessionProperties. isSkipRedundantSort(Session session)static booleanSystemSessionProperties. isSpatialJoinEnabled(Session session)static booleanSystemSessionProperties. isSpillEnabled(Session session)static booleanSystemSessionProperties. isSpillOrderBy(Session session)static booleanSystemSessionProperties. isSpillWindowOperator(Session session)static booleanSystemSessionProperties. isStatisticsCpuTimerEnabled(Session session)static booleanSystemSessionProperties. isStatisticsPrecalculationForPushdownEnabled(Session session)static booleanSystemSessionProperties. isUsePartialDistinctLimit(Session session)static booleanSystemSessionProperties. isUsePartialTopN(Session session)static booleanSystemSessionProperties. isUsePreferredWritePartitioning(Session session)static booleanSystemSessionProperties. isUseTableScanNodePartitioning(Session session)static booleanSystemSessionProperties. preferPartialAggregation(Session session)static booleanSystemSessionProperties. preferStreamingOperators(Session session)static booleanSystemSessionProperties. resourceOvercommit(Session session)static booleanSystemSessionProperties. useLegacyWindowFilterPushdown(Session session)static booleanSystemSessionProperties. useMarkDistinct(Session session)Constructors in io.trino with parameters of type Session Constructor Description FullConnectorSession(Session session, ConnectorIdentity identity)FullConnectorSession(Session session, ConnectorIdentity identity, Map<String,String> properties, CatalogName catalogName, String catalog, SessionPropertyManager sessionPropertyManager) -
Uses of Session in io.trino.connector.informationschema
Constructors in io.trino.connector.informationschema with parameters of type Session Constructor Description InformationSchemaPageSource(Session session, Metadata metadata, AccessControl accessControl, InformationSchemaTableHandle tableHandle, List<ColumnHandle> columns) -
Uses of Session in io.trino.cost
Constructors in io.trino.cost with parameters of type Session Constructor Description CachingCostProvider(CostCalculator costCalculator, StatsProvider statsProvider, Session session, TypeProvider types)CachingCostProvider(CostCalculator costCalculator, StatsProvider statsProvider, Optional<Memo> memo, Session session, TypeProvider types)CachingStatsProvider(StatsCalculator statsCalculator, Session session, TypeProvider types)CachingStatsProvider(StatsCalculator statsCalculator, Optional<Memo> memo, Lookup lookup, Session session, TypeProvider types) -
Uses of Session in io.trino.dispatcher
Methods in io.trino.dispatcher that return Session Modifier and Type Method Description SessionFailedDispatchQuery. getSession()SessionLocalDispatchQuery. getSession()Methods in io.trino.dispatcher with parameters of type Session Modifier and Type Method Description DispatchQueryDispatchQueryFactory. createDispatchQuery(Session session, String query, QueryPreparer.PreparedQuery preparedQuery, Slug slug, ResourceGroupId resourceGroup)DispatchQueryLocalDispatchQueryFactory. createDispatchQuery(Session session, String query, QueryPreparer.PreparedQuery preparedQuery, Slug slug, ResourceGroupId resourceGroup)FailedDispatchQueryFailedDispatchQueryFactory. createFailedDispatchQuery(Session session, String query, Optional<String> preparedQuery, Optional<ResourceGroupId> resourceGroup, Throwable throwable)Constructors in io.trino.dispatcher with parameters of type Session Constructor Description FailedDispatchQuery(Session session, String query, Optional<String> preparedQuery, URI self, Optional<ResourceGroupId> resourceGroup, Throwable cause, Executor executor) -
Uses of Session in io.trino.execution
Methods in io.trino.execution that return Session Modifier and Type Method Description SessionQueryManager. getQuerySession(QueryId queryId)SessionSqlQueryManager. getQuerySession(QueryId queryId)SessionDataDefinitionExecution. getSession()SessionManagedQueryExecution. getSession()SessionQueryStateMachine. getSession()SessionQueryTracker.TrackedQuery. getSession()SessionSqlQueryExecution. getSession()Methods in io.trino.execution with parameters of type Session Modifier and Type Method Description static QueryStateMachineQueryStateMachine. begin(String query, Optional<String> preparedQuery, Session session, URI self, ResourceGroupId resourceGroup, boolean transactionControl, TransactionManager transactionManager, AccessControl accessControl, Executor executor, Metadata metadata, WarningCollector warningCollector, Optional<QueryType> queryType)Created QueryStateMachines must be transitioned to terminal states to clean up resources.SqlTaskExecutionSqlTaskExecutionFactory. create(Session session, QueryContext queryContext, TaskStateMachine taskStateMachine, OutputBuffer outputBuffer, PlanFragment fragment, Runnable notifyStatusChanged)RemoteTaskMemoryTrackingRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo)RemoteTaskRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo)static SqlStageSqlStage. createSqlStage(StageId stageId, PlanFragment fragment, Map<PlanNodeId,TableInfo> tables, RemoteTaskFactory remoteTaskFactory, Session session, boolean summarizeTaskInfo, NodeTaskMap nodeTaskMap, Executor executor, SplitSchedulerStats schedulerStats)QueryPreparer.PreparedQueryQueryPreparer. prepareQuery(Session session, Statement wrappedStatement)QueryPreparer.PreparedQueryQueryPreparer. prepareQuery(Session session, String query)TaskInfoSqlTask. updateTask(Session session, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)TaskInfoSqlTaskManager. updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)TaskInfoTaskManager. updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)Updates the task plan, sources and output buffers. -
Uses of Session in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler with parameters of type Session Modifier and Type Method Description NodeSelectorNodeScheduler. createNodeSelector(Session session, Optional<CatalogName> catalogName)NodeSelectorNodeSelectorFactory. createNodeSelector(Session session, Optional<CatalogName> catalogName)NodeSelectorTopologyAwareNodeSelectorFactory. createNodeSelector(Session session, Optional<CatalogName> catalogName)NodeSelectorUniformNodeSelectorFactory. createNodeSelector(Session session, Optional<CatalogName> catalogName) -
Uses of Session in io.trino.index
Methods in io.trino.index with parameters of type Session Modifier and Type Method Description ConnectorIndexIndexManager. getIndex(Session session, IndexHandle indexHandle, List<ColumnHandle> lookupSchema, List<ColumnHandle> outputSchema) -
Uses of Session in io.trino.memory
Methods in io.trino.memory with parameters of type Session Modifier and Type Method Description TaskContextQueryContext. addTaskContext(TaskStateMachine taskStateMachine, Session session, Runnable notifyStatusChanged, boolean perOperatorCpuTimerEnabled, boolean cpuTimerEnabled) -
Uses of Session in io.trino.metadata
Methods in io.trino.metadata with parameters of type Session Modifier and Type Method Description voidMetadata. addColumn(Session session, TableHandle tableHandle, ColumnMetadata column)Add the specified column to the table.voidMetadataManager. addColumn(Session session, TableHandle tableHandle, ColumnMetadata column)Optional<AggregationApplicationResult<TableHandle>>Metadata. applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String,ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets)Optional<AggregationApplicationResult<TableHandle>>MetadataManager. applyAggregation(Session session, TableHandle table, List<AggregateFunction> aggregations, Map<String,ColumnHandle> assignments, List<List<ColumnHandle>> groupingSets)Optional<TableHandle>Metadata. applyDelete(Session session, TableHandle tableHandle)Push delete into connectorOptional<TableHandle>MetadataManager. applyDelete(Session session, TableHandle table)Optional<ConstraintApplicationResult<TableHandle>>Metadata. applyFilter(Session session, TableHandle table, Constraint constraint)Optional<ConstraintApplicationResult<TableHandle>>MetadataManager. applyFilter(Session session, TableHandle table, Constraint constraint)Optional<JoinApplicationResult<TableHandle>>Metadata. applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String,ColumnHandle> leftAssignments, Map<String,ColumnHandle> rightAssignments, JoinStatistics statistics)Optional<JoinApplicationResult<TableHandle>>MetadataManager. applyJoin(Session session, JoinType joinType, TableHandle left, TableHandle right, List<JoinCondition> joinConditions, Map<String,ColumnHandle> leftAssignments, Map<String,ColumnHandle> rightAssignments, JoinStatistics statistics)Optional<LimitApplicationResult<TableHandle>>Metadata. applyLimit(Session session, TableHandle table, long limit)Optional<LimitApplicationResult<TableHandle>>MetadataManager. applyLimit(Session session, TableHandle table, long limit)Optional<ProjectionApplicationResult<TableHandle>>Metadata. applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String,ColumnHandle> assignments)Optional<ProjectionApplicationResult<TableHandle>>MetadataManager. applyProjection(Session session, TableHandle table, List<ConnectorExpression> projections, Map<String,ColumnHandle> assignments)Optional<SampleApplicationResult<TableHandle>>Metadata. applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio)Optional<SampleApplicationResult<TableHandle>>MetadataManager. applySample(Session session, TableHandle table, SampleType sampleType, double sampleRatio)Optional<TableScanRedirectApplicationResult>Metadata. applyTableScanRedirect(Session session, TableHandle tableHandle)Returns the result of redirecting the table scan on a given table to a different table.Optional<TableScanRedirectApplicationResult>MetadataManager. applyTableScanRedirect(Session session, TableHandle tableHandle)Optional<TopNApplicationResult<TableHandle>>Metadata. applyTopN(Session session, TableHandle handle, long topNCount, List<SortItem> sortItems, Map<String,ColumnHandle> assignments)Optional<TopNApplicationResult<TableHandle>>MetadataManager. applyTopN(Session session, TableHandle table, long topNCount, List<SortItem> sortItems, Map<String,ColumnHandle> assignments)OutputTableHandleMetadata. beginCreateTable(Session session, String catalogName, ConnectorTableMetadata tableMetadata, Optional<NewTableLayout> layout)Begin the atomic creation of a table with data.OutputTableHandleMetadataManager. beginCreateTable(Session session, String catalogName, ConnectorTableMetadata tableMetadata, Optional<NewTableLayout> layout)TableHandleMetadata. beginDelete(Session session, TableHandle tableHandle)Begin delete queryTableHandleMetadataManager. beginDelete(Session session, TableHandle tableHandle)InsertTableHandleMetadata. beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns)Begin insert queryInsertTableHandleMetadataManager. beginInsert(Session session, TableHandle tableHandle, List<ColumnHandle> columns)InsertTableHandleMetadata. beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles)Begin refresh materialized view queryInsertTableHandleMetadataManager. beginRefreshMaterializedView(Session session, TableHandle tableHandle, List<TableHandle> sourceTableHandles)AnalyzeTableHandleMetadata. beginStatisticsCollection(Session session, TableHandle tableHandle)Begin statistics collectionAnalyzeTableHandleMetadataManager. beginStatisticsCollection(Session session, TableHandle tableHandle)BeginTableExecuteResult<TableExecuteHandle,TableHandle>Metadata. beginTableExecute(Session session, TableExecuteHandle handle, TableHandle updatedSourceTableHandle)BeginTableExecuteResult<TableExecuteHandle,TableHandle>MetadataManager. beginTableExecute(Session session, TableExecuteHandle tableExecuteHandle, TableHandle sourceHandle)TableHandleMetadata. beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns)Begin update queryTableHandleMetadataManager. beginUpdate(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns)booleanMetadata. catalogExists(Session session, String catalogName)booleanMetadataManager. catalogExists(Session session, String catalogName)static voidMetadataUtil. checkRoleExists(Session session, Node node, Metadata metadata, TrinoPrincipal principal, Optional<String> catalog)static voidMetadataUtil. checkRoleExists(Session session, Node node, Metadata metadata, String role, Optional<String> catalog)voidMetadata. cleanupQuery(Session session)Cleanup after a query.voidMetadataManager. cleanupQuery(Session session)static CatalogSchemaNameMetadataUtil. createCatalogSchemaName(Session session, Node node, Optional<QualifiedName> schema)voidMetadata. createMaterializedView(Session session, QualifiedObjectName viewName, MaterializedViewDefinition definition, boolean replace, boolean ignoreExisting)Creates the specified materialized view with the specified view definition.voidMetadataManager. createMaterializedView(Session session, QualifiedObjectName viewName, MaterializedViewDefinition definition, boolean replace, boolean ignoreExisting)static TrinoPrincipalMetadataUtil. createPrincipal(Session session, GrantorSpecification specification)static QualifiedObjectNameMetadataUtil. createQualifiedObjectName(Session session, Node node, QualifiedName name)voidDisabledSystemSecurityMetadata. createRole(Session session, String role, Optional<TrinoPrincipal> grantor)voidMetadata. createRole(Session session, String role, Optional<TrinoPrincipal> grantor, Optional<String> catalog)Creates the specified role in the specified catalog.voidMetadataManager. createRole(Session session, String role, Optional<TrinoPrincipal> grantor, Optional<String> catalog)voidSystemSecurityMetadata. createRole(Session session, String role, Optional<TrinoPrincipal> grantor)Creates the specified role.voidMetadata. createSchema(Session session, CatalogSchemaName schema, Map<String,Object> properties, TrinoPrincipal principal)Creates a schema.voidMetadataManager. createSchema(Session session, CatalogSchemaName schema, Map<String,Object> properties, TrinoPrincipal principal)voidMetadata. createTable(Session session, String catalogName, ConnectorTableMetadata tableMetadata, boolean ignoreExisting)Creates a table using the specified table metadata.voidMetadataManager. createTable(Session session, String catalogName, ConnectorTableMetadata tableMetadata, boolean ignoreExisting)voidMetadata. createView(Session session, QualifiedObjectName viewName, ViewDefinition definition, boolean replace)Creates the specified view with the specified view definition.voidMetadataManager. createView(Session session, QualifiedObjectName viewName, ViewDefinition definition, boolean replace)booleanMetadata. delegateMaterializedViewRefreshToConnector(Session session, QualifiedObjectName viewName)Returns true if materialized view refresh should be delegated to connectorbooleanMetadataManager. delegateMaterializedViewRefreshToConnector(Session session, QualifiedObjectName viewName)voidDisabledSystemSecurityMetadata. denySchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee)voidMetadata. denySchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee)Deny the specified privilege to the specified principal on the specified schema.voidMetadataManager. denySchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee)voidSystemSecurityMetadata. denySchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee)Denys the specified privilege to the specified user on the specified schema.voidDisabledSystemSecurityMetadata. denyTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee)voidMetadata. denyTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee)Deny the specified privilege to the specified principal on the specified tablevoidMetadataManager. denyTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee)voidSystemSecurityMetadata. denyTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee)Denys the specified privilege to the specified user on the specified tablevoidMetadata. dropColumn(Session session, TableHandle tableHandle, ColumnHandle column)Drop the specified column.voidMetadataManager. dropColumn(Session session, TableHandle tableHandle, ColumnHandle column)voidMetadata. dropMaterializedView(Session session, QualifiedObjectName viewName)Drops the specified materialized view.voidMetadataManager. dropMaterializedView(Session session, QualifiedObjectName viewName)voidDisabledSystemSecurityMetadata. dropRole(Session session, String role)voidMetadata. dropRole(Session session, String role, Optional<String> catalog)Drops the specified role in the specified catalog.voidMetadataManager. dropRole(Session session, String role, Optional<String> catalog)voidSystemSecurityMetadata. dropRole(Session session, String role)Drops the specified role.voidMetadata. dropSchema(Session session, CatalogSchemaName schema)Drops the specified schema.voidMetadataManager. dropSchema(Session session, CatalogSchemaName schema)voidMetadata. dropTable(Session session, TableHandle tableHandle)Drops the specified tablevoidMetadataManager. dropTable(Session session, TableHandle tableHandle)voidMetadata. dropView(Session session, QualifiedObjectName viewName)Drops the specified view.voidMetadataManager. dropView(Session session, QualifiedObjectName viewName)static ObjectSessionPropertyManager. evaluatePropertyValue(Expression expression, Type expectedType, Session session, Metadata metadata, AccessControl accessControl, Map<NodeRef<Parameter>,Expression> parameters)OptionalLongMetadata. executeDelete(Session session, TableHandle tableHandle)Execute delete in connectorOptionalLongMetadataManager. executeDelete(Session session, TableHandle table)Optional<ConnectorOutputMetadata>Metadata. finishCreateTable(Session session, OutputTableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics)Finish a table creation with data after the data is written.Optional<ConnectorOutputMetadata>MetadataManager. finishCreateTable(Session session, OutputTableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics)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)Optional<ConnectorOutputMetadata>Metadata. finishInsert(Session session, InsertTableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics)Finish insert queryOptional<ConnectorOutputMetadata>MetadataManager. finishInsert(Session session, InsertTableHandle tableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics)Optional<ConnectorOutputMetadata>Metadata. finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertTableHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles)Finish refresh materialized view queryOptional<ConnectorOutputMetadata>MetadataManager. finishRefreshMaterializedView(Session session, TableHandle tableHandle, InsertTableHandle insertHandle, Collection<io.airlift.slice.Slice> fragments, Collection<ComputedStatistics> computedStatistics, List<TableHandle> sourceTableHandles)voidMetadata. finishStatisticsCollection(Session session, AnalyzeTableHandle tableHandle, Collection<ComputedStatistics> computedStatistics)Finish statistics collectionvoidMetadataManager. finishStatisticsCollection(Session session, AnalyzeTableHandle tableHandle, Collection<ComputedStatistics> computedStatistics)voidMetadata. finishTableExecute(Session session, TableExecuteHandle handle, Collection<io.airlift.slice.Slice> fragments, List<Object> tableExecuteState)voidMetadataManager. finishTableExecute(Session session, TableExecuteHandle tableExecuteHandle, Collection<io.airlift.slice.Slice> fragments, List<Object> tableExecuteState)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)List<SessionPropertyManager.SessionPropertyValue>SessionPropertyManager. getAllSessionProperties(Session session, Map<String,CatalogName> catalogs)Optional<CatalogName>Metadata. getCatalogHandle(Session session, String catalogName)Returns a connector id for the specified catalog name.Optional<CatalogName>MetadataManager. getCatalogHandle(Session session, String catalogName)Map<String,Catalog>Metadata. getCatalogs(Session session)Gets all the loaded catalogsstatic SortedMap<String,Catalog>MetadataListing. getCatalogs(Session session, Metadata metadata, AccessControl accessControl)Map<String,Catalog>MetadataManager. getCatalogs(Session session)ResolvedFunctionMetadata. getCoercion(Session session, OperatorType operatorType, Type fromType, Type toType)default ResolvedFunctionMetadata. getCoercion(Session session, Type fromType, Type toType)ResolvedFunctionMetadata. getCoercion(Session session, QualifiedName name, Type fromType, Type toType)ResolvedFunctionMetadataManager. getCoercion(Session session, OperatorType operatorType, Type fromType, Type toType)ResolvedFunctionMetadataManager. getCoercion(Session session, QualifiedName name, Type fromType, Type toType)Map<String,ColumnHandle>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.Map<String,ColumnHandle>MetadataManager. getColumnHandles(Session session, TableHandle tableHandle)ColumnMetadataMetadata. getColumnMetadata(Session session, TableHandle tableHandle, ColumnHandle columnHandle)Gets the metadata for the specified table column.ColumnMetadataMetadataManager. getColumnMetadata(Session session, TableHandle tableHandle, ColumnHandle columnHandle)Optional<PartitioningHandle>Metadata. getCommonPartitioning(Session session, PartitioningHandle left, PartitioningHandle right)Return a partitioning handle which the connector can transparently convert bothleftandrightinto.Optional<PartitioningHandle>MetadataManager. getCommonPartitioning(Session session, PartitioningHandle left, PartitioningHandle right)Set<ConnectorCapabilities>Metadata. getConnectorCapabilities(Session session, CatalogName catalogName)Set<ConnectorCapabilities>MetadataManager. getConnectorCapabilities(Session session, CatalogName catalogName)CatalogNameCatalogMetadata. getConnectorId(Session session, QualifiedObjectName table)ColumnHandleMetadata. getDeleteRowIdColumnHandle(Session session, TableHandle tableHandle)Get the row ID column handle used with UpdatablePageSource#deleteRows.ColumnHandleMetadataManager. getDeleteRowIdColumnHandle(Session session, TableHandle tableHandle)Optional<Object>Metadata. getInfo(Session session, TableHandle handle)Optional<Object>MetadataManager. getInfo(Session session, TableHandle handle)Optional<NewTableLayout>Metadata. getInsertLayout(Session session, TableHandle target)Optional<NewTableLayout>MetadataManager. getInsertLayout(Session session, TableHandle table)Optional<TableLayoutResult>Metadata. getLayout(Session session, TableHandle tableHandle, Constraint constraint, Optional<Set<ColumnHandle>> desiredColumns)Deprecated.Optional<TableLayoutResult>MetadataManager. getLayout(Session session, TableHandle table, Constraint constraint, Optional<Set<ColumnHandle>> desiredColumns)Optional<NewTableLayout>Metadata. getLayoutForTableExecute(Session session, TableExecuteHandle tableExecuteHandle)Optional<NewTableLayout>MetadataManager. getLayoutForTableExecute(Session session, TableExecuteHandle tableExecuteHandle)Optional<MaterializedViewDefinition>Metadata. getMaterializedView(Session session, QualifiedObjectName viewName)Returns the materialized view definition for the specified view name.Optional<MaterializedViewDefinition>MetadataManager. getMaterializedView(Session session, QualifiedObjectName viewName)MaterializedViewFreshnessMetadata. getMaterializedViewFreshness(Session session, QualifiedObjectName name)Method to get difference between the states of table at two different points in time/or as of given token-ids.MaterializedViewFreshnessMetadataManager. getMaterializedViewFreshness(Session session, QualifiedObjectName viewName)Map<QualifiedObjectName,ViewInfo>Metadata. getMaterializedViews(Session session, QualifiedTablePrefix prefix)Get the materialized view definitions that match the specified table prefix (never null).static Map<SchemaTableName,ViewInfo>MetadataListing. getMaterializedViews(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)Map<QualifiedObjectName,ViewInfo>MetadataManager. getMaterializedViews(Session session, QualifiedTablePrefix prefix)Optional<NewTableLayout>Metadata. getNewTableLayout(Session session, String catalogName, ConnectorTableMetadata tableMetadata)Optional<NewTableLayout>MetadataManager. getNewTableLayout(Session session, String catalogName, ConnectorTableMetadata tableMetadata)Map<String,Object>TableProceduresPropertyManager. getProperties(CatalogName catalog, String procedureName, String catalogNameForDiagnostics, Map<String,Expression> sqlPropertyValues, Session session, Metadata metadata, AccessControl accessControl, Map<NodeRef<Parameter>,Expression> parameters, boolean setDefaultProperties)RedirectionAwareTableHandleMetadata. getRedirectionAwareTableHandle(Session session, QualifiedObjectName tableName)Get the target table handle after performing redirection.RedirectionAwareTableHandleMetadata. getRedirectionAwareTableHandle(Session session, QualifiedObjectName tableName, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion)Get the target table handle after performing redirection with a table version.RedirectionAwareTableHandleMetadataManager. getRedirectionAwareTableHandle(Session session, QualifiedObjectName tableName)RedirectionAwareTableHandleMetadataManager. getRedirectionAwareTableHandle(Session session, QualifiedObjectName tableName, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion)static CatalogNameMetadataUtil. getRequiredCatalogHandle(Metadata metadata, Session session, Node node, String catalogName)Optional<TrinoPrincipal>DisabledSystemSecurityMetadata. getSchemaOwner(Session session, CatalogSchemaName schema)Optional<TrinoPrincipal>Metadata. getSchemaOwner(Session session, CatalogSchemaName schemaName)Gets the schema owner for the specified schema.Optional<TrinoPrincipal>MetadataManager. getSchemaOwner(Session session, CatalogSchemaName schemaName)Optional<TrinoPrincipal>SystemSecurityMetadata. getSchemaOwner(Session session, CatalogSchemaName schema)Set the owner of the specified schemaMap<String,Object>Metadata. getSchemaProperties(Session session, CatalogSchemaName schemaName)Gets the schema properties for the specified schema.Map<String,Object>MetadataManager. getSchemaProperties(Session session, CatalogSchemaName schemaName)TableStatisticsMetadataMetadata. getStatisticsCollectionMetadata(Session session, String catalogName, ConnectorTableMetadata tableMetadata)Describe statistics that must be collected during a statistics collectionTableStatisticsMetadataMetadataManager. getStatisticsCollectionMetadata(Session session, String catalogName, ConnectorTableMetadata tableMetadata)TableStatisticsMetadataMetadata. getStatisticsCollectionMetadataForWrite(Session session, String catalogName, ConnectorTableMetadata tableMetadata)Describes statistics that must be collected during a write.TableStatisticsMetadataMetadataManager. getStatisticsCollectionMetadataForWrite(Session session, String catalogName, ConnectorTableMetadata tableMetadata)Optional<SystemTable>Metadata. getSystemTable(Session session, QualifiedObjectName tableName)Optional<SystemTable>MetadataManager. getSystemTable(Session session, QualifiedObjectName tableName)Optional<TableHandle>Metadata. getTableHandle(Session session, QualifiedObjectName tableName)Returns a table handle for the specified table name.Optional<TableHandle>Metadata. getTableHandle(Session session, QualifiedObjectName tableName, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion)Returns a table handle for the specified table name with a specified versionOptional<TableHandle>MetadataManager. getTableHandle(Session session, QualifiedObjectName table)Optional<TableHandle>MetadataManager. getTableHandle(Session session, QualifiedObjectName table, Optional<TableVersion> startVersion, Optional<TableVersion> endVersion)Optional<TableExecuteHandle>Metadata. getTableHandleForExecute(Session session, TableHandle tableHandle, String procedureName, Map<String,Object> executeProperties)Optional<TableExecuteHandle>MetadataManager. getTableHandleForExecute(Session session, TableHandle tableHandle, String procedure, Map<String,Object> executeProperties)Optional<TableHandle>Metadata. getTableHandleForStatisticsCollection(Session session, QualifiedObjectName tableName, Map<String,Object> analyzeProperties)Optional<TableHandle>MetadataManager. getTableHandleForStatisticsCollection(Session session, QualifiedObjectName table, Map<String,Object> analyzeProperties)TableMetadataMetadata. getTableMetadata(Session session, TableHandle tableHandle)Return the metadata for the specified table handle.TableMetadataMetadataManager. getTableMetadata(Session session, TableHandle tableHandle)TablePropertiesMetadata. getTableProperties(Session session, TableHandle handle)TablePropertiesMetadataManager. getTableProperties(Session session, TableHandle handle)TableSchemaMetadata. getTableSchema(Session session, TableHandle tableHandle)Return table schema definition for the specified table handle.TableSchemaMetadataManager. getTableSchema(Session session, TableHandle tableHandle)TableStatisticsMetadata. getTableStatistics(Session session, TableHandle tableHandle, Constraint constraint)Return statistics for specified table for given filtering contraint.TableStatisticsMetadataManager. getTableStatistics(Session session, TableHandle tableHandle, Constraint constraint)ColumnHandleMetadata. getUpdateRowIdColumnHandle(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns)Get the row ID column handle used with UpdatablePageSource#updateRows.ColumnHandleMetadataManager. getUpdateRowIdColumnHandle(Session session, TableHandle tableHandle, List<ColumnHandle> updatedColumns)Optional<ViewDefinition>Metadata. getView(Session session, QualifiedObjectName viewName)Returns the view definition for the specified view name.Optional<ViewDefinition>MetadataManager. getView(Session session, QualifiedObjectName viewName)Optional<Identity>DisabledSystemSecurityMetadata. getViewRunAsIdentity(Session session, CatalogSchemaTableName view)Optional<Identity>SystemSecurityMetadata. getViewRunAsIdentity(Session session, CatalogSchemaTableName viewName)Get the identity to run the view asMap<QualifiedObjectName,ViewInfo>Metadata. getViews(Session session, QualifiedTablePrefix prefix)Get the view definitions that match the specified table prefix (never null).static Map<SchemaTableName,ViewInfo>MetadataListing. getViews(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)Map<QualifiedObjectName,ViewInfo>MetadataManager. getViews(Session session, QualifiedTablePrefix prefix)voidDisabledSystemSecurityMetadata. grantRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor)voidMetadata. grantRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor, Optional<String> catalog)Grants the specified roles to the specified grantees in the specified catalogvoidMetadataManager. grantRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor, Optional<String> catalog)voidSystemSecurityMetadata. grantRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor)Grants the specified roles to the specified grantees.voidDisabledSystemSecurityMetadata. grantSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidMetadata. grantSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified schema.voidMetadataManager. grantSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidSystemSecurityMetadata. grantSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified schema.voidDisabledSystemSecurityMetadata. grantTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidMetadata. grantTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified tablevoidMetadataManager. grantTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidSystemSecurityMetadata. grantTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified tablebooleanMetadata. isCatalogManagedSecurity(Session session, String catalog)Does the specified catalog manage security directly, or does it use system security management?booleanMetadataManager. isCatalogManagedSecurity(Session session, String catalog)default booleanMetadata. isMaterializedView(Session session, QualifiedObjectName viewName)Is the specified table a materialized view.booleanMetadataManager. isMaterializedView(Session session, QualifiedObjectName viewName)booleanMetadata. isValidTableVersion(Session session, QualifiedObjectName tableName, TableVersion version)Verifies that a version is valid for a given tablebooleanMetadataManager. isValidTableVersion(Session session, QualifiedObjectName tableName, TableVersion version)default booleanMetadata. isView(Session session, QualifiedObjectName viewName)Is the specified table a view.booleanMetadataManager. isView(Session session, QualifiedObjectName viewName)Set<RoleGrant>DisabledSystemSecurityMetadata. listAllRoleGrants(Session session, Optional<Set<String>> roles, Optional<Set<String>> grantees, OptionalLong limit)Set<RoleGrant>Metadata. listAllRoleGrants(Session session, Optional<String> catalog, Optional<Set<String>> roles, Optional<Set<String>> grantees, OptionalLong limit)List all role grants in the specified catalog, optionally filtered by passed role, grantee, and limit predicates.Set<RoleGrant>MetadataManager. listAllRoleGrants(Session session, Optional<String> catalog, Optional<Set<String>> roles, Optional<Set<String>> grantees, OptionalLong limit)Set<RoleGrant>SystemSecurityMetadata. listAllRoleGrants(Session session, Optional<Set<String>> roles, Optional<Set<String>> grantees, OptionalLong limit)List all role grants, optionally filtered by passed role, grantee, and limit predicates.Set<RoleGrant>DisabledSystemSecurityMetadata. listApplicableRoles(Session session, TrinoPrincipal principal)Set<RoleGrant>Metadata. listApplicableRoles(Session session, TrinoPrincipal principal, Optional<String> catalog)List applicable roles, including the transitive grants, for the specified principalSet<RoleGrant>MetadataManager. listApplicableRoles(Session session, TrinoPrincipal principal, Optional<String> catalog)Set<RoleGrant>SystemSecurityMetadata. listApplicableRoles(Session session, TrinoPrincipal principal)List applicable roles, including the transitive grants, for the specified principalstatic SortedMap<String,CatalogName>MetadataListing. listCatalogs(Session session, Metadata metadata, AccessControl accessControl)static SortedMap<String,CatalogName>MetadataListing. listCatalogs(Session session, Metadata metadata, AccessControl accessControl, Optional<String> catalogName)Set<String>Metadata. listEnabledRoles(Session session, String catalog)List applicable roles, including the transitive grants, in given catalogSet<String>MetadataManager. listEnabledRoles(Session session, String catalog)List<QualifiedObjectName>Metadata. listMaterializedViews(Session session, QualifiedTablePrefix prefix)Get the names that match the specified table prefix (never null).static Set<SchemaTableName>MetadataListing. listMaterializedViews(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)List<QualifiedObjectName>MetadataManager. listMaterializedViews(Session session, QualifiedTablePrefix prefix)Set<RoleGrant>DisabledSystemSecurityMetadata. listRoleGrants(Session session, TrinoPrincipal principal)Set<RoleGrant>Metadata. listRoleGrants(Session session, Optional<String> catalog, TrinoPrincipal principal)List roles grants in the specified catalog for a given principal, not recursively.Set<RoleGrant>MetadataManager. listRoleGrants(Session session, Optional<String> catalog, TrinoPrincipal principal)Set<RoleGrant>SystemSecurityMetadata. listRoleGrants(Session session, TrinoPrincipal principal)List roles grants for a given principal, not recursively.Set<String>DisabledSystemSecurityMetadata. listRoles(Session session)Set<String>Metadata. listRoles(Session session, Optional<String> catalog)List available roles in specified catalog.Set<String>MetadataManager. listRoles(Session session, Optional<String> catalog)Set<String>SystemSecurityMetadata. listRoles(Session session)List available roles.List<String>Metadata. listSchemaNames(Session session, String catalogName)List<String>MetadataManager. listSchemaNames(Session session, String catalogName)static SortedSet<String>MetadataListing. listSchemas(Session session, Metadata metadata, AccessControl accessControl, String catalogName)static SortedSet<String>MetadataListing. listSchemas(Session session, Metadata metadata, AccessControl accessControl, String catalogName, Optional<String> schemaName)Map<CatalogName,List<TableColumnsMetadata>>Metadata. listTableColumns(Session session, QualifiedTablePrefix prefix)Gets the columns metadata for all tables that match the specified prefix.static Map<SchemaTableName,List<ColumnMetadata>>MetadataListing. listTableColumns(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)Map<CatalogName,List<TableColumnsMetadata>>MetadataManager. listTableColumns(Session session, QualifiedTablePrefix prefix)Set<GrantInfo>DisabledSystemSecurityMetadata. listTablePrivileges(Session session, QualifiedTablePrefix prefix)List<GrantInfo>Metadata. listTablePrivileges(Session session, QualifiedTablePrefix prefix)Gets the privileges for the specified table available to the given grantee considering the selected session rolestatic Set<GrantInfo>MetadataListing. listTablePrivileges(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)List<GrantInfo>MetadataManager. listTablePrivileges(Session session, QualifiedTablePrefix prefix)Set<GrantInfo>SystemSecurityMetadata. listTablePrivileges(Session session, QualifiedTablePrefix prefix)Gets the privileges for the specified table available to the given grantee considering the selected session roleList<QualifiedObjectName>Metadata. listTables(Session session, QualifiedTablePrefix prefix)Get the names that match the specified table prefix (never null).static Set<SchemaTableName>MetadataListing. listTables(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)List<QualifiedObjectName>MetadataManager. listTables(Session session, QualifiedTablePrefix prefix)List<QualifiedObjectName>Metadata. listViews(Session session, QualifiedTablePrefix prefix)Get the names that match the specified table prefix (never null).static Set<SchemaTableName>MetadataListing. listViews(Session session, Metadata metadata, AccessControl accessControl, QualifiedTablePrefix prefix)List<QualifiedObjectName>MetadataManager. listViews(Session session, QualifiedTablePrefix prefix)TableHandleMetadata. 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.TableHandleMetadataManager. makeCompatiblePartitioning(Session session, TableHandle tableHandle, PartitioningHandle partitioningHandle)static Optional<String>MetadataUtil. processRoleCommandCatalog(Metadata metadata, Session session, Node node, Optional<String> catalog)com.google.common.util.concurrent.ListenableFuture<Void>Metadata. refreshMaterializedView(Session session, QualifiedObjectName viewName)Refresh materialized viewcom.google.common.util.concurrent.ListenableFuture<Void>MetadataManager. refreshMaterializedView(Session session, QualifiedObjectName viewName)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. renameMaterializedView(Session session, QualifiedObjectName existingViewName, QualifiedObjectName newViewName)Rename the specified materialized view.voidMetadataManager. renameMaterializedView(Session session, QualifiedObjectName source, QualifiedObjectName target)voidMetadata. renameSchema(Session session, CatalogSchemaName source, String target)Renames the specified schema.voidMetadataManager. renameSchema(Session session, CatalogSchemaName source, String target)voidMetadata. renameTable(Session session, TableHandle tableHandle, QualifiedObjectName newTableName)Rename the specified table.voidMetadataManager. renameTable(Session session, TableHandle tableHandle, QualifiedObjectName newTableName)voidMetadata. renameView(Session session, QualifiedObjectName existingViewName, QualifiedObjectName newViewName)Rename the specified view.voidMetadataManager. renameView(Session session, QualifiedObjectName source, QualifiedObjectName target)ResolvedFunctionMetadataManager. resolve(Session session, FunctionBinding functionBinding, FunctionMetadata functionMetadata, FunctionDependencyDeclaration declaration)ResolvedFunctionMetadata. resolveFunction(Session session, QualifiedName name, List<TypeSignatureProvider> parameterTypes)ResolvedFunctionMetadataManager. resolveFunction(Session session, QualifiedName name, List<TypeSignatureProvider> parameterTypes)Optional<ResolvedIndex>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.Optional<ResolvedIndex>MetadataManager. resolveIndex(Session session, TableHandle tableHandle, Set<ColumnHandle> indexableColumns, Set<ColumnHandle> outputColumns, TupleDomain<ColumnHandle> tupleDomain)ResolvedFunctionMetadata. resolveOperator(Session session, OperatorType operatorType, List<? extends Type> argumentTypes)ResolvedFunctionMetadataManager. resolveOperator(Session session, OperatorType operatorType, List<? extends Type> argumentTypes)voidDisabledSystemSecurityMetadata. revokeRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor)voidMetadata. revokeRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor, Optional<String> catalog)Revokes the specified roles from the specified grantees in the specified catalogvoidMetadataManager. revokeRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor, Optional<String> catalog)voidSystemSecurityMetadata. revokeRoles(Session session, Set<String> roles, Set<TrinoPrincipal> grantees, boolean adminOption, Optional<TrinoPrincipal> grantor)Revokes the specified roles from the specified grantees.voidDisabledSystemSecurityMetadata. revokeSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidMetadata. revokeSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified schema from the specified user.voidMetadataManager. revokeSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidSystemSecurityMetadata. revokeSchemaPrivileges(Session session, CatalogSchemaName schemaName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified schema from the specified user.voidDisabledSystemSecurityMetadata. revokeTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidMetadata. revokeTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified table from the specified uservoidMetadataManager. revokeTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)voidSystemSecurityMetadata. revokeTablePrivileges(Session session, QualifiedObjectName tableName, Set<Privilege> privileges, TrinoPrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified table from the specified userbooleanDisabledSystemSecurityMetadata. roleExists(Session session, String role)booleanMetadata. roleExists(Session session, String role, Optional<String> catalog)Does the specified role exist.booleanMetadataManager. roleExists(Session session, String role, Optional<String> catalog)booleanSystemSecurityMetadata. roleExists(Session session, String role)Does the specified role exist.voidDisabledSystemSecurityMetadata. schemaCreated(Session session, CatalogSchemaName schema)voidSystemSecurityMetadata. schemaCreated(Session session, CatalogSchemaName schema)A schema was createdvoidDisabledSystemSecurityMetadata. schemaDropped(Session session, CatalogSchemaName schema)voidSystemSecurityMetadata. schemaDropped(Session session, CatalogSchemaName schema)A schema was droppedbooleanMetadata. schemaExists(Session session, CatalogSchemaName schema)booleanMetadataManager. schemaExists(Session session, CatalogSchemaName schema)voidDisabledSystemSecurityMetadata. schemaRenamed(Session session, CatalogSchemaName sourceSchema, CatalogSchemaName targetSchema)voidSystemSecurityMetadata. schemaRenamed(Session session, CatalogSchemaName sourceSchema, CatalogSchemaName targetSchema)A schema was renamedvoidMetadata. 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. setSchemaAuthorization(Session session, CatalogSchemaName source, TrinoPrincipal principal)Set the specified schema's user/role.voidMetadataManager. setSchemaAuthorization(Session session, CatalogSchemaName source, TrinoPrincipal principal)voidDisabledSystemSecurityMetadata. setSchemaOwner(Session session, CatalogSchemaName schema, TrinoPrincipal principal)voidSystemSecurityMetadata. setSchemaOwner(Session session, CatalogSchemaName schema, TrinoPrincipal principal)Set the owner of the specified schemavoidMetadata. setTableAuthorization(Session session, CatalogSchemaTableName table, TrinoPrincipal principal)Set the authorization (owner) of specified table's user/rolevoidMetadataManager. setTableAuthorization(Session session, CatalogSchemaTableName table, TrinoPrincipal principal)voidMetadata. setTableComment(Session session, TableHandle tableHandle, Optional<String> comment)Comments to the specified table.voidMetadataManager. setTableComment(Session session, TableHandle tableHandle, Optional<String> comment)voidDisabledSystemSecurityMetadata. setTableOwner(Session session, CatalogSchemaTableName table, TrinoPrincipal principal)voidSystemSecurityMetadata. setTableOwner(Session session, CatalogSchemaTableName table, TrinoPrincipal principal)Set the owner of the specified tablevoidMetadata. 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)voidMetadata. setViewAuthorization(Session session, CatalogSchemaTableName view, TrinoPrincipal principal)Set the authorization (owner) of specified view's user/rolevoidMetadataManager. setViewAuthorization(Session session, CatalogSchemaTableName view, TrinoPrincipal principal)voidDisabledSystemSecurityMetadata. setViewOwner(Session session, CatalogSchemaTableName view, TrinoPrincipal principal)voidSystemSecurityMetadata. setViewOwner(Session session, CatalogSchemaTableName view, TrinoPrincipal principal)Set the owner of the specified viewbooleanMetadata. supportsMetadataDelete(Session session, TableHandle tableHandle)booleanMetadataManager. supportsMetadataDelete(Session session, TableHandle tableHandle)booleanMetadata. supportsMissingColumnsOnInsert(Session session, TableHandle tableHandle)booleanMetadataManager. supportsMissingColumnsOnInsert(Session session, TableHandle tableHandle)voidDisabledSystemSecurityMetadata. tableCreated(Session session, CatalogSchemaTableName table)voidSystemSecurityMetadata. tableCreated(Session session, CatalogSchemaTableName table)A table or view was createdvoidDisabledSystemSecurityMetadata. tableDropped(Session session, CatalogSchemaTableName table)voidSystemSecurityMetadata. tableDropped(Session session, CatalogSchemaTableName table)A table or view was droppedstatic booleanMetadataUtil. tableExists(Metadata metadata, Session session, String table)voidDisabledSystemSecurityMetadata. tableRenamed(Session session, CatalogSchemaTableName sourceTable, CatalogSchemaTableName targetTable)voidSystemSecurityMetadata. tableRenamed(Session session, CatalogSchemaTableName sourceTable, CatalogSchemaTableName targetTable)A table or view was renamedvoidMetadata. 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) -
Uses of Session in io.trino.operator
Methods in io.trino.operator that return Session Modifier and Type Method Description SessionDriverContext. getSession()SessionOperatorContext. getSession()SessionPipelineContext. getSession()SessionProcessorContext. getSession()SessionTaskContext. getSession()Methods in io.trino.operator with parameters of type Session Modifier and Type Method Description WorkProcessorSourceOperatorScanFilterAndProjectOperator.ScanFilterAndProjectOperatorFactory. create(Session session, MemoryTrackingContext memoryTrackingContext, DriverYieldSignal yieldSignal, WorkProcessor<Split> splits)WorkProcessorSourceOperatorTableScanOperator.TableScanOperatorFactory. create(Session session, MemoryTrackingContext memoryTrackingContext, DriverYieldSignal yieldSignal, WorkProcessor<Split> splits)WorkProcessorSourceOperatorWorkProcessorSourceOperatorFactory. create(Session session, MemoryTrackingContext memoryTrackingContext, DriverYieldSignal yieldSignal, WorkProcessor<Split> splits)WorkProcessorSourceOperatorScanFilterAndProjectOperator.ScanFilterAndProjectOperatorFactory. createAdapterOperator(Session session, MemoryTrackingContext memoryTrackingContext, DriverYieldSignal yieldSignal, WorkProcessor<Split> splits)default WorkProcessorSourceOperatorWorkProcessorSourceOperatorAdapter.AdapterWorkProcessorSourceOperatorFactory. createAdapterOperator(Session session, MemoryTrackingContext memoryTrackingContext, DriverYieldSignal yieldSignal, WorkProcessor<Split> splits)static GroupByHashGroupByHash. createGroupByHash(Session session, List<? extends Type> hashTypes, int[] hashChannels, Optional<Integer> inputHashChannel, int expectedSize, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, UpdateMemory updateMemory)Supplier<LookupSource>PagesIndex. createLookupSourceSupplier(Session session, List<Integer> joinChannels)LookupSourceSupplierPagesIndex. createLookupSourceSupplier(Session session, List<Integer> joinChannels, OptionalInt hashChannel, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Optional<Integer> sortChannel, List<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> searchFunctionFactories)LookupSourceSupplierPagesIndex. createLookupSourceSupplier(Session session, List<Integer> joinChannels, OptionalInt hashChannel, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Optional<Integer> sortChannel, List<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> searchFunctionFactories, Optional<List<Integer>> outputChannels, HashArraySizeSupplier hashArraySizeSupplier)PagesSpatialIndexSupplierPagesIndex. createPagesSpatialIndex(Session session, int geometryChannel, Optional<Integer> radiusChannel, Optional<Integer> partitionChannel, SpatialIndexBuilderOperator.SpatialPredicate spatialRelationshipTest, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, List<Integer> outputChannels, Map<Integer,Rectangle> partitions)static TaskContextTaskContext. createTaskContext(QueryContext queryContext, TaskStateMachine taskStateMachine, io.airlift.stats.GcMonitor gcMonitor, Executor notificationExecutor, ScheduledExecutorService yieldExecutor, Session session, MemoryTrackingContext taskMemoryContext, Runnable notifyStatusChanged, boolean perOperatorCpuTimerEnabled, boolean cpuTimerEnabled)static HashArraySizeSupplierHashArraySizeSupplier. incrementalLoadFactorHashArraySizeSupplier(Session session)static HashArraySizeSupplierHashArraySizeSupplier. incrementalLoadFactorHashArraySizeSupplier(Session session, int multiplier)Constructors in io.trino.operator with parameters of type Session Constructor Description MarkDistinctHash(Session session, List<Type> types, int[] channels, Optional<Integer> hashChannel, int expectedDistinctValues, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, UpdateMemory updateMemory)MarkDistinctHash(Session session, List<Type> types, int[] channels, Optional<Integer> hashChannel, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, UpdateMemory updateMemory)PagesRTreeIndex(Session session, it.unimi.dsi.fastutil.longs.LongArrayList addresses, List<Type> types, List<Integer> outputChannels, List<List<Block>> channels, org.locationtech.jts.index.strtree.STRtree rtree, Optional<Integer> radiusChannel, SpatialIndexBuilderOperator.SpatialPredicate spatialRelationshipTest, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Map<Integer,Rectangle> partitions)PagesSpatialIndexSupplier(Session session, it.unimi.dsi.fastutil.longs.LongArrayList addresses, List<Type> types, List<Integer> outputChannels, List<List<Block>> channels, int geometryChannel, Optional<Integer> radiusChannel, Optional<Integer> partitionChannel, SpatialIndexBuilderOperator.SpatialPredicate spatialRelationshipTest, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Map<Integer,Rectangle> partitions)ProcessorContext(Session session, MemoryTrackingContext memoryTrackingContext, OperatorContext operatorContext)TableDeleteOperator(OperatorContext operatorContext, Metadata metadata, Session session, TableHandle tableHandle)TableDeleteOperatorFactory(int operatorId, PlanNodeId planNodeId, Metadata metadata, Session session, TableHandle tableHandle)TableFinishOperatorFactory(int operatorId, PlanNodeId planNodeId, TableFinishOperator.TableFinisher tableFinisher, OperatorFactory statisticsAggregationOperatorFactory, StatisticAggregationsDescriptor<Integer> descriptor, TableExecuteContextManager tableExecuteContextManager, boolean outputRowCount, Session session)TableScanWorkProcessorOperator(Session session, MemoryTrackingContext memoryTrackingContext, WorkProcessor<Split> splits, PageSourceProvider pageSourceProvider, TableHandle table, Iterable<ColumnHandle> columns, DynamicFilter dynamicFilter)TableWriterOperatorFactory(int operatorId, PlanNodeId planNodeId, PageSinkManager pageSinkManager, TableWriterNode.WriterTarget writerTarget, List<Integer> columnChannels, List<String> notNullChannelColumnNames, Session session, OperatorFactory statisticsAggregationOperatorFactory, List<Type> types) -
Uses of Session in io.trino.operator.aggregation
Methods in io.trino.operator.aggregation with parameters of type Session Modifier and Type Method Description AccumulatorFactoryAccumulatorFactoryBinder. bind(List<Integer> argumentChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, List<LambdaProvider> lambdaProviders, Session session)AccumulatorFactoryGenericAccumulatorFactoryBinder. bind(List<Integer> argumentChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, List<LambdaProvider> lambdaProviders, Session session)AccumulatorFactoryInternalAggregationFunction. bind(List<Integer> inputChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, List<LambdaProvider> lambdaProviders, Session session)Constructors in io.trino.operator.aggregation with parameters of type Session Constructor Description GenericAccumulatorFactory(Constructor<? extends Accumulator> accumulatorConstructor, boolean accumulatorHasRemoveInput, Constructor<? extends GroupedAccumulator> groupedAccumulatorConstructor, List<LambdaProvider> lambdaProviders, List<Integer> inputChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators, Session session, boolean distinct) -
Uses of Session in io.trino.operator.exchange
Constructors in io.trino.operator.exchange with parameters of type Session Constructor Description LocalExchange(NodePartitioningManager nodePartitioningManager, Session session, int sinkFactoryCount, int bufferCount, PartitioningHandle partitioning, List<Integer> partitionChannels, List<Type> partitionChannelTypes, Optional<Integer> partitionHashChannel, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators)LocalExchangeFactory(NodePartitioningManager nodePartitioningManager, Session session, PartitioningHandle partitioning, int defaultConcurrency, List<Type> types, List<Integer> partitionChannels, Optional<Integer> partitionHashChannel, PipelineExecutionStrategy exchangeSourcePipelineExecutionStrategy, io.airlift.units.DataSize maxBufferedBytes, BlockTypeOperators blockTypeOperators) -
Uses of Session in io.trino.operator.index
Constructors in io.trino.operator.index with parameters of type Session Constructor Description UnloadedIndexKeyRecordSet(Session session, IndexSnapshot existingSnapshot, Set<Integer> channelsForDistinct, List<Type> types, List<io.trino.operator.index.UpdateRequest> requests, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators) -
Uses of Session in io.trino.operator.join
Constructors in io.trino.operator.join with parameters of type Session Constructor Description JoinHashSupplier(Session session, PagesHashStrategy pagesHashStrategy, it.unimi.dsi.fastutil.longs.LongArrayList addresses, List<List<Block>> channels, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Optional<Integer> sortChannel, List<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> searchFunctionFactories, HashArraySizeSupplier hashArraySizeSupplier) -
Uses of Session in io.trino.security
Methods in io.trino.security with parameters of type Session Modifier and Type Method Description static SecurityContextSecurityContext. of(Session session) -
Uses of Session in io.trino.server
Methods in io.trino.server that return Session Modifier and Type Method Description SessionNoOpSessionSupplier. createSession(QueryId queryId, SessionContext context)SessionQuerySessionSupplier. createSession(QueryId queryId, SessionContext context)SessionSessionSupplier. createSession(QueryId queryId, SessionContext context)SessionSessionPropertyDefaults. newSessionWithDefaultProperties(Session session, Optional<String> queryType, ResourceGroupId resourceGroupId)Methods in io.trino.server with parameters of type Session Modifier and Type Method Description RemoteTaskHttpRemoteTaskFactory. createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo)DynamicFilterService.DynamicFiltersStatsDynamicFilterService. getDynamicFilteringStats(QueryId queryId, Session session)SessionSessionPropertyDefaults. newSessionWithDefaultProperties(Session session, Optional<String> queryType, ResourceGroupId resourceGroupId)voidDynamicFilterService. registerQuery(QueryId queryId, Session session, Set<DynamicFilterId> dynamicFilters, Set<DynamicFilterId> lazyDynamicFilters, Set<DynamicFilterId> replicatedDynamicFilters) -
Uses of Session in io.trino.server.protocol
Methods in io.trino.server.protocol with parameters of type Session Modifier and Type Method Description static QueryResultRowsQueryResultRows. empty(Session session)static QueryResultRows.BuilderQueryResultRows. queryResultRowsBuilder(Session session)Constructors in io.trino.server.protocol with parameters of type Session Constructor Description Builder(Session session) -
Uses of Session in io.trino.server.remotetask
Constructors in io.trino.server.remotetask with parameters of type Session Constructor Description HttpRemoteTask(Session session, TaskId taskId, String nodeId, URI location, PlanFragment planFragment, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, OutputBuffers outputBuffers, io.airlift.http.client.HttpClient httpClient, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, io.airlift.units.Duration maxErrorDuration, io.airlift.units.Duration taskStatusRefreshMaxWait, io.airlift.units.Duration taskInfoUpdateInterval, boolean summarizeTaskInfo, io.airlift.json.JsonCodec<TaskStatus> taskStatusCodec, io.airlift.json.JsonCodec<DynamicFiltersCollector.VersionedDynamicFilterDomains> dynamicFilterDomainsCodec, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.json.JsonCodec<TaskUpdateRequest> taskUpdateRequestCodec, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, RemoteTaskStats stats, DynamicFilterService dynamicFilterService, Set<DynamicFilterId> outboundDynamicFilterIds) -
Uses of Session in io.trino.split
-
Uses of Session in io.trino.sql
Methods in io.trino.sql with parameters of type Session Modifier and Type Method Description static ExpressionDynamicFilters. createDynamicFilterExpression(Session session, Metadata metadata, DynamicFilterId id, Type inputType, Expression input)static ExpressionDynamicFilters. createDynamicFilterExpression(Session session, Metadata metadata, DynamicFilterId id, Type inputType, Expression input, ComparisonExpression.Operator operator)static ExpressionDynamicFilters. createDynamicFilterExpression(Session session, Metadata metadata, DynamicFilterId id, Type inputType, Expression input, ComparisonExpression.Operator operator, boolean nullAllowed)static ExpressionDynamicFilters. createDynamicFilterExpression(Session session, Metadata metadata, DynamicFilterId id, Type inputType, SymbolReference input, ComparisonExpression.Operator operator, boolean nullAllowed)static ParsingOptionsParsingUtil. createParsingOptions(Session session) -
Uses of Session in io.trino.sql.analyzer
Methods in io.trino.sql.analyzer with parameters of type Session Modifier and Type Method Description static ExpressionAnalysisExpressionAnalyzer. analyzeExpression(Session session, Metadata metadata, GroupProvider groupProvider, AccessControl accessControl, SqlParser sqlParser, Scope scope, Analysis analysis, Expression expression, WarningCollector warningCollector, CorrelationSupport correlationSupport)static ExpressionAnalysisExpressionAnalyzer. analyzeExpressions(Session session, Metadata metadata, GroupProvider groupProvider, AccessControl accessControl, SqlParser sqlParser, TypeProvider types, Iterable<Expression> expressions, Map<NodeRef<Parameter>,Expression> parameters, WarningCollector warningCollector, QueryType queryType)static ExpressionAnalysisExpressionAnalyzer. analyzePatternRecognitionExpression(Session session, Metadata metadata, GroupProvider groupProvider, AccessControl accessControl, SqlParser sqlParser, Scope scope, Analysis analysis, Expression expression, WarningCollector warningCollector, Set<String> labels)static ExpressionAnalysisExpressionAnalyzer. analyzeWindow(Session session, Metadata metadata, GroupProvider groupProvider, AccessControl accessControl, SqlParser sqlParser, Scope scope, Analysis analysis, WarningCollector warningCollector, CorrelationSupport correlationSupport, Analysis.ResolvedWindow window, Node originalNode)static ExpressionAnalyzerExpressionAnalyzer. create(Analysis analysis, Session session, Metadata metadata, SqlParser sqlParser, GroupProvider groupProvider, AccessControl accessControl, TypeProvider types, WarningCollector warningCollector)AnalyzerAnalyzerFactory. createAnalyzer(Session session, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)static ExpressionAnalyzerExpressionAnalyzer. createConstantAnalyzer(Metadata metadata, AccessControl accessControl, Session session, Map<NodeRef<Parameter>,Expression> parameters, WarningCollector warningCollector)static ExpressionAnalyzerExpressionAnalyzer. createConstantAnalyzer(Metadata metadata, AccessControl accessControl, Session session, Map<NodeRef<Parameter>,Expression> parameters, WarningCollector warningCollector, boolean isDescribe)static ExpressionAnalyzerExpressionAnalyzer. createWithoutSubqueries(Metadata metadata, AccessControl accessControl, Session session, TypeProvider symbolTypes, Map<NodeRef<Parameter>,Expression> parameters, Function<? super Node,? extends RuntimeException> statementAnalyzerRejection, WarningCollector warningCollector, boolean isDescribe)static ExpressionAnalyzerExpressionAnalyzer. createWithoutSubqueries(Metadata metadata, AccessControl accessControl, Session session, Map<NodeRef<Parameter>,Expression> parameters, ErrorCodeSupplier errorCode, String message, WarningCollector warningCollector, boolean isDescribe)StringQueryExplainer. getGraphvizPlan(Session session, Statement statement, ExplainType.Type planType, List<Expression> parameters, WarningCollector warningCollector)StringQueryExplainer. getJsonPlan(Session session, Statement statement, ExplainType.Type planType, List<Expression> parameters, WarningCollector warningCollector)PlanQueryExplainer. getLogicalPlan(Session session, Statement statement, List<Expression> parameters, WarningCollector warningCollector)StringQueryExplainer. getPlan(Session session, Statement statement, ExplainType.Type planType, List<Expression> parameters, WarningCollector warningCollector)voidQueryExplainer. validate(Session session, Statement statement, List<Expression> parameters, WarningCollector warningCollector)Constructors in io.trino.sql.analyzer with parameters of type Session Constructor Description ExpressionAnalyzer(Metadata metadata, AccessControl accessControl, BiFunction<Node,CorrelationSupport,io.trino.sql.analyzer.StatementAnalyzer> statementAnalyzerFactory, Session session, TypeProvider symbolTypes, Map<NodeRef<Parameter>,Expression> parameters, WarningCollector warningCollector, boolean isDescribe, Function<Expression,Type> getPreanalyzedType, Function<Node,Analysis.ResolvedWindow> getResolvedWindow) -
Uses of Session in io.trino.sql.gen
Methods in io.trino.sql.gen with parameters of type Session Modifier and Type Method Description LookupSourceSupplierJoinCompiler.LookupSourceSupplierFactory. createLookupSourceSupplier(Session session, it.unimi.dsi.fastutil.longs.LongArrayList addresses, List<List<Block>> channels, OptionalInt hashChannel, Optional<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> filterFunctionFactory, Optional<Integer> sortChannel, List<JoinFilterFunctionCompiler.JoinFilterFunctionFactory> searchFunctionFactories, HashArraySizeSupplier hashArraySizeSupplier) -
Uses of Session in io.trino.sql.planner
Methods in io.trino.sql.planner with parameters of type Session Modifier and Type Method Description static DomainDomainCoercer. applySaturatedCasts(Metadata metadata, TypeOperators typeOperators, Session session, Domain domain, Type coercedValueType)Map<PlanNodeId,SplitSource>SplitSourceFactory. createSplitSources(Session session, PlanFragment fragment)SubPlanPlanFragmenter. createSubPlans(Session session, Plan plan, boolean forceSingleNode, WarningCollector warningCollector)static ObjectLiteralInterpreter. evaluate(Metadata metadata, Session session, Map<NodeRef<Expression>,Type> types, Expression node)static ObjectExpressionInterpreter. evaluateConstantExpression(Expression expression, Type expectedType, Metadata metadata, Session session, AccessControl accessControl, Map<NodeRef<Parameter>,Expression> parameters)ExpressionEffectivePredicateExtractor. extract(Session session, PlanNode node, TypeProvider types, TypeAnalyzer typeAnalyzer)static Map<NodeRef<Expression>,ConnectorExpression>PartialTranslator. extractPartialTranslations(Expression inputExpression, Session session, TypeAnalyzer typeAnalyzer, TypeProvider typeProvider)ProducesConnectorExpressiontranslations for disjoint components in the {@param inputExpression} in a top-down manner.static DomainTranslator.ExtractionResultDomainTranslator. fromPredicate(Metadata metadata, TypeOperators typeOperators, Session session, Expression predicate, TypeProvider types)Convert an Expression predicate into an ExtractionResult consisting of: 1) A successfully extracted TupleDomain 2) An Expression fragment which represents the part of the original Expression that will need to be re-evaluated after filtering with the TupleDomain.BucketFunctionNodePartitioningManager. getBucketFunction(Session session, PartitioningHandle partitioning, List<Type> partitionChannelTypes, int bucketCount)BucketNodeMapNodePartitioningManager. getBucketNodeMap(Session session, PartitioningHandle partitioningHandle, boolean preferDynamic)ConnectorBucketNodeMapNodePartitioningManager. getConnectorBucketNodeMap(Session session, PartitioningHandle partitioning)NodePartitionMapNodePartitioningManager. getNodePartitioningMap(Session session, PartitioningHandle partitioningHandle)NodePartitionMapSystemPartitioningHandle. getNodePartitionMap(Session session, NodeScheduler nodeScheduler)PartitionFunctionNodePartitioningManager. getPartitionFunction(Session session, PartitioningScheme partitioningScheme, List<Type> partitionChannelTypes)TypeTypeAnalyzer. getType(Session session, TypeProvider inputTypes, Expression expression)Map<NodeRef<Expression>,Type>TypeAnalyzer. getTypes(Session session, TypeProvider inputTypes, Expression expression)Map<NodeRef<Expression>,Type>TypeAnalyzer. getTypes(Session session, TypeProvider inputTypes, Iterable<Expression> expressions)booleanPartitioning. isCompatibleWith(Partitioning right, Metadata metadata, Session session)booleanPartitioning. isCompatibleWith(Partitioning right, Function<Symbol,Set<Symbol>> leftToRightMappings, Function<Symbol,Optional<NullableValue>> leftConstantMapping, Function<Symbol,Optional<NullableValue>> rightConstantMapping, Metadata metadata, Session session)List<ConnectorPartitionHandle>NodePartitioningManager. listPartitionHandles(Session session, PartitioningHandle partitioningHandle)static FunctionCallBuilderFunctionCallBuilder. resolve(Session session, Metadata metadata)static ExpressionDesugarArrayConstructorRewriter. rewrite(Expression expression, Session session, Metadata metadata, TypeAnalyzer typeAnalyzer, TypeProvider typeProvider)static ExpressionDesugarAtTimeZoneRewriter. rewrite(Expression expression, Session session, Metadata metadata, TypeAnalyzer typeAnalyzer, SymbolAllocator symbolAllocator)static ExpressionDesugarAtTimeZoneRewriter. rewrite(Expression expression, Map<NodeRef<Expression>,Type> expressionTypes, Metadata metadata, Session session)static ExpressionDesugarLikeRewriter. rewrite(Expression expression, Session session, Metadata metadata, TypeAnalyzer typeAnalyzer, TypeProvider typeProvider)static ExpressionDesugarLikeRewriter. rewrite(Expression expression, Map<NodeRef<Expression>,Type> expressionTypes, Metadata metadata, Session session)static ExpressionDesugarTryExpressionRewriter. rewrite(Expression expression, Metadata metadata, TypeAnalyzer typeAnalyzer, Session session, SymbolAllocator symbolAllocator)static Optional<ConnectorExpression>ConnectorExpressionTranslator. translate(Session session, Expression expression, TypeAnalyzer types, TypeProvider inputTypes) -
Uses of Session in io.trino.sql.planner.iterative
Methods in io.trino.sql.planner.iterative that return Session Modifier and Type Method Description SessionRule.Context. getSession()Methods in io.trino.sql.planner.iterative with parameters of type Session Modifier and Type Method Description default booleanRule. isEnabled(Session session)PlanNodeIterativeOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)Constructor parameters in io.trino.sql.planner.iterative with type arguments of type Session Constructor Description IterativeOptimizer(Metadata metadata, RuleStatsRecorder stats, StatsCalculator statsCalculator, CostCalculator costCalculator, Predicate<Session> useLegacyRules, List<PlanOptimizer> legacyRules, Set<Rule<?>> newRules) -
Uses of Session in io.trino.sql.planner.iterative.rule
Methods in io.trino.sql.planner.iterative.rule with parameters of type Session Modifier and Type Method Description static ExpressionCanonicalizeExpressionRewriter. canonicalizeExpression(Expression expression, Map<NodeRef<Expression>,Type> expressionTypes, Metadata metadata, Session session)static Optional<PlanNodeStatsEstimate>Rules. deriveTableStatisticsForPushdown(StatsProvider statsProvider, Session session, boolean precalculateStatistics, PlanNode oldTableScanParent)static FunctionCallDesugarCurrentCatalog. desugarCurrentCatalog(Session session, CurrentCatalog node, Metadata metadata)static FunctionCallDesugarCurrentSchema. desugarCurrentSchema(Session session, CurrentSchema node, Metadata metadata)static FunctionCallDesugarCurrentPath. getCall(CurrentPath node, Metadata metadata, Session session)static FunctionCallDesugarCurrentUser. getCall(CurrentUser node, Metadata metadata, Session session)booleanAddIntermediateAggregations. isEnabled(Session session)booleanApplyPreferredTableExecutePartitioning. isEnabled(Session session)booleanApplyPreferredTableWriterPartitioning. isEnabled(Session session)booleanCreatePartialTopN. isEnabled(Session session)booleanEliminateCrossJoins. isEnabled(Session session)booleanExtractSpatialJoins.ExtractSpatialInnerJoin. isEnabled(Session session)booleanExtractSpatialJoins.ExtractSpatialLeftJoin. isEnabled(Session session)booleanMergeProjectWithValues. isEnabled(Session session)booleanOptimizeDuplicateInsensitiveJoins. isEnabled(Session session)booleanPushAggregationIntoTableScan. isEnabled(Session session)booleanPushAggregationThroughOuterJoin. isEnabled(Session session)booleanPushDistinctLimitIntoTableScan. isEnabled(Session session)booleanPushdownFilterIntoWindow. isEnabled(Session session)booleanPushdownLimitIntoWindow. isEnabled(Session session)booleanPushJoinIntoTableScan. isEnabled(Session session)booleanPushLimitIntoTableScan. isEnabled(Session session)booleanPushPartialAggregationThroughJoin. isEnabled(Session session)booleanPushPredicateIntoTableScan. isEnabled(Session session)booleanPushPredicateThroughProjectIntoWindow. isEnabled(Session session)booleanPushProjectionIntoTableScan. isEnabled(Session session)booleanPushSampleIntoTableScan. isEnabled(Session session)booleanPushTableWriteThroughUnion. isEnabled(Session session)booleanPushTopNIntoTableScan. isEnabled(Session session)booleanReorderJoins. isEnabled(Session session)booleanTransformFilteringSemiJoinToInnerJoin. isEnabled(Session session)PlanNodeRemoveUnsupportedDynamicFilters. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)static Optional<PlanNode>PruneTableScanColumns. pruneColumns(Metadata metadata, TypeProvider types, Session session, TableScanNode node, Set<Symbol> referencedOutputs)static Optional<PlanNode>PushPredicateIntoTableScan. pushFilterIntoTableScan(FilterNode filterNode, TableScanNode node, boolean pruneWithPredicateExpression, Session session, SymbolAllocator symbolAllocator, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, StatsProvider statsProvider, DomainTranslator domainTranslator)static Optional<PlanNode>PushProjectionThroughJoin. pushProjectionThroughJoin(Metadata metadata, ProjectNode projectNode, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types)static ExpressionCanonicalizeExpressionRewriter. rewrite(Expression expression, Session session, Metadata metadata, TypeAnalyzer typeAnalyzer, TypeProvider types)static ExpressionSimplifyExpressions. rewrite(Expression expression, Session session, SymbolAllocator symbolAllocator, Metadata metadata, TypeAnalyzer typeAnalyzer)static PlanNodeImplementLimitWithTies. rewriteLimitWithTiesWithPartitioning(LimitNode limitNode, PlanNode source, Session session, Metadata metadata, PlanNodeIdAllocator idAllocator, SymbolAllocator symbolAllocator, List<Symbol> partitionBy)Rewrite LimitNode with ties to WindowNode and FilterNode, with partitioning defined by partitionBy.static ExpressionUnwrapCastInComparison. unwrapCasts(Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, Expression expression)Constructors in io.trino.sql.planner.iterative.rule with parameters of type Session Constructor Description SetOperationNodeTranslator(Session session, Metadata metadata, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator) -
Uses of Session in io.trino.sql.planner.optimizations
Methods in io.trino.sql.planner.optimizations with parameters of type Session Modifier and Type Method Description booleanExpressionEquivalence. areExpressionsEquivalent(Session session, Expression leftExpression, Expression rightExpression, TypeProvider types)static StreamPreferredPropertiesStreamPreferredProperties. defaultParallelism(Session session)static ActualPropertiesPropertyDerivations. deriveProperties(PlanNode node, List<ActualProperties> inputProperties, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)static StreamPropertyDerivations.StreamPropertiesStreamPropertyDerivations. deriveProperties(PlanNode node, StreamPropertyDerivations.StreamProperties inputProperties, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)static StreamPropertyDerivations.StreamPropertiesStreamPropertyDerivations. deriveProperties(PlanNode node, List<StreamPropertyDerivations.StreamProperties> inputProperties, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)static ActualPropertiesPropertyDerivations. derivePropertiesRecursively(PlanNode node, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)static StreamPropertyDerivations.StreamPropertiesStreamPropertyDerivations. derivePropertiesRecursively(PlanNode node, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)static Optional<Expression>HashGenerationOptimizer. getHashExpression(Session session, Metadata metadata, SymbolAllocator symbolAllocator, List<Symbol> symbols)booleanActualProperties. isCompatibleTablePartitioningWith(ActualProperties other, Function<Symbol,Set<Symbol>> symbolMappings, Metadata metadata, Session session)booleanActualProperties. isCompatibleTablePartitioningWith(Partitioning partitioning, boolean nullsAndAnyReplicated, Metadata metadata, Session session)PlanNodeAddExchanges. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeAddLocalExchanges. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeBeginTableWrite. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeCheckSubqueryNodesAreRewritten. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeHashGenerationOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeIndexJoinOptimizer. optimize(PlanNode plan, Session session, TypeProvider type, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeLimitPushDown. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeMetadataQueryOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeOptimizeMixedDistinctAggregations. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodePlanOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodePredicatePushDown. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeReplicateSemiJoinInDelete. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeStatsRecordingPlanOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeTableDeleteOptimizer. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeTransformQuantifiedComparisonApplyToCorrelatedJoin. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeUnaliasSymbolReferences. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)PlanNodeWindowFilterPushDown. optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)static ActualPropertiesPropertyDerivations. streamBackdoorDeriveProperties(PlanNode node, List<ActualProperties> inputProperties, Metadata metadata, TypeOperators typeOperators, Session session, TypeProvider types, TypeAnalyzer typeAnalyzer)StreamPreferredPropertiesStreamPreferredProperties. withDefaultParallelism(Session session) -
Uses of Session in io.trino.sql.planner.optimizations.joins
Methods in io.trino.sql.planner.optimizations.joins with parameters of type Session Modifier and Type Method Description static JoinGraphJoinGraph. buildFrom(Metadata metadata, PlanNode plan, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types)BuildsJoinGraphcontainingplannode. -
Uses of Session in io.trino.sql.planner.plan
Methods in io.trino.sql.planner.plan with parameters of type Session Modifier and Type Method Description static AssignmentsAssignments. of(Collection<? extends Expression> expressions, Session session, SymbolAllocator symbolAllocator, TypeAnalyzer typeAnalyzer) -
Uses of Session in io.trino.sql.planner.planprinter
Methods in io.trino.sql.planner.planprinter with parameters of type Session Modifier and Type Method Description static StringPlanPrinter. jsonFragmentPlan(PlanNode root, Map<Symbol,Type> symbols, Metadata metadata, Session session)static StringPlanPrinter. textDistributedPlan(StageInfo outputStageInfo, QueryStats queryStats, Metadata metadata, Session session, boolean verbose)static StringPlanPrinter. textDistributedPlan(SubPlan plan, Metadata metadata, Session session, boolean verbose)static StringIoPlanPrinter. textIoPlan(Plan plan, Metadata metadata, TypeOperators typeOperators, Session session)static StringPlanPrinter. textLogicalPlan(PlanNode plan, TypeProvider types, Metadata metadata, StatsAndCosts estimatedStatsAndCosts, Session session, int level, boolean verbose)Constructors in io.trino.sql.planner.planprinter with parameters of type Session Constructor Description TableInfoSupplier(Metadata metadata, Session session)ValuePrinter(Metadata metadata, Session session) -
Uses of Session in io.trino.sql.planner.sanity
Methods in io.trino.sql.planner.sanity with parameters of type Session Modifier and Type Method Description voidAllFunctionsResolved. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidDynamicFiltersChecker. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidNoDuplicatePlanNodeIdsChecker. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidNoIdentifierLeftChecker. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidNoSubqueryExpressionLeftChecker. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidPlanSanityChecker.Checker. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidSugarFreeChecker. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidTableExecuteStructureValidator. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidTableScanValidator. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidTypeValidator. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidValidateAggregationsWithDefaultValues. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidValidateDependenciesChecker. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidValidateLimitWithPresortedInput. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidValidateStreamingAggregations. validate(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidVerifyNoFilteredAggregations. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidVerifyOnlyOneOutputNode. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidVerifyUseConnectorNodePartitioningSet. validate(PlanNode plan, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidPlanSanityChecker. validateFinalPlan(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)voidPlanSanityChecker. validateIntermediatePlan(PlanNode planNode, Session session, Metadata metadata, TypeOperators typeOperators, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector) -
Uses of Session in io.trino.sql.relational
Methods in io.trino.sql.relational with parameters of type Session Modifier and Type Method Description static RowExpressionSqlToRowExpressionTranslator. translate(Expression expression, Map<NodeRef<Expression>,Type> types, Map<Symbol,Integer> layout, Metadata metadata, Session session, boolean optimize)Constructors in io.trino.sql.relational with parameters of type Session Constructor Description StandardFunctionResolution(Session session, Metadata metadata) -
Uses of Session in io.trino.sql.relational.optimizer
Constructors in io.trino.sql.relational.optimizer with parameters of type Session Constructor Description ExpressionOptimizer(Metadata metadata, Session session) -
Uses of Session in io.trino.sql.rewrite
Methods in io.trino.sql.rewrite with parameters of type Session Modifier and Type Method Description StatementDescribeInputRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementDescribeOutputRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementExplainRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameter, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementShowQueriesRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementShowStatsRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementStatementRewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector)StatementStatementRewrite.Rewrite. rewrite(AnalyzerFactory analyzerFactory, Session session, Statement node, List<Expression> parameters, Map<NodeRef<Parameter>,Expression> parameterLookup, WarningCollector warningCollector) -
Uses of Session in io.trino.testing
Methods in io.trino.testing that return Session Modifier and Type Method Description SessionLocalQueryRunner. getDefaultSession()SessionQueryRunner. getDefaultSession()Methods in io.trino.testing with parameters of type Session Modifier and Type Method Description static LocalQueryRunner.BuilderLocalQueryRunner. builder(Session defaultSession)static TestingTaskContext.BuilderTestingTaskContext. builder(Executor notificationExecutor, ScheduledExecutorService yieldExecutor, Session session)static LocalQueryRunnerLocalQueryRunner. create(Session defaultSession)List<Driver>LocalQueryRunner. createDrivers(Session session, String sql, OutputFactory outputFactory, TaskContext taskContext)PlanLocalQueryRunner. createPlan(Session session, String sql, WarningCollector warningCollector)PlanLocalQueryRunner. createPlan(Session session, String sql, LogicalPlanner.Stage stage, boolean forceSingleNode, WarningCollector warningCollector)PlanLocalQueryRunner. createPlan(Session session, String sql, LogicalPlanner.Stage stage, WarningCollector warningCollector)PlanLocalQueryRunner. createPlan(Session session, String sql, List<PlanOptimizer> optimizers, WarningCollector warningCollector)PlanLocalQueryRunner. createPlan(Session session, String sql, List<PlanOptimizer> optimizers, LogicalPlanner.Stage stage, WarningCollector warningCollector)default PlanQueryRunner. createPlan(Session session, String sql, WarningCollector warningCollector)SubPlanLocalQueryRunner. createSubPlans(Session session, Plan plan, boolean forceSingleNode)static TaskContextTestingTaskContext. createTaskContext(QueryContext queryContext, Executor executor, Session session)static TaskContextTestingTaskContext. createTaskContext(Executor notificationExecutor, ScheduledExecutorService yieldExecutor, Session session)static TaskContextTestingTaskContext. createTaskContext(Executor notificationExecutor, ScheduledExecutorService yieldExecutor, Session session, io.airlift.units.DataSize maxMemory)static TaskContextTestingTaskContext. createTaskContext(Executor notificationExecutor, ScheduledExecutorService yieldExecutor, Session session, TaskStateMachine taskStateMachine)MaterializedResultLocalQueryRunner. execute(Session session, String sql)MaterializedResultQueryRunner. execute(Session session, String sql)QueryRunner.MaterializedResultWithPlanLocalQueryRunner. executeWithPlan(Session session, String sql, WarningCollector warningCollector)default QueryRunner.MaterializedResultWithPlanQueryRunner. executeWithPlan(Session session, String sql, WarningCollector warningCollector)<T> TLocalQueryRunner. inTransaction(Session session, Function<Session,T> transactionSessionConsumer)List<QualifiedObjectName>LocalQueryRunner. listTables(Session session, String catalog, String schema)List<QualifiedObjectName>QueryRunner. listTables(Session session, String catalog, String schema)static MaterializedResultMaterializedResult. materializeSourceDataStream(Session session, ConnectorPageSource pageSource, List<Type> types)static MaterializedResult.BuilderMaterializedResult. resultBuilder(Session session, Type... types)static MaterializedResult.BuilderMaterializedResult. resultBuilder(Session session, Iterable<? extends Type> types)booleanLocalQueryRunner. tableExists(Session session, String table)booleanQueryRunner. tableExists(Session session, String table)Method parameters in io.trino.testing with type arguments of type Session Modifier and Type Method Description <T> TLocalQueryRunner. inTransaction(Session session, Function<Session,T> transactionSessionConsumer)<T> TLocalQueryRunner. inTransaction(Function<Session,T> transactionSessionConsumer) -
Uses of Session in io.trino.transaction
Methods in io.trino.transaction with parameters of type Session Modifier and Type Method Description default voidTransactionManager. activateTransaction(Session session, boolean transactionControl, AccessControl accessControl)voidTransactionBuilder. execute(Session session, Consumer<Session> callback)<T> TTransactionBuilder. execute(Session session, Function<Session,T> callback)Method parameters in io.trino.transaction with type arguments of type Session Modifier and Type Method Description voidTransactionBuilder. execute(Session session, Consumer<Session> callback)<T> TTransactionBuilder. execute(Session session, Function<Session,T> callback)
-