
com.groupbyinc.flux.search.aggregations.pipeline.cumulativesum.CumulativeSumPipelineAggregator.class Maven / Gradle / Ivy
???? 3 ? ^com/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregator Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator $CumulativeSumPipelineAggregator.java fcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregator$Factory Factory `com/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregator$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 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 Hcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy >com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers ! GapPolicy 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; registerStreams ()V * + 0 /com/groupbyinc/flux/common/bytes/BytesReference 2 ( ) 4 stream 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; 6 7
8 registerStream ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream;[Lcom/groupbyinc/flux/common/bytes/BytesReference;)V : ;
< > /
? this `Lcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregator; ~(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/Map;)V 7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V > D
E , - G name Ljava/lang/String; bucketsPaths [Ljava/lang/String; 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; T U
V
getFactory V()Lcom/groupbyinc/flux/search/aggregations/bucket/histogram/InternalHistogram$Factory; X Y
Z java/util/ArrayList \
] ? java/util/List _ iterator ()Ljava/util/Iterator; a b ` c java/util/Iterator e hasNext ()Z g h f i next ()Ljava/lang/Object; k l f m ()[Ljava/lang/String; K o
p INSERT_ZEROS JLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy; r s t 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; v w
" x java/lang/Double z doubleValue ()D | }
{ ~ getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; ? ?
? 4com/groupbyinc/flux/search/aggregations/Aggregations ? asList ? U ? ? 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 > ?
] ? Dcom/groupbyinc/flux/search/aggregations/pipeline/InternalSimpleValue ? ()Ljava/lang/String; I ?
? metaData ()Ljava/util/Map; ? ?
? |(Ljava/lang/String;DLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V > ?
? ? add (Ljava/lang/Object;)Z ? ? ` ? getKey ? l
? getDocCount ()J ? ?
?