@Immutable public class PlanFragment extends Object
| Constructor and Description |
|---|
PlanFragment(PlanFragmentId id,
PlanNode root,
Map<Symbol,Type> symbols,
PartitioningHandle partitioning,
List<PlanNodeId> partitionedSources,
PartitioningScheme partitioningScheme,
StageExecutionDescriptor stageExecutionDescriptor,
StatsAndCosts statsAndCosts,
Optional<String> jsonRepresentation) |
| Modifier and Type | Method and Description |
|---|---|
PlanFragmentId |
getId() |
Optional<String> |
getJsonRepresentation() |
Set<PlanNode> |
getPartitionedSourceNodes() |
List<PlanNodeId> |
getPartitionedSources() |
PartitioningHandle |
getPartitioning() |
PartitioningScheme |
getPartitioningScheme() |
List<RemoteSourceNode> |
getRemoteSourceNodes() |
PlanNode |
getRoot() |
StageExecutionDescriptor |
getStageExecutionDescriptor() |
StatsAndCosts |
getStatsAndCosts() |
Map<Symbol,Type> |
getSymbols() |
List<Type> |
getTypes() |
boolean |
isLeaf() |
boolean |
isPartitionedSources(PlanNodeId nodeId) |
String |
toString() |
PlanFragment |
withBucketToPartition(Optional<int[]> bucketToPartition) |
PlanFragment |
withDynamicLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes) |
PlanFragment |
withFixedLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes) |
public PlanFragment(PlanFragmentId id, PlanNode root, Map<Symbol,Type> symbols, PartitioningHandle partitioning, List<PlanNodeId> partitionedSources, PartitioningScheme partitioningScheme, StageExecutionDescriptor stageExecutionDescriptor, StatsAndCosts statsAndCosts, Optional<String> jsonRepresentation)
public PlanFragmentId getId()
public PlanNode getRoot()
public PartitioningHandle getPartitioning()
public List<PlanNodeId> getPartitionedSources()
public boolean isPartitionedSources(PlanNodeId nodeId)
public PartitioningScheme getPartitioningScheme()
public StageExecutionDescriptor getStageExecutionDescriptor()
public StatsAndCosts getStatsAndCosts()
public boolean isLeaf()
public List<RemoteSourceNode> getRemoteSourceNodes()
public PlanFragment withBucketToPartition(Optional<int[]> bucketToPartition)
public PlanFragment withFixedLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes)
public PlanFragment withDynamicLifespanScheduleGroupedExecution(List<PlanNodeId> capableTableScanNodes)
Copyright © 2012–2019. All rights reserved.