Package io.trino.operator
Class TableFunctionOperator.TableFunctionOperatorFactory
java.lang.Object
io.trino.operator.TableFunctionOperator.TableFunctionOperatorFactory
- All Implemented Interfaces:
OperatorFactory
- Enclosing class:
TableFunctionOperator
public static class TableFunctionOperator.TableFunctionOperatorFactory
extends Object
implements OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionTableFunctionOperatorFactory(int operatorId, PlanNodeId planNodeId, TableFunctionProcessorProvider tableFunctionProvider, CatalogHandle catalogHandle, ConnectorTableFunctionHandle functionHandle, int properChannelsCount, int passThroughSourcesCount, List<List<Integer>> requiredChannels, Optional<Map<Integer, Integer>> markerChannels, List<RegularTableFunctionPartition.PassThroughColumnSpecification> passThroughSpecifications, boolean pruneWhenEmpty, List<Integer> partitionChannels, List<Integer> prePartitionedChannels, List<Integer> sortChannels, List<SortOrder> sortOrders, int preSortedPrefix, List<? extends Type> sourceTypes, int expectedPositions, PagesIndex.Factory pagesIndexFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateOperator(DriverContext driverContext) voidDeclare that createOperator will not be called any more and release any resources associated with this factory.
-
Constructor Details
-
TableFunctionOperatorFactory
public TableFunctionOperatorFactory(int operatorId, PlanNodeId planNodeId, TableFunctionProcessorProvider tableFunctionProvider, CatalogHandle catalogHandle, ConnectorTableFunctionHandle functionHandle, int properChannelsCount, int passThroughSourcesCount, List<List<Integer>> requiredChannels, Optional<Map<Integer, Integer>> markerChannels, List<RegularTableFunctionPartition.PassThroughColumnSpecification> passThroughSpecifications, boolean pruneWhenEmpty, List<Integer> partitionChannels, List<Integer> prePartitionedChannels, List<Integer> sortChannels, List<SortOrder> sortOrders, int preSortedPrefix, List<? extends Type> sourceTypes, int expectedPositions, PagesIndex.Factory pagesIndexFactory)
-
-
Method Details
-
createOperator
- Specified by:
createOperatorin interfaceOperatorFactory
-
noMoreOperators
public void noMoreOperators()Description copied from interface:OperatorFactoryDeclare that createOperator will not be called any more and release any resources associated with this factory.This method will be called only once. Implementation doesn't need to worry about duplicate invocations.
- Specified by:
noMoreOperatorsin interfaceOperatorFactory
-
duplicate
- Specified by:
duplicatein interfaceOperatorFactory
-