@Immutable public abstract class SetOperationNode extends PlanNode
| Modifier | Constructor and Description |
|---|---|
protected |
SetOperationNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
List<PlanNode> sources,
List<VariableReferenceExpression> outputVariables,
Map<VariableReferenceExpression,List<VariableReferenceExpression>> outputToInputs) |
protected |
SetOperationNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
Optional<PlanNode> statsEquivalentPlanNode,
List<PlanNode> sources,
List<VariableReferenceExpression> outputVariables,
Map<VariableReferenceExpression,List<VariableReferenceExpression>> outputToInputs) |
| Modifier and Type | Method and Description |
|---|---|
List<VariableReferenceExpression> |
getOutputVariables()
The output from the upstream PlanNodes.
|
List<PlanNode> |
getSources()
Get the upstream PlanNodes (i.e., children) of the current PlanNode.
|
Map<VariableReferenceExpression,List<VariableReferenceExpression>> |
getVariableMapping() |
List<VariableReferenceExpression> |
sourceOutputLayout(int sourceIndex) |
Map<VariableReferenceExpression,VariableReferenceExpression> |
sourceVariableMap(int sourceIndex)
Returns the output to input variable mapping for the given source channel
|
accept, assignStatsEquivalentPlanNode, computeLogicalProperties, getId, getSourceLocation, getStatsEquivalentPlanNode, replaceChildrenprotected SetOperationNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, List<PlanNode> sources, List<VariableReferenceExpression> outputVariables, Map<VariableReferenceExpression,List<VariableReferenceExpression>> outputToInputs)
protected SetOperationNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, Optional<PlanNode> statsEquivalentPlanNode, List<PlanNode> sources, List<VariableReferenceExpression> outputVariables, Map<VariableReferenceExpression,List<VariableReferenceExpression>> outputToInputs)
public List<PlanNode> getSources()
PlanNodegetSources in class PlanNodepublic Map<VariableReferenceExpression,List<VariableReferenceExpression>> getVariableMapping()
public List<VariableReferenceExpression> getOutputVariables()
PlanNodegetOutputVariables in class PlanNodepublic List<VariableReferenceExpression> sourceOutputLayout(int sourceIndex)
public Map<VariableReferenceExpression,VariableReferenceExpression> sourceVariableMap(int sourceIndex)
Copyright © 2012–2022. All rights reserved.