Module org.elasticsearch.compute
Class CountDistinctIntAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.CountDistinctIntAggregator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, int v) static voidcombine(org.elasticsearch.compute.aggregation.HllStates.SingleState current, int 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 voidcombineStates(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int currentGroupId, org.elasticsearch.compute.aggregation.HllStates.GroupingState state, int statePosition) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.HllStates.GroupingState state, IntVector selected, DriverContext driverContext) 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
-
CountDistinctIntAggregator
public CountDistinctIntAggregator()
-
-
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, int 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, int v) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int groupId, org.apache.lucene.util.BytesRef inValue) -
combineStates
public static void combineStates(org.elasticsearch.compute.aggregation.HllStates.GroupingState current, int currentGroupId, org.elasticsearch.compute.aggregation.HllStates.GroupingState state, int statePosition) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.HllStates.GroupingState state, IntVector selected, DriverContext driverContext)
-