Uses of Class
io.trino.sql.planner.PlanFragment
-
Packages that use PlanFragment Package Description io.trino.execution io.trino.execution.scheduler io.trino.server io.trino.server.remotetask io.trino.sql.planner io.trino.sql.planner.planprinter -
-
Uses of PlanFragment in io.trino.execution
Methods in io.trino.execution that return PlanFragment Modifier and Type Method Description PlanFragmentSqlStage. getFragment()PlanFragmentStageStateMachine. getFragment()PlanFragmentStageInfo. getPlan()Methods in io.trino.execution with parameters of type PlanFragment Modifier and Type Method Description 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)Method parameters in io.trino.execution with type arguments of type PlanFragment Modifier and Type Method Description TaskInfoSqlTask. updateTask(Session session, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)TaskInfoSqlTaskManager. updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)TaskInfoTaskManager. updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)Updates the task plan, splitAssignments and output buffers.Constructors in io.trino.execution with parameters of type PlanFragment Constructor Description StageInfo(StageId stageId, StageState state, PlanFragment plan, boolean coordinatorOnly, List<Type> types, StageStats stageStats, List<TaskInfo> tasks, List<StageInfo> subStages, Map<PlanNodeId,TableInfo> tables, ExecutionFailureInfo failureCause)StageStateMachine(StageId stageId, PlanFragment fragment, Map<PlanNodeId,TableInfo> tables, Executor executor, SplitSchedulerStats schedulerStats) -
Uses of PlanFragment in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return PlanFragment Modifier and Type Method Description PlanFragmentPipelinedStageExecution. getFragment()PlanFragmentStageExecution. getFragment()Methods in io.trino.execution.scheduler with parameters of type PlanFragment Modifier and Type Method Description static StageTaskSourceFactory.ArbitraryDistributionTaskSourceStageTaskSourceFactory.ArbitraryDistributionTaskSource. create(PlanFragment fragment, Map<PlanFragmentId,Exchange> sourceExchanges, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles, io.airlift.units.DataSize targetPartitionSize)TaskSourceStageTaskSourceFactory. create(Session session, PlanFragment fragment, Map<PlanFragmentId,Exchange> sourceExchanges, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles, LongConsumer getSplitTimeRecorder, Optional<int[]> bucketToPartitionMap, Optional<BucketNodeMap> bucketNodeMap)static StageTaskSourceFactory.HashDistributionTaskSourceStageTaskSourceFactory.HashDistributionTaskSource. create(Session session, PlanFragment fragment, SplitSourceFactory splitSourceFactory, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles, int splitBatchSize, LongConsumer getSplitTimeRecorder, int[] bucketToPartitionMap, Optional<BucketNodeMap> bucketNodeMap)static StageTaskSourceFactory.SingleDistributionTaskSourceStageTaskSourceFactory.SingleDistributionTaskSource. create(PlanFragment fragment, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles)static StageTaskSourceFactory.SourceDistributionTaskSourceStageTaskSourceFactory.SourceDistributionTaskSource. create(Session session, PlanFragment fragment, SplitSourceFactory splitSourceFactory, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles, TableExecuteContextManager tableExecuteContextManager, int splitBatchSize, LongConsumer getSplitTimeRecorder, int targetPartitionSplitCount)TaskSourceTaskSourceFactory. create(Session session, PlanFragment fragment, Map<PlanFragmentId,Exchange> sourceExchanges, com.google.common.collect.Multimap<PlanFragmentId,ExchangeSourceHandle> exchangeSourceHandles, LongConsumer getSplitTimeRecorder, Optional<int[]> bucketToPartitionMap, Optional<BucketNodeMap> bucketNodeMap) -
Uses of PlanFragment in io.trino.server
Methods in io.trino.server that return types with arguments of type PlanFragment Modifier and Type Method Description Optional<PlanFragment>TaskUpdateRequest. getFragment()Methods in io.trino.server with parameters of type PlanFragment 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)static Set<DynamicFilterId>DynamicFilterService. getOutboundDynamicFilters(PlanFragment plan)booleanDynamicFilterService. isCollectingTaskNeeded(QueryId queryId, PlanFragment plan)Dynamic filters are collected in same stage as the join operator.booleanDynamicFilterService. isStageSchedulingNeededToCollectDynamicFilters(QueryId queryId, PlanFragment plan)voidDynamicFilterService. unblockStageDynamicFilters(QueryId queryId, int attemptId, PlanFragment plan)Join build source tasks might become blocked waiting for join stage to collect build data.Constructor parameters in io.trino.server with type arguments of type PlanFragment Constructor Description TaskUpdateRequest(SessionRepresentation session, Map<String,String> extraCredentials, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputIds, Map<DynamicFilterId,Domain> dynamicFilterDomains) -
Uses of PlanFragment in io.trino.server.remotetask
Constructors in io.trino.server.remotetask with parameters of type PlanFragment 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 PlanFragment in io.trino.sql.planner
Methods in io.trino.sql.planner that return PlanFragment Modifier and Type Method Description PlanFragmentSubPlan. getFragment()PlanFragmentPlanFragment. withBucketToPartition(Optional<int[]> bucketToPartition)PlanFragmentPlanFragment. withDynamicLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes)PlanFragmentPlanFragment. withFixedLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes)PlanFragmentPlanFragment. withoutEmbeddedJsonRepresentation()Methods in io.trino.sql.planner that return types with arguments of type PlanFragment Modifier and Type Method Description List<PlanFragment>SubPlan. getAllFragments()Flattens the subplan and returns all PlanFragments in the treeMethods in io.trino.sql.planner with parameters of type PlanFragment Modifier and Type Method Description Map<PlanNodeId,SplitSource>SplitSourceFactory. createSplitSources(Session session, PlanFragment fragment)Constructors in io.trino.sql.planner with parameters of type PlanFragment Constructor Description SubPlan(PlanFragment fragment, List<SubPlan> children) -
Uses of PlanFragment in io.trino.sql.planner.planprinter
Method parameters in io.trino.sql.planner.planprinter with type arguments of type PlanFragment Modifier and Type Method Description static StringGraphvizPrinter. printLogical(List<PlanFragment> fragments)
-