public interface TopNAlgorithm<DimValSelector,Parameters extends TopNParams>
Modifier and Type | Field and Description |
---|---|
static Aggregator[] |
EMPTY_ARRAY |
static int |
INIT_POSITION_VALUE |
static int |
SKIP_POSITION_VALUE |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Parameters params) |
TopNParams |
makeInitParams(DimensionSelector dimSelector,
Cursor cursor) |
void |
run(Parameters params,
TopNResultBuilder resultBuilder,
DimValSelector dimValSelector) |
static final Aggregator[] EMPTY_ARRAY
static final int INIT_POSITION_VALUE
static final int SKIP_POSITION_VALUE
TopNParams makeInitParams(DimensionSelector dimSelector, Cursor cursor)
void run(Parameters params, TopNResultBuilder resultBuilder, DimValSelector dimValSelector)
void cleanup(Parameters params)
Copyright © 2011–2015. All rights reserved.