Package io.trino.sql.planner.plan
Class StatisticsWriterNode
- java.lang.Object
-
- io.trino.sql.planner.plan.PlanNode
-
- io.trino.sql.planner.plan.StatisticsWriterNode
-
public class StatisticsWriterNode extends PlanNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatisticsWriterNode.WriteStatisticsHandlestatic classStatisticsWriterNode.WriteStatisticsReferencestatic classStatisticsWriterNode.WriteStatisticsTarget
-
Constructor Summary
Constructors Constructor Description StatisticsWriterNode(PlanNodeId id, PlanNode source, StatisticsWriterNode.WriteStatisticsTarget target, Symbol rowCountSymbol, boolean rowCountEnabled, StatisticAggregationsDescriptor<Symbol> descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)StatisticAggregationsDescriptor<Symbol>getDescriptor()List<Symbol>getOutputSymbols()SymbolgetRowCountSymbol()PlanNodegetSource()List<PlanNode>getSources()StatisticsWriterNode.WriteStatisticsTargetgetTarget()booleanisRowCountEnabled()PlanNodereplaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
StatisticsWriterNode
public StatisticsWriterNode(PlanNodeId id, PlanNode source, StatisticsWriterNode.WriteStatisticsTarget target, Symbol rowCountSymbol, boolean rowCountEnabled, StatisticAggregationsDescriptor<Symbol> descriptor)
-
-
Method Detail
-
getSource
public PlanNode getSource()
-
getTarget
public StatisticsWriterNode.WriteStatisticsTarget getTarget()
-
getDescriptor
public StatisticAggregationsDescriptor<Symbol> getDescriptor()
-
getRowCountSymbol
public Symbol getRowCountSymbol()
-
isRowCountEnabled
public boolean isRowCountEnabled()
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSourcesin classPlanNode
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbolsin classPlanNode
-
replaceChildren
public PlanNode replaceChildren(List<PlanNode> newChildren)
- Specified by:
replaceChildrenin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
-