protected abstract static class BaseTopNAlgorithm.BaseArrayProvider<T> extends Object implements TopNMetricSpecBuilder<T>
Constructor and Description |
---|
BaseTopNAlgorithm.BaseArrayProvider(DimensionSelector dimSelector,
TopNQuery query,
Capabilities capabilities) |
Modifier and Type | Method and Description |
---|---|
protected com.metamx.common.Pair<Integer,Integer> |
computeStartEnd(int cardinality) |
void |
ignoreAfterThreshold() |
void |
ignoreFirstN(int n) |
void |
keepOnlyN(int n) |
void |
skipTo(String previousStop) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public BaseTopNAlgorithm.BaseArrayProvider(DimensionSelector dimSelector, TopNQuery query, Capabilities capabilities)
public void skipTo(String previousStop)
skipTo
in interface TopNMetricSpecBuilder<T>
public void ignoreAfterThreshold()
ignoreAfterThreshold
in interface TopNMetricSpecBuilder<T>
public void ignoreFirstN(int n)
ignoreFirstN
in interface TopNMetricSpecBuilder<T>
public void keepOnlyN(int n)
keepOnlyN
in interface TopNMetricSpecBuilder<T>
Copyright © 2011–2015. All rights reserved.