Package io.trino.operator
Interface WorkProcessorOperator
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
WorkProcessorOperatorAdapter.AdapterWorkProcessorOperator,WorkProcessorSourceOperator
- All Known Implementing Classes:
AssignUniqueIdOperator,BasicWorkProcessorOperatorAdapter,FilterAndProjectOperator,HashSemiJoinOperator,LookupJoinOperator,ScanFilterAndProjectOperator,StreamingAggregationOperator,TableScanWorkProcessorOperator,TopNOperator
public interface WorkProcessorOperator extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()default MetricsgetMetrics()default Optional<OperatorInfo>getOperatorInfo()ReturnsOperatorInfo.WorkProcessor<Page>getOutputPages()
-
-
-
Method Detail
-
getOutputPages
WorkProcessor<Page> getOutputPages()
-
getOperatorInfo
default Optional<OperatorInfo> getOperatorInfo()
ReturnsOperatorInfo. This method must be thread safe. This method might be called after operator is closed to obtain finalOperatorInfo.
-
getMetrics
default Metrics getMetrics()
-
close
default void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-