public interface TopNMetricSpec
Modifier and Type | Method and Description |
---|---|
boolean |
canBeOptimizedUnordered() |
<T> TopNMetricSpecBuilder<T> |
configureOptimizer(TopNMetricSpecBuilder<T> builder) |
byte[] |
getCacheKey() |
Comparator |
getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
String |
getMetricName(DimensionSpec dimSpec) |
TopNResultBuilder |
getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
void |
initTopNAlgorithmSelector(TopNAlgorithmSelector selector) |
void |
verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
void verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)
Comparator getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)
TopNResultBuilder getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)
byte[] getCacheKey()
<T> TopNMetricSpecBuilder<T> configureOptimizer(TopNMetricSpecBuilder<T> builder)
void initTopNAlgorithmSelector(TopNAlgorithmSelector selector)
String getMetricName(DimensionSpec dimSpec)
boolean canBeOptimizedUnordered()
Copyright © 2011–2015. All rights reserved.