Package io.trino.sql.planner.plan
Class TableFinishNode
- java.lang.Object
-
- io.trino.sql.planner.plan.PlanNode
-
- io.trino.sql.planner.plan.TableFinishNode
-
@Immutable public class TableFinishNode extends PlanNode
-
-
Constructor Summary
Constructors Constructor Description TableFinishNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor)
-
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()SymbolgetRowCountSymbol()PlanNodegetSource()List<PlanNode>getSources()Optional<StatisticAggregations>getStatisticsAggregation()Optional<StatisticAggregationsDescriptor<Symbol>>getStatisticsAggregationDescriptor()TableWriterNode.WriterTargetgetTarget()PlanNodereplaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
TableFinishNode
public TableFinishNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor)
-
-
Method Detail
-
getSource
public PlanNode getSource()
-
getTarget
public TableWriterNode.WriterTarget getTarget()
-
getRowCountSymbol
public Symbol getRowCountSymbol()
-
getStatisticsAggregation
public Optional<StatisticAggregations> getStatisticsAggregation()
-
getStatisticsAggregationDescriptor
public Optional<StatisticAggregationsDescriptor<Symbol>> getStatisticsAggregationDescriptor()
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSourcesin classPlanNode
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbolsin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
replaceChildren
public PlanNode replaceChildren(List<PlanNode> newChildren)
- Specified by:
replaceChildrenin classPlanNode
-
-