Package org.apache.druid.query.topn
Class TopNBinaryFn
java.lang.Object
org.apache.druid.query.topn.TopNBinaryFn
- All Implemented Interfaces:
BiFunction<Result<TopNResultValue>,,Result<TopNResultValue>, Result<TopNResultValue>> BinaryOperator<Result<TopNResultValue>>
-
Constructor Summary
ConstructorsConstructorDescriptionTopNBinaryFn(Granularity granularity, DimensionSpec dimSpec, TopNMetricSpec topNMetricSpec, int threshold, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs) -
Method Summary
Modifier and TypeMethodDescriptionapply(Result<TopNResultValue> arg1, Result<TopNResultValue> arg2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
TopNBinaryFn
public TopNBinaryFn(Granularity granularity, DimensionSpec dimSpec, TopNMetricSpec topNMetricSpec, int threshold, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<Result<TopNResultValue>,Result<TopNResultValue>, Result<TopNResultValue>>
-