Module org.elasticsearch.compute
Class CountDistinctFloatAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.CountDistinctFloatAggregator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, float v) static voidcombine(org.elasticsearch.compute.aggregation.HllStates.SingleState current, float v) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, org.apache.lucene.util.BytesRef inValue) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.HllStates.SingleState current, org.apache.lucene.util.BytesRef inValue) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.HllStates.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.HllStates.SingleState state, DriverContext driverContext) static org.elasticsearch.compute.aggregation.HllStates.GroupingStateinitGrouping(BigArrays bigArrays, int precision) static org.elasticsearch.compute.aggregation.HllStates.SingleStateinitSingle(BigArrays bigArrays, int precision)
-
Constructor Details
-
CountDistinctFloatAggregator
public CountDistinctFloatAggregator()
-
-
Method Details
-
initSingle
public static org.elasticsearch.compute.aggregation.HllStates.SingleState initSingle(BigArrays bigArrays, int precision) -
combine
public static void combine(org.elasticsearch.compute.aggregation.HllStates.SingleState current, float v) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.HllStates.SingleState current, org.apache.lucene.util.BytesRef inValue) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.HllStates.SingleState state, DriverContext driverContext) -
initGrouping
public static org.elasticsearch.compute.aggregation.HllStates.GroupingState initGrouping(BigArrays bigArrays, int precision) -
combine
public static void combine(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, float v) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, org.apache.lucene.util.BytesRef inValue) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.HllStates.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-