Class HeapBasedTopNAlgorithm

All Implemented Interfaces:
TopNAlgorithm<Aggregator[][],TopNParams>

public class HeapBasedTopNAlgorithm extends BaseTopNAlgorithm<Aggregator[][],TopNColumnAggregatesProcessor,TopNParams>
Heap based topn algorithm that handles aggregates on dimension extractions and numeric typed dimension columns. This has to be its own strategy because the pooled topn algorithm assumes each index is unique, and cannot handle multiple index numerals referencing the same dimension value.