
com.groupbyinc.flux.search.aggregations.support.AggregationPath.class Maven / Gradle / Ivy
???? 3W ?com/groupbyinc/flux/search/aggregations/support/AggregationPath java/lang/Object AggregationPath.java Kcom/groupbyinc/flux/search/aggregations/support/AggregationPath$PathElement PathElement ]com/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation$SingleValue Qcom/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation SingleValue \com/groupbyinc/flux/search/aggregations/metrics/InternalNumericMetricsAggregation$MultiValue
MultiValue Tcom/groupbyinc/flux/search/aggregations/metrics/NumericMetricsAggregator$SingleValue Hcom/groupbyinc/flux/search/aggregations/metrics/NumericMetricsAggregator Scom/groupbyinc/flux/search/aggregations/metrics/NumericMetricsAggregator$MultiValue AGG_DELIM Ljava/lang/String; > pathElements Ljava/util/List; _Ljava/util/List; $assertionsDisabled Z parse U(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/support/AggregationPath; "com/groupbyinc/flux/common/Strings " tokenizeToStringArray 9(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; $ %
# & java/util/ArrayList ( (I)V * +
) , java/lang/String . [Ljava/lang/String; 0 java/util/List 2 lastIndexOf (I)I 4 5
/ 6 length ()I 8 9
/ : Ecom/groupbyinc/flux/search/aggregations/AggregationExecutionException < java/lang/StringBuilder > ()V * @
? A Invalid path element [ C append -(Ljava/lang/String;)Ljava/lang/StringBuilder; E F
? G ] in path [ I ] K toString ()Ljava/lang/String; M N
? O (Ljava/lang/String;)V * Q
= R charAt (I)C T U
/ V substring (II)Ljava/lang/String; X Y
/ Z 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V * \
] add (Ljava/lang/Object;)Z _ ` 3 a split ;(Ljava/lang/String;I[Ljava/lang/String;)[Ljava/lang/String; c d
e (Ljava/util/List;)V * g
h index I element i path elements tokens tuple
A s size u 9 3 v "java/lang/IllegalArgumentException x Invalid path [ z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; E |
? }
y R this ALcom/groupbyinc/flux/search/aggregations/support/AggregationPath; toArray ()[Ljava/lang/Object; ? ? 3 ? arrayToDelimitedString 9([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; ? ?
# ? lastPathElement O()Lcom/groupbyinc/flux/search/aggregations/support/AggregationPath$PathElement; get (I)Ljava/lang/Object; ? ? 3 ? getPathElements ()Ljava/util/List; getPathElementsAsStringList
) A iterator ()Ljava/util/Iterator; ? ? 3 ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? name ? ? key ? ? pathElement MLcom/groupbyinc/flux/search/aggregations/support/AggregationPath$PathElement; stringPathElements $Ljava/util/List; subPath E(II)Lcom/groupbyinc/flux/search/aggregations/support/AggregationPath; subList (II)Ljava/util/List; ? ? 3 ? (Ljava/util/Collection;)V * ?
) ? offset subTokens resolveValue <(Lcom/groupbyinc/flux/search/aggregations/HasAggregations;)D? 7com/groupbyinc/flux/search/aggregations/HasAggregations ? getAggregations 8()Lcom/groupbyinc/flux/search/aggregations/Aggregations; ? ? ? ? 4com/groupbyinc/flux/search/aggregations/Aggregations ? I(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/Aggregation; ? ? ? ? Invalid order path [ ? "]. Cannot find aggregation named [ ? 3com/groupbyinc/flux/search/aggregations/Aggregation ? Fcom/groupbyinc/flux/search/aggregations/bucket/SingleBucketAggregation ? doc_count ? equals ? `
/ ? ]. Unknown value key [ ? !] for single-bucket aggregation [ ? =]. Either use [doc_count] as key or drop the key all together ? getDocCount ()J ? ? ? ? :]. Metrics aggregations cannot have sub-aggregations (at [ ? value ? '] for single-value metric aggregation [ ? 9]. Either use [value] as key or drop the key all together ? ()D ? ?
? ]. Missing value key in [ ? 2] which refers to a multi-value metric aggregation ? (Ljava/lang/String;)D ? ?
? token agg 5Lcom/groupbyinc/flux/search/aggregations/Aggregation; root 9Lcom/groupbyinc/flux/search/aggregations/HasAggregations; parent D resolveAggregator j(Lcom/groupbyinc/flux/search/aggregations/Aggregator;)Lcom/groupbyinc/flux/search/aggregations/Aggregator; 2com/groupbyinc/flux/search/aggregations/Aggregator ?
subAggregator H(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/Aggregator; ? ?
? ? ? Ecom/groupbyinc/flux/search/aggregations/bucket/SingleBucketAggregator java/lang/AssertionError Cthis should be picked up before aggregation execution - on validate (Ljava/lang/Object;)V *
4Lcom/groupbyinc/flux/search/aggregations/Aggregator;
aggregator resolveTopmostAggregator validate 7(Lcom/groupbyinc/flux/search/aggregations/Aggregator;)V $Invalid term-aggregator order path [ ]. Unknown aggregation [ &Invalid terms aggregation order path [ =]. Terms buckets can only be sorted on a sub-aggregator path Ythat is built out of zero or more single-bucket aggregations within the path and a final Bsingle-bucket or a metrics aggregation at the path end. Sub-path [ ? ?
)] points to non single-bucket aggregation Sthat is built out of zero or more single-bucket aggregations within the path and a Hfinal single-bucket or a metrics aggregation at the path end. Sub-path [ 7single-bucket or a metrics aggregation at the path end." ? ?
$ N]. Ordering on a single-bucket aggregation can only be done on its doc_count. & Either drop the key (a la "( &") or change it to "doc_count" (a la "* .doc_count"), Q]. Ordering on a single-value metrics aggregation can only be done on its value. . "") or change it to "value" (a la "0 .value")2 U]. When ordering on a multi-value metrics aggregation a metric name must be specified4 hasMetric (Ljava/lang/String;)Z67
8 ]. Unknown metric name [: &] on multi-value metrics aggregation [< singleBucket lastToken (I)Ljava/lang/String; X@
/A toSplit result java/lang/ClassF desiredAssertionStatusH ?
GI
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable b(Ljava/util/List;)V a()Ljava/util/List; &()Ljava/util/List;
SourceFile InnerClasses ! K L
! M o 0*? 'L? )Y+?? -M? /N6+??
+2:+?d?3[? 76? ?? ? ;d? -? =Y? ?Y? BD? H? HJ? H*? HL? H? P? S?? ;d? W]? -? =Y? ?Y? BD? H? HJ? H*? HL? H? P? S?,? Y? [`? ;d? [? ^? b W?F.? 76? ,? Y? ^? b W?"? ? ;d? -? =Y? ?Y? BD? H? HJ? H*? HL? H? P? S?-? fN,? Y-2-2? ^? b W? ?[? 76? ?? ? ;d? -? =Y? ?Y? BD? H? HJ? H*? HL? H? P? S?? ;d? W]? -? =Y? ?Y? BD? H? HJ? H*? HL? H? P? S?,? Y? [`? ;d? [? ^? b W? ,? Y? ^? b W????? Y,? i? N R 8$ j k h ? j k &? l m k 0 n ) o 0 p q 0 O p P ? " E F G H I &