Package io.prestosql.sql.planner.plan
Class ValuesNode
- java.lang.Object
-
- io.prestosql.sql.planner.plan.PlanNode
-
- io.prestosql.sql.planner.plan.ValuesNode
-
@Immutable public class ValuesNode extends PlanNode
-
-
Constructor Summary
Constructors Constructor Description ValuesNode(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)
List<Symbol>
getOutputSymbols()
int
getRowCount()
Optional<List<Expression>>
getRows()
List<PlanNode>
getSources()
PlanNode
replaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
ValuesNode
public ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, List<Expression> rows)
Constructor of ValuesNode with non-empty output symbols list
-
ValuesNode
public ValuesNode(PlanNodeId id, int rowCount)
Constructor of ValuesNode with empty output symbols list
-
ValuesNode
public ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, int rowCount, Optional<List<Expression>> rows)
-
-
Method Detail
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbols
in classPlanNode
-
getRowCount
public int getRowCount()
-
getRows
public Optional<List<Expression>> getRows()
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSources
in classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
replaceChildren
public PlanNode replaceChildren(List<PlanNode> newChildren)
- Specified by:
replaceChildren
in classPlanNode
-
-