@Immutable public final class ValuesNode extends PlanNode
| Constructor and Description |
|---|
ValuesNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
List<VariableReferenceExpression> outputVariables,
List<List<RowExpression>> rows) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context)
A visitor pattern interface to operate on IR.
|
List<VariableReferenceExpression> |
getOutputVariables()
The output from the upstream PlanNodes.
|
List<List<RowExpression>> |
getRows() |
List<PlanNode> |
getSources()
Get the upstream PlanNodes (i.e., children) of the current PlanNode.
|
PlanNode |
replaceChildren(List<PlanNode> newChildren)
Alter the upstream PlanNodes of the current PlanNode.
|
getId, getSourceLocationpublic ValuesNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, List<VariableReferenceExpression> outputVariables, List<List<RowExpression>> rows)
public List<List<RowExpression>> getRows()
public List<VariableReferenceExpression> getOutputVariables()
PlanNodegetOutputVariables in class PlanNodepublic List<PlanNode> getSources()
PlanNodegetSources in class PlanNodepublic <R,C> R accept(PlanVisitor<R,C> visitor, C context)
PlanNodeCopyright © 2012–2022. All rights reserved.