Package io.prestosql.sql.planner.plan
Class TableWriterNode
- java.lang.Object
-
- io.prestosql.sql.planner.plan.PlanNode
-
- io.prestosql.sql.planner.plan.TableWriterNode
-
@Immutable public class TableWriterNode extends PlanNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableWriterNode.CreateReference
static class
TableWriterNode.CreateTarget
static class
TableWriterNode.DeleteTarget
static class
TableWriterNode.InsertReference
static class
TableWriterNode.InsertTarget
static class
TableWriterNode.RefreshMaterializedViewReference
static class
TableWriterNode.RefreshMaterializedViewTarget
static class
TableWriterNode.WriterTarget
-
Constructor Summary
Constructors Constructor Description TableWriterNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Set<Symbol> notNullColumnSymbols, Optional<PartitioningScheme> partitioningScheme, 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<String>
getColumnNames()
List<Symbol>
getColumns()
Symbol
getFragmentSymbol()
Set<Symbol>
getNotNullColumnSymbols()
List<Symbol>
getOutputSymbols()
Optional<PartitioningScheme>
getPartitioningScheme()
Symbol
getRowCountSymbol()
PlanNode
getSource()
List<PlanNode>
getSources()
Optional<StatisticAggregations>
getStatisticsAggregation()
Optional<StatisticAggregationsDescriptor<Symbol>>
getStatisticsAggregationDescriptor()
TableWriterNode.WriterTarget
getTarget()
PlanNode
replaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
TableWriterNode
public TableWriterNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Set<Symbol> notNullColumnSymbols, Optional<PartitioningScheme> partitioningScheme, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor)
-
-
Method Detail
-
getSource
public PlanNode getSource()
-
getTarget
public TableWriterNode.WriterTarget getTarget()
-
getRowCountSymbol
public Symbol getRowCountSymbol()
-
getFragmentSymbol
public Symbol getFragmentSymbol()
-
getPartitioningScheme
public Optional<PartitioningScheme> getPartitioningScheme()
-
getStatisticsAggregation
public Optional<StatisticAggregations> getStatisticsAggregation()
-
getStatisticsAggregationDescriptor
public Optional<StatisticAggregationsDescriptor<Symbol>> getStatisticsAggregationDescriptor()
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSources
in classPlanNode
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbols
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
-
-