
com.groupbyinc.flux.search.aggregations.bucket.BucketsAggregator.class Maven / Gradle / Ivy
???? 3 ? @com/groupbyinc/flux/search/aggregations/bucket/BucketsAggregator 6com/groupbyinc/flux/search/aggregations/AggregatorBase BucketsAggregator.java bigArrays +Lcom/groupbyinc/flux/common/util/BigArrays; docCounts *Lcom/groupbyinc/flux/common/util/IntArray; ?(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories;Lcom/groupbyinc/flux/search/aggregations/support/AggregationContext;Lcom/groupbyinc/flux/search/aggregations/Aggregator;Ljava/util/List;Ljava/util/Map;)V java/io/IOException
Bcom/groupbyinc/flux/search/aggregations/support/AggregationContext -()Lcom/groupbyinc/flux/common/util/BigArrays;
)com/groupbyinc/flux/common/util/BigArrays newIntArray .(JZ)Lcom/groupbyinc/flux/common/util/IntArray;
this BLcom/groupbyinc/flux/search/aggregations/bucket/BucketsAggregator; name Ljava/lang/String; factories =Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories; context DLcom/groupbyinc/flux/search/aggregations/support/AggregationContext; parent 4Lcom/groupbyinc/flux/search/aggregations/Aggregator; pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; maxBucketOrd ()J (com/groupbyinc/flux/common/util/IntArray 1 size 3 0 2 4 grow (J)V W(Lcom/groupbyinc/flux/common/util/IntArray;J)Lcom/groupbyinc/flux/common/util/IntArray; 6 8
9 J
collectBucket B(Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;IJ)V 6 7
> collectExistingBucket @ =
A subCollector =Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; doc I bucketOrd increment (JI)I H I 2 J ;com/groupbyinc/flux/search/aggregations/LeafBucketCollector L collect (IJ)V N O
M P getDocCounts ,()Lcom/groupbyinc/flux/common/util/IntArray; incrementBucketDocCount (JI)V inc bucketDocCount (J)I get Y X 2 Z bucketAggregations A(J)Lcom/groupbyinc/flux/search/aggregations/InternalAggregations; subAggregators 5[Lcom/groupbyinc/flux/search/aggregations/Aggregator; ^ _ ` ;com/groupbyinc/flux/search/aggregations/InternalAggregation b >[Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; d 2com/groupbyinc/flux/search/aggregations/Aggregator f buildAggregation @(J)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; h i
g j