
com.groupbyinc.flux.search.aggregations.pipeline.SiblingPipelineAggregator.class Maven / Gradle / Ivy
???? 3 ? Jcom/groupbyinc/flux/search/aggregations/pipeline/SiblingPipelineAggregator Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator SiblingPipelineAggregator.java Icom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext ;com/groupbyinc/flux/search/aggregations/InternalAggregation
ReduceContext Ucom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket Fcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation
InternalBucket Mcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket Fcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation Bucket @com/groupbyinc/flux/search/aggregations/InternalAggregation$Type Type ()V
this LLcom/groupbyinc/flux/search/aggregations/pipeline/SiblingPipelineAggregator; 7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V
name Ljava/lang/String; bucketsPaths [Ljava/lang/String; metaData 5Ljava/util/Map; Ljava/util/Map; reduce ?(Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
getBuckets ()Ljava/util/List; * +
, java/util/ArrayList .
/ java/util/List 1 size ()I 3 4 2 5 get (I)Ljava/lang/Object; 7 8 2 9 getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; ; <
= doReduce ?(Lcom/groupbyinc/flux/search/aggregations/Aggregations;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; ? @
A 4com/groupbyinc/flux/search/aggregations/Aggregations C asList E + D F AGGREGATION_TRANFORM_FUNCTION 8Lcom/groupbyinc/flux/common/google/common/base/Function; H I J /com/groupbyinc/flux/common/util/CollectionUtils L eagerTransform Z(Ljava/util/List;Lcom/groupbyinc/flux/common/google/common/base/Function;)Ljava/util/List; N O
M P (Ljava/util/Collection;)V R
/ S add (Ljava/lang/Object;)Z U V 2 W