public class TopNWorkProcessorOperator extends Object implements WorkProcessorOperator
| Constructor and Description |
|---|
TopNWorkProcessorOperator(MemoryTrackingContext memoryTrackingContext,
WorkProcessor<Page> sourcePages,
List<Type> types,
int n,
List<Integer> sortChannels,
List<SortOrder> sortOrders) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
WorkProcessor<Page> |
getOutputPages() |
public TopNWorkProcessorOperator(MemoryTrackingContext memoryTrackingContext, WorkProcessor<Page> sourcePages, List<Type> types, int n, List<Integer> sortChannels, List<SortOrder> sortOrders)
public WorkProcessor<Page> getOutputPages()
getOutputPages in interface WorkProcessorOperatorpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2012–2019. All rights reserved.