
com.groupbyinc.flux.search.aggregations.metrics.stats.extended.InternalExtendedStats.class Maven / Gradle / Ivy
???? 3n Tcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats Ccom/groupbyinc/flux/search/aggregations/metrics/stats/InternalStats Lcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/ExtendedStats InternalExtendedStats.java [com/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats$Fields Fields \com/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats$Metrics Metrics Vcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats$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 Scom/groupbyinc/flux/search/aggregations/metrics/stats/extended/ExtendedStats$Bounds Bounds 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 TYPE BLcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; STREAM CLcom/groupbyinc/flux/search/aggregations/AggregationStreams$Stream; sumOfSqrs D sigma registerStreams ()V , - 3 /com/groupbyinc/flux/common/bytes/BytesReference 5 * + 7 stream 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; 9 :
; registerStream x(Lcom/groupbyinc/flux/search/aggregations/AggregationStreams$Stream;[Lcom/groupbyinc/flux/common/bytes/BytesReference;)V = >
? A 2
B this VLcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats; ?(Ljava/lang/String;JDDDDDLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V (Ljava/lang/String;JDDDLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)V A G
H . / J 0 / L name Ljava/lang/String; count J sum min max formatter GLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; type D()Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type; value (Ljava/lang/String;)D sum_of_squares a java/lang/String c equals (Ljava/lang/Object;)Z e f
d g variance i getVariance ()D k l
m
std_deviation o getStdDeviation q l
r std_upper t UPPER ULcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/ExtendedStats$Bounds; v w x getStdDeviationBound X(Lcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/ExtendedStats$Bounds;)D z {
| std_lower ~ LOWER ? w ? _ `
? getSumOfSquares R / ? P Q ? java/lang/Math ? sqrt (D)D ? ?
? ?
g getAvg ? l
? bound getSumOfSquaresAsString ()Ljava/lang/String; ^Lcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats$Metrics; a ? ? N ?
?
valueAsString &(Ljava/lang/String;)Ljava/lang/String; ? ?
? getVarianceAsString i ? ? getStdDeviationAsString o ? ? getStdDeviationBoundAsString i(Lcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/ExtendedStats$Bounds;)Ljava/lang/String; t ? ? ~ ? ? doReduce ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/metrics/stats/extended/InternalExtendedStats; java/util/List ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? java/lang/IllegalStateException ? BCannot reduce other stats aggregations that have a different sigma ? (Ljava/lang/String;)V A ?
? ? ? l
? ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/metrics/stats/InternalStats; ? ?
? N O ? getCount ()J ? ?
? getSum ? l
? getMin ? l
? getMax ? l
? valueFormatter ? V ? ()Ljava/util/List; W ?
? getMetaData ()Ljava/util/Map; ? ?
? A F
? stats aggregation =Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; aggregations OLjava/util/List;
reduceContext KLcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext; ELcom/groupbyinc/flux/search/aggregations/metrics/stats/InternalStats; readOtherStatsFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? 0com/groupbyinc/flux/common/io/stream/StreamInput ?
readDouble ? l
? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? com/groupbyinc/flux/Version ? V_1_4_3 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z
?@ in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeOtherStatsTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput
writeDouble (D)V
? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; otherStatsToXCotent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; SUM_OF_SQRS ;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;#$
% VARIANCE' (
STD_DEVIATION* + STD_DEVIATION_BOUNDS- . startObject r(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;01
2 v 4 ? 6 endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;89
: SUM_OF_SQRS_AS_STRING< = format (D)Ljava/lang/String;?@ (A ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;#C
D VARIANCE_AS_STRINGF G STD_DEVIATION_AS_STRINGI J ? ?
L STD_DEVIATION_BOUNDS_AS_STRINGN O ? ?
Q builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ? ?
W ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; extended_stats[ estats] '(Ljava/lang/String;Ljava/lang/String;)V A_
`
B Code LineNumberTable LocalVariableTable LocalVariableTypeTable Signature ?(Ljava/lang/String;JDDDDDLcom/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/stats/extended/InternalExtendedStats;
Exceptions
SourceFile InnerClasses ! * + , - . / 0 / 1 2 c 0 ? 4? 6Y? 8?