@Immutable public final class ProjectNode extends PlanNode
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectNode.Locality |
| Constructor and Description |
|---|
ProjectNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
PlanNode source,
Assignments assignments,
ProjectNode.Locality locality) |
ProjectNode(PlanNodeId id,
PlanNode source,
Assignments assignments) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context)
A visitor pattern interface to operate on IR.
|
boolean |
equals(Object o) |
Assignments |
getAssignments() |
ProjectNode.Locality |
getLocality() |
List<VariableReferenceExpression> |
getOutputVariables()
The output from the upstream PlanNodes.
|
PlanNode |
getSource() |
List<PlanNode> |
getSources()
Get the upstream PlanNodes (i.e., children) of the current PlanNode.
|
int |
hashCode() |
PlanNode |
replaceChildren(List<PlanNode> newChildren)
Alter the upstream PlanNodes of the current PlanNode.
|
getId, getSourceLocationpublic ProjectNode(PlanNodeId id, PlanNode source, Assignments assignments)
public ProjectNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, PlanNode source, Assignments assignments, ProjectNode.Locality locality)
public List<VariableReferenceExpression> getOutputVariables()
PlanNodegetOutputVariables in class PlanNodepublic Assignments getAssignments()
public List<PlanNode> getSources()
PlanNodegetSources in class PlanNodepublic PlanNode getSource()
public ProjectNode.Locality getLocality()
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
PlanNodepublic PlanNode replaceChildren(List<PlanNode> newChildren)
PlanNodereplaceChildren in class PlanNodeCopyright © 2012–2022. All rights reserved.