public class AlphaNumericTopNMetricSpec extends LexicographicTopNMetricSpec
Modifier and Type | Field and Description |
---|---|
protected static Comparator<String> |
comparator |
Constructor and Description |
---|
AlphaNumericTopNMetricSpec(String previousStop) |
Modifier and Type | Method and Description |
---|---|
<T> TopNMetricSpecBuilder<T> |
configureOptimizer(TopNMetricSpecBuilder<T> builder) |
byte[] |
getCacheKey() |
Comparator |
getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
String |
toString() |
canBeOptimizedUnordered, equals, getMetricName, getPreviousStop, getResultBuilder, hashCode, initTopNAlgorithmSelector, verifyPreconditions
protected static Comparator<String> comparator
public AlphaNumericTopNMetricSpec(String previousStop)
public Comparator getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)
getComparator
in interface TopNMetricSpec
getComparator
in class LexicographicTopNMetricSpec
public byte[] getCacheKey()
getCacheKey
in interface TopNMetricSpec
getCacheKey
in class LexicographicTopNMetricSpec
public <T> TopNMetricSpecBuilder<T> configureOptimizer(TopNMetricSpecBuilder<T> builder)
configureOptimizer
in interface TopNMetricSpec
configureOptimizer
in class LexicographicTopNMetricSpec
public String toString()
toString
in class LexicographicTopNMetricSpec
Copyright © 2011–2015. All rights reserved.