Package io.trino.sql.planner
Class PlanFragment
java.lang.Object
io.trino.sql.planner.PlanFragment
-
Constructor Summary
ConstructorsConstructorDescriptionPlanFragment(PlanFragmentId id, PlanNode root, Map<Symbol, Type> symbols, PartitioningHandle partitioning, List<PlanNodeId> partitionedSources, PartitioningScheme partitioningScheme, StageExecutionDescriptor stageExecutionDescriptor, StatsAndCosts statsAndCosts, Optional<String> jsonRepresentation) -
Method Summary
Modifier and TypeMethodDescriptiongetId()getRoot()getTypes()booleanisLeaf()booleanisPartitionedSources(PlanNodeId nodeId) toString()withBucketToPartition(Optional<int[]> bucketToPartition) withDynamicLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes) withFixedLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes)
-
Constructor Details
-
PlanFragment
public PlanFragment(PlanFragmentId id, PlanNode root, Map<Symbol, Type> symbols, PartitioningHandle partitioning, List<PlanNodeId> partitionedSources, PartitioningScheme partitioningScheme, StageExecutionDescriptor stageExecutionDescriptor, StatsAndCosts statsAndCosts, Optional<String> jsonRepresentation)
-
-
Method Details
-
getId
-
getRoot
-
getSymbols
-
getPartitioning
-
getPartitionedSources
-
isPartitionedSources
-
getPartitioningScheme
-
getStageExecutionDescriptor
-
getStatsAndCosts
-
getJsonRepresentation
-
withoutEmbeddedJsonRepresentation
-
getTypes
-
getPartitionedSourceNodes
-
isLeaf
public boolean isLeaf() -
getRemoteSourceNodes
-
withBucketToPartition
-
withFixedLifespanScheduleGroupedExecution
public PlanFragment withFixedLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes) -
withDynamicLifespanScheduleGroupedExecution
public PlanFragment withDynamicLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes) -
toString
-