@Immutable public final class ValuesNode extends PlanNode
| Constructor and Description |
|---|
ValuesNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
List<VariableReferenceExpression> outputVariables,
List<List<RowExpression>> rows,
Optional<String> valuesNodeLabel) |
ValuesNode(Optional<SourceLocation> sourceLocation,
PlanNodeId id,
Optional<PlanNode> statsEquivalentPlanNode,
List<VariableReferenceExpression> outputVariables,
List<List<RowExpression>> rows,
Optional<String> valuesNodeLabel) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context)
A visitor pattern interface to operate on IR.
|
PlanNode |
assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode)
Assigns statsEquivalentPlanNode to the plan node
|
LogicalProperties |
computeLogicalProperties(LogicalPropertiesProvider logicalPropertiesProvider)
Logical properties are a function of source properties and the operation performed by the plan node
|
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.
|
Optional<String> |
getValuesNodeLabel() |
PlanNode |
replaceChildren(List<PlanNode> newChildren)
Alter the upstream PlanNodes of the current PlanNode.
|
getId, getSourceLocation, getStatsEquivalentPlanNodepublic ValuesNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, List<VariableReferenceExpression> outputVariables, List<List<RowExpression>> rows, Optional<String> valuesNodeLabel)
public ValuesNode(Optional<SourceLocation> sourceLocation, PlanNodeId id, Optional<PlanNode> statsEquivalentPlanNode, List<VariableReferenceExpression> outputVariables, List<List<RowExpression>> rows, Optional<String> valuesNodeLabel)
public List<List<RowExpression>> getRows()
public LogicalProperties computeLogicalProperties(LogicalPropertiesProvider logicalPropertiesProvider)
PlanNodecomputeLogicalProperties in class PlanNodepublic List<VariableReferenceExpression> getOutputVariables()
PlanNodegetOutputVariables in class PlanNodepublic List<PlanNode> getSources()
PlanNodegetSources in class PlanNodepublic <R,C> R accept(PlanVisitor<R,C> visitor, C context)
PlanNodepublic PlanNode assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode)
PlanNodeassignStatsEquivalentPlanNode in class PlanNodeCopyright © 2012–2022. All rights reserved.