Package io.prestosql.operator
Interface OperatorFactory
-
- All Known Subinterfaces:
JoinOperatorFactory
,SourceOperatorFactory
- All Known Implementing Classes:
AggregationOperator.AggregationOperatorFactory
,DeleteOperator.DeleteOperatorFactory
,DevNullOperator.DevNullOperatorFactory
,DistinctLimitOperator.DistinctLimitOperatorFactory
,DynamicFilterSourceOperator.DynamicFilterSourceOperatorFactory
,EnforceSingleRowOperator.EnforceSingleRowOperatorFactory
,ExchangeOperator.ExchangeOperatorFactory
,ExplainAnalyzeOperator.ExplainAnalyzeOperatorFactory
,GroupIdOperator.GroupIdOperatorFactory
,HashAggregationOperator.HashAggregationOperatorFactory
,HashBuilderOperator.HashBuilderOperatorFactory
,IndexSourceOperator.IndexSourceOperatorFactory
,LimitOperator.LimitOperatorFactory
,LocalExchangeSinkOperator.LocalExchangeSinkOperatorFactory
,LocalExchangeSourceOperator.LocalExchangeSourceOperatorFactory
,LocalMergeSourceOperator.LocalMergeSourceOperatorFactory
,LookupJoinOperatorFactory
,LookupOuterOperator.LookupOuterOperatorFactory
,MarkDistinctOperator.MarkDistinctOperatorFactory
,MergeOperator.MergeOperatorFactory
,NestedLoopBuildOperator.NestedLoopBuildOperatorFactory
,NestedLoopJoinOperator.NestedLoopJoinOperatorFactory
,NullOutputOperator.NullOutputOperatorFactory
,OrderByOperator.OrderByOperatorFactory
,PageBufferOperator.PageBufferOperatorFactory
,PageConsumerOperator.PageConsumerOperatorFactory
,PagesIndexBuilderOperator.PagesIndexBuilderOperatorFactory
,PartitionedOutputOperator.PartitionedOutputOperatorFactory
,RowNumberOperator.RowNumberOperatorFactory
,ScanFilterAndProjectOperator.ScanFilterAndProjectOperatorFactory
,SetBuilderOperator.SetBuilderOperatorFactory
,SpatialIndexBuilderOperator.SpatialIndexBuilderOperatorFactory
,SpatialJoinOperator.SpatialJoinOperatorFactory
,StatisticsWriterOperator.StatisticsWriterOperatorFactory
,TableDeleteOperator.TableDeleteOperatorFactory
,TableFinishOperator.TableFinishOperatorFactory
,TableScanOperator.TableScanOperatorFactory
,TableWriterOperator.TableWriterOperatorFactory
,TaskOutputOperator.TaskOutputOperatorFactory
,TopNRowNumberOperator.TopNRowNumberOperatorFactory
,UnnestOperator.UnnestOperatorFactory
,ValuesOperator.ValuesOperatorFactory
,WindowOperator.WindowOperatorFactory
,WorkProcessorPipelineSourceOperator.WorkProcessorPipelineSourceOperatorFactory
public interface OperatorFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Operator
createOperator(DriverContext driverContext)
OperatorFactory
duplicate()
void
noMoreOperators()
Declare that createOperator will not be called any more and release any resources associated with this factory.default void
noMoreOperators(Lifespan lifespan)
Declare that createOperator will not be called any more for the specified Lifespan, and release any resources associated with this factory.
-
-
-
Method Detail
-
createOperator
Operator createOperator(DriverContext driverContext)
-
noMoreOperators
void noMoreOperators()
Declare 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.
It is guaranteed that this will only be invoked after
noMoreOperators(Lifespan)
has been invoked for all applicable driver groups.
-
noMoreOperators
default void noMoreOperators(Lifespan lifespan)
Declare that createOperator will not be called any more for the specified Lifespan, and release any resources associated with this factory.This method will be called only once for each Lifespan. Implementation doesn't need to worry about duplicate invocations.
It is guaranteed that this method will be invoked for all applicable driver groups before
noMoreOperators()
is invoked.
-
duplicate
OperatorFactory duplicate()
-
-