Uses of Class
io.trino.sql.planner.PlanFragment
Packages that use PlanFragment
Package
Description
-
Uses of PlanFragment in io.trino.execution
Methods in io.trino.execution that return PlanFragmentModifier and TypeMethodDescriptionSqlStage.getFragment()StageStateMachine.getFragment()StageInfo.getPlan()Methods in io.trino.execution with parameters of type PlanFragmentModifier and TypeMethodDescriptionSqlTaskExecutionFactory.create(Session session, io.opentelemetry.api.trace.Span taskSpan, QueryContext queryContext, TaskStateMachine taskStateMachine, OutputBuffer outputBuffer, PlanFragment fragment, Runnable notifyStatusChanged) static StageInfoStageInfo.createInitial(QueryId queryId, StageState state, PlanFragment fragment) MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) RemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) static SqlStageSqlStage.createSqlStage(StageId stageId, PlanFragment fragment, Map<PlanNodeId, TableInfo> tables, RemoteTaskFactory remoteTaskFactory, Session session, boolean summarizeTaskInfo, NodeTaskMap nodeTaskMap, Executor stateMachineExecutor, io.opentelemetry.api.trace.Tracer tracer, SplitSchedulerStats schedulerStats) static Map<PlanNodeId, TableInfo> TableInfo.extract(Session session, Metadata metadata, PlanFragment fragment) Method parameters in io.trino.execution with type arguments of type PlanFragmentModifier and TypeMethodDescriptionSqlTask.updateTask(Session session, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains, boolean speculative) SqlTaskManager.updateTask(Session session, TaskId taskId, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains, boolean speculative) Updates the task plan, splitAssignments and output buffers.Constructors in io.trino.execution with parameters of type PlanFragmentModifierConstructorDescriptionStageInfo(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, io.opentelemetry.api.trace.Tracer tracer, io.opentelemetry.api.trace.Span querySpan, SplitSchedulerStats schedulerStats) -
Uses of PlanFragment in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return PlanFragmentModifier and TypeMethodDescriptionPipelinedStageExecution.getFragment()StageExecution.getFragment() -
Uses of PlanFragment in io.trino.execution.scheduler.faulttolerant
Methods in io.trino.execution.scheduler.faulttolerant with parameters of type PlanFragmentModifier and TypeMethodDescriptionio.trino.execution.scheduler.faulttolerant.EventDrivenTaskSourceEventDrivenTaskSourceFactory.create(Session session, io.opentelemetry.api.trace.Span stageSpan, PlanFragment fragment, Map<PlanFragmentId, Exchange> sourceExchanges, FaultTolerantPartitioningScheme sourcePartitioningScheme, LongConsumer getSplitTimeRecorder, Map<PlanNodeId, OutputDataSizeEstimate> outputDataSizeEstimates) ExponentialGrowthPartitionMemoryEstimator.Factory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) NoMemoryAwarePartitionMemoryEstimator.Factory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) PartitionMemoryEstimatorFactory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) Method parameters in io.trino.execution.scheduler.faulttolerant with type arguments of type PlanFragmentModifier and TypeMethodDescriptionExponentialGrowthPartitionMemoryEstimator.Factory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) NoMemoryAwarePartitionMemoryEstimator.Factory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) PartitionMemoryEstimatorFactory.createPartitionMemoryEstimator(Session session, PlanFragment planFragment, Function<PlanFragmentId, PlanFragment> sourceFragmentLookup) -
Uses of PlanFragment in io.trino.server
Methods in io.trino.server that return types with arguments of type PlanFragmentMethods in io.trino.server with parameters of type PlanFragmentModifier and TypeMethodDescriptionHttpRemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, 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 in pipelined execution.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 PlanFragmentModifierConstructorDescriptionTaskUpdateRequest(SessionRepresentation session, Map<String, String> extraCredentials, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputIds, Map<DynamicFilterId, Domain> dynamicFilterDomains, Optional<io.airlift.slice.Slice> exchangeEncryptionKey, boolean speculative) -
Uses of PlanFragment in io.trino.server.remotetask
Constructors in io.trino.server.remotetask with parameters of type PlanFragmentModifierConstructorDescriptionHttpRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, String nodeId, boolean speculative, 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, io.airlift.units.Duration taskTerminationTimeout, 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, io.airlift.json.JsonCodec<FailTaskRequest> failTaskRequestCodec, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, io.opentelemetry.api.trace.Tracer tracer, RemoteTaskStats stats, DynamicFilterService dynamicFilterService, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory) -
Uses of PlanFragment in io.trino.sql.planner
Methods in io.trino.sql.planner that return PlanFragmentModifier and TypeMethodDescriptionSubPlan.getFragment()PlanFragment.withActiveCatalogs(List<CatalogProperties> activeCatalogs) PlanFragment.withBucketToPartition(Optional<int[]> bucketToPartition) PlanFragment.withoutEmbeddedJsonRepresentation()PlanFragment.withOutputPartitioningScheme(PartitioningScheme outputPartitioningScheme) PlanFragment.withPartitionCount(Optional<Integer> partitionCount) Methods in io.trino.sql.planner that return types with arguments of type PlanFragmentModifier and TypeMethodDescriptionSubPlan.getAllFragments()Flattens the subplan and returns all PlanFragments in the treeMethods in io.trino.sql.planner with parameters of type PlanFragmentModifier and TypeMethodDescriptionstatic booleanRuntimeAdaptivePartitioningRewriter.consumesHashPartitionedInput(PlanFragment fragment) SplitSourceFactory.createSplitSources(Session session, io.opentelemetry.api.trace.Span stageSpan, PlanFragment fragment) static booleanRuntimeAdaptivePartitioningRewriter.producesHashPartitionedOutput(PlanFragment fragment) Constructors in io.trino.sql.planner with parameters of type PlanFragment -
Uses of PlanFragment in io.trino.sql.planner.planprinter
Method parameters in io.trino.sql.planner.planprinter with type arguments of type PlanFragmentModifier and TypeMethodDescriptionstatic StringGraphvizPrinter.printLogical(List<PlanFragment> fragments)