Package io.trino.sql.planner.plan
Class ValuesNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.ValuesNode
-
Constructor Summary
ConstructorsConstructorDescriptionValuesNode(PlanNodeId id, int rowCount) Constructor of ValuesNode with empty output symbols listValuesNode(PlanNodeId id, List<Symbol> outputSymbols, int rowCount, Optional<List<Expression>> rows) ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, List<Expression> rows) Constructor of ValuesNode with non-empty output symbols list -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(PlanVisitor<R, C> visitor, C context) intgetRows()replaceChildren(List<PlanNode> newChildren)
-
Constructor Details
-
ValuesNode
Constructor of ValuesNode with non-empty output symbols list -
ValuesNode
Constructor of ValuesNode with empty output symbols list -
ValuesNode
public ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, int rowCount, Optional<List<Expression>> rows)
-
-
Method Details
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
getRowCount
public int getRowCount() -
getRows
-
getSources
- Specified by:
getSourcesin classPlanNode
-
accept
-
replaceChildren
- Specified by:
replaceChildrenin classPlanNode
-