Package io.trino.sql.planner
Class PlanFragment
java.lang.Object
io.trino.sql.planner.PlanFragment
-
Constructor Summary
ConstructorsConstructorDescriptionPlanFragment(PlanFragmentId id, PlanNode root, Set<Symbol> symbols, PartitioningHandle partitioning, Optional<Integer> partitionCount, List<PlanNodeId> partitionedSources, PartitioningScheme outputPartitioningScheme, StatsAndCosts statsAndCosts, List<CatalogProperties> activeCatalogs, Map<FunctionId, IrRoutine> languageFunctions, Optional<String> jsonRepresentation) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getRoot()getTypes()booleanisLeaf()booleanisPartitionedSources(PlanNodeId nodeId) toString()withActiveCatalogs(List<CatalogProperties> activeCatalogs) withBucketToPartition(Optional<int[]> bucketToPartition)
-
Constructor Details
-
PlanFragment
public PlanFragment(PlanFragmentId id, PlanNode root, Set<Symbol> symbols, PartitioningHandle partitioning, Optional<Integer> partitionCount, List<PlanNodeId> partitionedSources, PartitioningScheme outputPartitioningScheme, StatsAndCosts statsAndCosts, List<CatalogProperties> activeCatalogs, Map<FunctionId, IrRoutine> languageFunctions, Optional<String> jsonRepresentation)
-
-
Method Details
-
getId
-
getRoot
-
getSymbols
-
getPartitioning
-
getPartitionCount
-
getPartitionedSources
-
isPartitionedSources
-
getOutputPartitioningScheme
-
getStatsAndCosts
-
getActiveCatalogs
-
getLanguageFunctions
-
getJsonRepresentation
-
withoutEmbeddedJsonRepresentation
-
getTypes
-
getPartitionedSourceNodes
-
isLeaf
public boolean isLeaf() -
getRemoteSourceNodes
-
withBucketToPartition
-
toString
-
withActiveCatalogs
-
containsTableScanNode
public boolean containsTableScanNode()
-