public class TopNBinaryFn extends Object implements BinaryFn<Result<TopNResultValue>,Result<TopNResultValue>,Result<TopNResultValue>>
Constructor and Description |
---|
TopNBinaryFn(TopNResultMerger merger,
Granularity granularity,
DimensionSpec dimSpec,
TopNMetricSpec topNMetricSpec,
int threshold,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Modifier and Type | Method and Description |
---|---|
Result<TopNResultValue> |
apply(Result<TopNResultValue> arg1,
Result<TopNResultValue> arg2) |
public TopNBinaryFn(TopNResultMerger merger, Granularity granularity, DimensionSpec dimSpec, TopNMetricSpec topNMetricSpec, int threshold, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)
public Result<TopNResultValue> apply(Result<TopNResultValue> arg1, Result<TopNResultValue> arg2)
apply
in interface BinaryFn<Result<TopNResultValue>,Result<TopNResultValue>,Result<TopNResultValue>>
Copyright © 2011–2017. All rights reserved.