
com.groupbyinc.flux.search.aggregations.metrics.avg.InternalAvg.class Maven / Gradle / Ivy
???? 3 ? ?com/groupbyinc/flux/search/aggregations/metrics/avg/InternalAvg ]com/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation$SingleValue 7com/groupbyinc/flux/search/aggregations/metrics/avg/Avg InternalAvg.java Acom/groupbyinc/flux/search/aggregations/metrics/avg/InternalAvg$1 @com/groupbyinc/flux/search/aggregations/InternalAggregation$Type
;com/groupbyinc/flux/search/aggregations/InternalAggregation Type Acom/groupbyinc/flux/search/aggregations/AggregationStreams$Stream :com/groupbyinc/flux/search/aggregations/AggregationStreams Stream Icom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext
ReduceContext 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params Icom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter$Raw Ecom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter Raw Qcom/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation ! SingleValue Hcom/groupbyinc/flux/search/aggregations/InternalAggregation$CommonFields $ CommonFields TYPE BLcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; STREAM CLcom/groupbyinc/flux/search/aggregations/AggregationStreams$Stream; sum D count J registerStreams ()V ) * 1 /com/groupbyinc/flux/common/bytes/BytesReference 3 ' ( 5 stream 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; 7 8
9 registerStream x(Lcom/groupbyinc/flux/search/aggregations/AggregationStreams$Stream;[Lcom/groupbyinc/flux/common/bytes/BytesReference;)V ; <
= ? 0
@ this ALcom/groupbyinc/flux/search/aggregations/metrics/avg/InternalAvg; }(Ljava/lang/String;DJLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V 4(Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)V ? E
F + , H - . J valueFormatter GLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; L M N name Ljava/lang/String; formatter pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; value ()D getValue [ Z
\ type D()Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; doReduce ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/metrics/avg/InternalAvg; java/util/List b iterator ()Ljava/util/Iterator; d e c f java/util/Iterator h hasNext ()Z j k i l next ()Ljava/lang/Object; n o i p getName ()Ljava/lang/String; r s
t ()Ljava/util/List; S v
w getMetaData ()Ljava/util/Map; y z
{ ? D
} aggregation =Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; aggregations OLjava/util/List;
reduceContext KLcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;
doReadFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatterStreams ? readOptional {(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; ? ?
? ? 0com/groupbyinc/flux/common/io/stream/StreamInput ?
readDouble ? Z
? ? readVLong ()J ? ?
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V
writeOptional }(Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeDouble (D)V ? ?
? ?
writeVLong (J)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; doXContentBody ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; VALUE ;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString; ? ? % ? java/lang/Double ? valueOf (D)Ljava/lang/Double; ? ?
? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? 9com/groupbyinc/flux/common/xcontent/XContentBuilderString ? field ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/Double;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? VALUE_AS_STRING ? ? % ? format (D)Ljava/lang/String; ? ? ? ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; ` a
? avg ? (Ljava/lang/String;)V ? ?
?
@ Code LineNumberTable LocalVariableTable LocalVariableTypeTable Signature ?(Ljava/lang/String;DJLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V
StackMapTable ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/metrics/avg/InternalAvg;
Exceptions
SourceFile InnerClasses ! ' ( ) * + , - . / 0 ? 0 ? 2? 4Y? 6? :S? >? ?
4 5 ? 0 ? / *? A? ? B C ? : ? D ? ? *+? G*(? I*? K*? O? ? H B C P Q + , - . R M S U V X ? S T V W ? > ? @ A B ? ? Y Z ? / *? ]? ? B C ? F [ Z ? 5 *? I*? K?o? ? B C ? K ^ _ ? . ? 6? ? B C ? P ` a ? ?
Y B9+? g :? m ? *? q ?
:!? ? KaB? ? Ic9??һ Y*? u!*? O*? x*? |? ~? ? > # ? Y B C Y ? U Y ? ? W - . T + , ? Y ? ? ? U V W # X . Y ; Z > [ ?
?
i? 0 ? ? ? ? ? Y *+? ?? O*+? ?? I*+? ?? K? ? B C ? ? ? ` a b c ? ? ? ? ? Y *? O+? ?+*? I? ?+*? K? ?? ? B C ? ? ? g h i j ? ? ? ? ? ? F+? ?*? K ??
*? ]? ?? ? ?W*? K ?? "*? O? ? +? ?*? O*? ]? ? ? ?W+? ? F B C F ? ? F ? ? ? n o / p D r ? 2 ? ? ? ?? ? ? ? ?+ ? ?A ` ? ? 1 *+,? а ? B C ? &