
com.groupbyinc.flux.search.aggregations.pipeline.bucketmetrics.BucketMetricsParser.class Maven / Gradle / Ivy
???? 3 ? Rcom/groupbyinc/flux/search/aggregations/pipeline/bucketmetrics/BucketMetricsParser java/lang/Object Jcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator$Parser BucketMetricsParser.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser
Token Hcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy
>com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers GapPolicy Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator Parser Icom/groupbyinc/flux/search/aggregations/support/format/ValueFormat$Number Bcom/groupbyinc/flux/search/aggregations/support/format/ValueFormat Number FORMAT 'Lcom/groupbyinc/flux/common/ParseField; $assertionsDisabled Z ()V
this TLcom/groupbyinc/flux/search/aggregations/pipeline/bucketmetrics/BucketMetricsParser; parse ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/search/internal/SearchContext;)Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorFactory; java/io/IOException & java/text/ParseException ( SKIP JLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy; * + , java/util/HashMap . (I)V 0
/ 1 java/lang/String 3 1com/groupbyinc/flux/search/internal/SearchContext 5 [Ljava/lang/String; 7
java/util/Map 9 nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ; < =
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? @ A
FIELD_NAME C @ D currentName ()Ljava/lang/String; F G H VALUE_STRING J @ K parseFieldMatcher 0()Lcom/groupbyinc/flux/common/ParseFieldMatcher; M N
6 O Q ,com/groupbyinc/flux/common/ParseFieldMatcher S match <(Ljava/lang/String;Lcom/groupbyinc/flux/common/ParseField;)Z U V
T W text Y G Z BUCKETS_PATH \ ]
GAP_POLICY _ ` getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; b c d ?(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;)Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy; $ f
g put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; i j : k START_ARRAY m @ n java/util/ArrayList p
q java/util/List s END_ARRAY u @ v add (Ljava/lang/Object;)Z x y t z size ()I | } t ~ toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? t ? list ()Ljava/util/List; ? ? ?
objectText ()Ljava/lang/Object; ? ? ? /com/groupbyinc/flux/search/SearchParseException ? java/lang/StringBuilder ?
? Missing required field [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? %com/groupbyinc/flux/common/ParseField ? getPreferredName ? G
? ? ] for aggregation [ ? ] ? toString ? G
? ? ~(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;)V ?
? ? format _(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormat$Number; ? ?
? formatter I()Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; ? ?
? Ecom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter ? RAW GLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter; ? ? ? ? buildFactory(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorFactory; ? ?
? Jcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorFactory ? *Could not parse settings for aggregation [ ? ]. ? ?(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/Throwable;)V ?
? ? : ~ Unexpected tokens ? keySet ()Ljava/util/Set; ? ? : ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? in [ ? ? java/lang/AssertionError ?
? path Ljava/lang/String; paths $Ljava/util/List; Ljava/util/List; exception Ljava/text/ParseException; pipelineAggregatorName parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; context 3Lcom/groupbyinc/flux/search/internal/SearchContext; token currentFieldName bucketsPaths gapPolicy leftover 5Ljava/util/Map; Ljava/util/Map; factory LLcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorFactory; java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? ? ((Ljava/lang/String;[Ljava/lang/String;)V ?
? ? Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature9(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorFactory;
SourceFile InnerClasses! ? 3 *? !? ? " # ?
0 1 $ % ?
:::? -:? /Y? 2:,? > Y: ? B? ? E? ,? I :??? ? L? u-? P? R? X? ,? [ :???-? P? ^? X? ? 4Y,? [ S:???-? P? a? X? -,? [ ,? e ? h:??z,? [ ? l W??g ? o? k-? P? ^? X? I? qY? r:
,? > Y: ? w? ,? [ :
? { W???
? ? 4? ? ? 8:??
,? ? ? l W???,? ? ? l W???? 8? ?Y-? ?Y? ??? ?? ^? ?? ??? ?+? ??? ?? ?,? e ? ??:
? ? ?? ?:
? ? ?:
:*+
? ?:? ):? ?Y-? ?Y? ??? ?+? ??? ?? ?? ??? ? ? 4? ?Y-? ?Y? ?ö ?? ? ? ?̶ ?+? ??? ?? ?? ??? Κ ? ? ?Y? ѿ? ??? ) ? ? ?
? ? ? : ? ?
? $ ? ? " # ? ? ? ? ? ? !? ? @ ? ? ? 7 ? ? ? + ? ? ? t ? ? ?
? ? ? ? ? ? : ? ?
? ? ? ? ? + 6 7 8 9 : <