
com.groupbyinc.flux.search.aggregations.metrics.percentiles.hdr.AbstractInternalHDRPercentiles.class Maven / Gradle / Ivy
???? 3O ^com/groupbyinc/flux/search/aggregations/metrics/percentiles/hdr/AbstractInternalHDRPercentiles \com/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation$MultiValue #AbstractInternalHDRPercentiles.java Icom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext ;com/groupbyinc/flux/search/aggregations/InternalAggregation
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
MultiValue Hcom/groupbyinc/flux/search/aggregations/InternalAggregation$CommonFields CommonFields keys [D state 9Lcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram; keyed Z ()V ! "
# this `Lcom/groupbyinc/flux/search/aggregations/metrics/percentiles/hdr/AbstractInternalHDRPercentiles; ?(Ljava/lang/String;[DLcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram;ZLcom/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 ! (
) + - / valueFormatter GLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; 1 2 3 name Ljava/lang/String; formatter pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; value (Ljava/lang/String;)D java/lang/Double @ parseDouble B ?
A C (D)D > E
F getEstimatedMemoryFootprint ()J 7com/groupbyinc/flux/common/HdrHistogram/DoubleHistogram J getEstimatedFootprintInBytes ()I L M
K N doReduce ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/metrics/percentiles/hdr/AbstractInternalHDRPercentiles; java/util/List R iterator ()Ljava/util/Iterator; T U S V java/util/Iterator X hasNext ()Z Z [ Y \ next ()Ljava/lang/Object; ^ _ Y ` <(Lcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram;)V ! b
K c
setAutoResize (Z)V e f
K g add i b
K j getName ()Ljava/lang/String; l m
n ()Ljava/util/List; 8 p
q getMetaData ()Ljava/util/Map; s t
u
createReduced ?(Ljava/lang/String;[DLcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram;ZLjava/util/List;Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/metrics/percentiles/hdr/AbstractInternalHDRPercentiles; w x
y percentiles aggregation =Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; aggregations OLjava/util/List;
reduceContext KLcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext; merged
doReadFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? !java/util/zip/DataFormatException ? 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 ? readInt ? M
? ?
readDouble ()D ? ?
? ? readLong ? I
? ? readVInt ? M
? ? readBytes ([BII)V ? ?
? ? java/nio/ByteBuffer ? wrap ([B)Ljava/nio/ByteBuffer; ? ?
? ? decodeFromCompressedByteBuffer Q(Ljava/nio/ByteBuffer;J)Lcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram; ? ?
K ? [B ? java/lang/StringBuilder ?
? # 2Failed to decode DoubleHistogram for aggregation [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? 5 6 ? ] ? toString ? m
? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ! ?
? ? readBoolean ? [
? ? i I e #Ljava/util/zip/DataFormatException; in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; "minBarForHighestToLowestValueRatio J
serializedLen bytes stateBuffer Ljava/nio/ByteBuffer; 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 ? writeInt (I)V ? ?
? ? writeDouble (D)V ? ?
? ? getHighestToLowestValueRatio ? I
K ? writeLong (J)V ? ?
? ? getNeededByteBufferCapacity ? M
K ? allocate (I)Ljava/nio/ByteBuffer; ? ?
? ? encodeIntoCompressedByteBuffer (Ljava/nio/ByteBuffer;)I ? ?
K ? writeVInt ? ?
? ? array ()[B ? ?
? ?
writeBytes ? ?
? ? writeBoolean ? f
? ? 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; VALUES ;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString; 3com/groupbyinc/flux/common/xcontent/XContentBuilder startObject r(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
java/lang/String
valueOf (D)Ljava/lang/String;
field J(Ljava/lang/String;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
_as_string format [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
!
startArray#
$
& KEY( ) s(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;+
, VALUE. / VALUE_AS_STRING1 2 ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;4
5 endArray7
8 key D 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; P Q
A Code LocalVariableTable LineNumberTable LocalVariableTypeTable Signature$(Ljava/lang/String;[DLcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram;ZLcom/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/percentiles/hdr/AbstractInternalHDRPercentiles;<(Ljava/lang/String;[DLcom/groupbyinc/flux/common/HdrHistogram/DoubleHistogram;ZLjava/util/List;Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/metrics/percentiles/hdr/AbstractInternalHDRPercentiles;
Exceptions
SourceFile InnerClasses ! " C / *? $? D % &