com.groupbyinc.flux.search.aggregations.pipeline.SiblingPipelineAggregator.class Maven / Gradle / Ivy
???? 4 ? 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 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup 7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V
this LLcom/groupbyinc/flux/search/aggregations/pipeline/SiblingPipelineAggregator; name Ljava/lang/String; bucketsPaths [Ljava/lang/String; metaData 5Ljava/util/Map; Ljava/util/Map; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ( '
* in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; reduce ?(Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
getBuckets ()Ljava/util/List; 0 1
2 java/util/ArrayList 4 ()V 6
5 7 java/util/List 9 size ()I ; < : = get (I)Ljava/lang/Object; ? @ : A getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; C D
E doReduce ?(Lcom/groupbyinc/flux/search/aggregations/Aggregations;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; G H
I 4com/groupbyinc/flux/search/aggregations/Aggregations K spliterator ()Ljava/util/Spliterator; M N L O java/util/stream/StreamSupport Q stream 3(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream; S T
R U "java/lang/invoke/LambdaMetafactory W metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; Y Z
X [ \ &(Ljava/lang/Object;)Ljava/lang/Object; ^ lambda$reduce$0 t(Lcom/groupbyinc/flux/search/aggregations/Aggregation;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; ` a
b c a apply ()Ljava/util/function/Function; f g h java/util/stream/Stream j map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; l m k n java/util/stream/Collectors p toList ()Ljava/util/stream/Collector; r s
q t collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; v w k x add (Ljava/lang/Object;)Z z { : |