
com.groupbyinc.flux.search.aggregations.pipeline.derivative.DerivativePipelineAggregator.class Maven / Gradle / Ivy
???? 3X Xcom/groupbyinc/flux/search/aggregations/pipeline/derivative/DerivativePipelineAggregator Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator !DerivativePipelineAggregator.java `com/groupbyinc/flux/search/aggregations/pipeline/derivative/DerivativePipelineAggregator$Factory Factory Zcom/groupbyinc/flux/search/aggregations/pipeline/derivative/DerivativePipelineAggregator$1 @com/groupbyinc/flux/search/aggregations/InternalAggregation$Type ;com/groupbyinc/flux/search/aggregations/InternalAggregation
Type Qcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream Jcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams Stream Hcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy >com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers GapPolicy Icom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext
ReduceContext Qcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram$Bucket Jcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram Bucket Rcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram$Factory " Mcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket $ Fcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation & TYPE BLcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; STREAM SLcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream; formatter GLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; gapPolicy JLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;
xAxisUnits Ljava/lang/Double; registerStreams ()V * + 4 /com/groupbyinc/flux/common/bytes/BytesReference 6 ( ) 8 stream 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; : ;
< registerStream ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream;[Lcom/groupbyinc/flux/common/bytes/BytesReference;)V > ?
@ B 3
C this ZLcom/groupbyinc/flux/search/aggregations/pipeline/derivative/DerivativePipelineAggregator; ?(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Ljava/lang/Long;Ljava/util/Map;)V 7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V B H
I , - K . / M java/lang/String O [Ljava/lang/String; Q Ecom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter S java/lang/Long U
java/util/Map W longValue ()J Y Z
V [ java/lang/Double ] valueOf (D)Ljava/lang/Double; _ `
^ a 0 1 c name Ljava/lang/String; bucketsPaths Ljava/lang/Long; metadata 5Ljava/util/Map; Ljava/util/Map; type D()Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; reduce ?(Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
getBuckets ()Ljava/util/List; p q
r
getFactory V()Lcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram$Factory; t u
v java/util/ArrayList x
y C java/util/List { iterator ()Ljava/util/Iterator; } ~ | java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? resolveBucketKeyAsLong e(Lcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram$Bucket;)Ljava/lang/Long; ? ?
? ()[Ljava/lang/String; g ?
? resolveBucketValue(Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket;Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;)Ljava/lang/Double; ? ?
? doubleValue ()D ? ?
^ ??? getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; ? ?
? 4com/groupbyinc/flux/search/aggregations/Aggregations ? asList ? q ? ? AGGREGATION_TRANFORM_FUNCTION 8Lcom/groupbyinc/flux/common/google/common/base/Function; ? ? ? /com/groupbyinc/flux/common/util/CollectionUtils ? eagerTransform Z(Ljava/util/List;Lcom/groupbyinc/flux/common/google/common/base/Function;)Ljava/util/List; ? ?
? ? (Ljava/util/Collection;)V B ?
y ? Ncom/groupbyinc/flux/search/aggregations/pipeline/derivative/InternalDerivative ? ()Ljava/lang/String; e ?
? metaData ()Ljava/util/Map; ? ?
? }(Ljava/lang/String;DDLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V B ?
? ? add (Ljava/lang/Object;)Z ? ? | ? getKey ? ?
? getDocCount ? Z
?