com.groupbyinc.flux.search.aggregations.pipeline.serialdiff.SerialDiffPipelineAggregator.class Maven / Gradle / Ivy
???? 4$ Xcom/groupbyinc/flux/search/aggregations/pipeline/serialdiff/SerialDiffPipelineAggregator Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator !SerialDiffPipelineAggregator.java Hcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy >com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers GapPolicy Icom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext ;com/groupbyinc/flux/search/aggregations/InternalAggregation
ReduceContext Mcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket Fcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation Bucket Ucom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket Fcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation InternalBucket %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup formatter +Lcom/groupbyinc/flux/search/DocValueFormat; gapPolicy JLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy; lag I ?(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/DocValueFormat;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;ILjava/util/Map;)V %Lcom/groupbyinc/flux/common/Nullable; 7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V % (
) + ! " - # $ / this ZLcom/groupbyinc/flux/search/aggregations/pipeline/serialdiff/SerialDiffPipelineAggregator; 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 ; % :
= )com/groupbyinc/flux/search/DocValueFormat ? 0com/groupbyinc/flux/common/io/stream/StreamInput A readNamedWriteable H(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable; C D
B E readFrom ~(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy; G H
I readVInt ()I K L
B M in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput S writeNamedWriteable 8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V U V
T W writeTo Y R
Z writeVInt (I)V \ ]
T ^ out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getWriteableName ()Ljava/lang/String; serial_diff d reduce ?(Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
getBuckets ()Ljava/util/List; h i
j Icom/groupbyinc/flux/search/aggregations/bucket/histogram/HistogramFactory l java/util/ArrayList n ()V % p
o q 0com/groupbyinc/flux/common/collect/EvictingQueue s % ]
t u java/util/List w iterator ()Ljava/util/Iterator; y z x { java/util/Iterator } hasNext ()Z ? ~ ? next ()Ljava/lang/Object; ? ? ~ ? ()[Ljava/lang/String; 5 ?
? resolveBucketValue(Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket;Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;)Ljava/lang/Double; ? ?
?? java/lang/Double ? valueOf (D)Ljava/lang/Double; ? ?
? ? peek ? ?
t ? doubleValue ()D ? ?
? ? isNaN (D)Z ? ?
? ? getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; ? ?
? 4com/groupbyinc/flux/search/aggregations/Aggregations ? spliterator ()Ljava/util/Spliterator; ? ?
? ? java/util/stream/StreamSupport ? stream 3(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream; ? ?
? ? "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ? &(Ljava/lang/Object;)Ljava/lang/Object; ? lambda$reduce$0 t(Lcom/groupbyinc/flux/search/aggregations/Aggregation;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? java/util/stream/Stream ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? ? ? java/util/stream/Collectors ? toList ()Ljava/util/stream/Collector; ? ?
? ? collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; ? ? ? ? Dcom/groupbyinc/flux/search/aggregations/pipeline/InternalSimpleValue ? 3 c
? metaData ()Ljava/util/Map; ? ?
? `(Ljava/lang/String;DLcom/groupbyinc/flux/search/DocValueFormat;Ljava/util/List;Ljava/util/Map;)V % ?
? ? add (Ljava/lang/Object;)Z ? ? x ? getKey c(Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket;)Ljava/lang/Number; ? ? m ? getDocCount ()J ? ?
?