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,
StupidPool<ByteBuffer> bufferPool) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(TopNParams params) |
TopNParams |
makeInitParams(DimensionSelector dimSelector,
Cursor cursor) |
void |
run(TopNParams params,
TopNResultBuilder resultBuilder,
int[] ints) |
public AggregateTopNMetricFirstAlgorithm(Capabilities capabilities, TopNQuery query, StupidPool<ByteBuffer> bufferPool)
public TopNParams makeInitParams(DimensionSelector dimSelector, Cursor cursor)
makeInitParams
in interface TopNAlgorithm<int[],TopNParams>
public void run(TopNParams params, TopNResultBuilder resultBuilder, int[] ints)
run
in interface TopNAlgorithm<int[],TopNParams>
public void cleanup(TopNParams params)
cleanup
in interface TopNAlgorithm<int[],TopNParams>
Copyright © 2011–2015. All rights reserved.