public class AggregateTopNMetricFirstAlgorithm extends Object implements TopNAlgorithm<int[],TopNParams>
EMPTY_ARRAY, INIT_POSITION_VALUE, SKIP_POSITION_VALUE| Constructor and Description |
|---|
AggregateTopNMetricFirstAlgorithm(Capabilities capabilities,
TopNQuery query,
NonBlockingPool<ByteBuffer> bufferPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(TopNParams params) |
TopNParams |
makeInitParams(ColumnSelectorPlus selectorPlus,
Cursor cursor) |
void |
run(TopNParams params,
TopNResultBuilder resultBuilder,
int[] ints,
TopNQueryMetrics queryMetrics) |
public AggregateTopNMetricFirstAlgorithm(Capabilities capabilities, TopNQuery query, NonBlockingPool<ByteBuffer> bufferPool)
public TopNParams makeInitParams(ColumnSelectorPlus selectorPlus, Cursor cursor)
makeInitParams in interface TopNAlgorithm<int[],TopNParams>public void run(TopNParams params, TopNResultBuilder resultBuilder, int[] ints, @Nullable TopNQueryMetrics queryMetrics)
run in interface TopNAlgorithm<int[],TopNParams>public void cleanup(TopNParams params)
cleanup in interface TopNAlgorithm<int[],TopNParams>Copyright © 2011–2018. All rights reserved.