Package io.trino.operator
Class MergeProcessorOperator
java.lang.Object
io.trino.operator.MergeProcessorOperator
- All Implemented Interfaces:
WorkProcessorOperator,AutoCloseable
This operator is used by operations like SQL MERGE. It is used
for all
RowChangeParadigms. This operator
creates the MergeRowChangeProcessor.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorFactorycreateOperatorFactory(int operatorId, PlanNodeId planNodeId, TableWriterNode.MergeParadigmAndTypes merge, int rowIdChannel, int mergeRowChannel, List<Integer> redistributionColumns, List<Integer> dataColumnChannels, Function<Page, Page> pagePreprocessor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.WorkProcessorOperator
close, getMetrics, getOperatorInfo
-
Method Details
-
createOperatorFactory
public static OperatorFactory createOperatorFactory(int operatorId, PlanNodeId planNodeId, TableWriterNode.MergeParadigmAndTypes merge, int rowIdChannel, int mergeRowChannel, List<Integer> redistributionColumns, List<Integer> dataColumnChannels, Function<Page, Page> pagePreprocessor) -
getOutputPages
- Specified by:
getOutputPagesin interfaceWorkProcessorOperator
-