
com.groupbyinc.flux.search.aggregations.AggregatorFactories.class Maven / Gradle / Ivy
???? 4L ;com/groupbyinc/flux/search/aggregations/AggregatorFactories java/lang/Object AggregatorFactories.java =com/groupbyinc/flux/search/aggregations/AggregatorFactories$1 Ccom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder Builder Kcom/groupbyinc/flux/search/aggregations/AggregatorFactories$AggParseContext AggParseContext 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token VALID_AGG_NAME Ljava/util/regex/Pattern; EMPTY =Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories; parent ;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory; >Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>; factories <[Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory; ?[Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>; pipelineAggregatorFactories Ljava/util/List; VLjava/util/List; parseAggregators {(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; java/io/IOException " |(Lcom/groupbyinc/flux/common/xcontent/XContentParser;I)Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; $
% parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; ) + java/util/regex/Pattern - matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; / 0
. 1 ()V 3 4
5 java/util/regex/Matcher 7 nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; 9 : ;
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; = > ?
FIELD_NAME A > B +com/groupbyinc/flux/common/ParsingException D getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; F G H java/lang/StringBuilder J
K 5 Unexpected token M append -(Ljava/lang/String;)Ljava/lang/StringBuilder; O P
K Q -(Ljava/lang/Object;)Ljava/lang/StringBuilder; O S
K T Q in [aggs]: aggregations definitions must start with the name of the aggregation. V toString ()Ljava/lang/String; X Y
K Z ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V 3 \
E ] currentName _ Y ` reset b 0
8 c matches ()Z e f
8 g Invalid aggregation name [ i K]. Aggregation names must be alpha-numeric and can only contain '_' and '-' k java/lang/String m START_OBJECT o > p Aggregation definition for [ r starts with a [ t ], expected a [ v ]. x >com/groupbyinc/flux/search/aggregations/BaseAggregationBuilder z
java/util/Map |
Expected [ ~ ] under a [ ? ], but got a [ ? ] in [ ? ] ? hashCode ()I ? ?
n ? meta ? equals (Ljava/lang/Object;)Z ? ?
n ? aggregations ? aggs ? map ()Ljava/util/Map; ? ? ? -Found two sub aggregation definitions under [ ? +Found two aggregation type definitions in [ ? ]: [ ? getType ? Y { ? ] and [ ? (Ljava/lang/String;)V 3 ?
? namedObject I(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ] under [ ? $Missing definition for aggregation [ ? setMetaData Q(Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/BaseAggregationBuilder; ? ? { ? subAggregations ?(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder;)Lcom/groupbyinc/flux/search/aggregations/BaseAggregationBuilder; ? ? { ? :com/groupbyinc/flux/search/aggregations/AggregationBuilder ?
addAggregator ?(Lcom/groupbyinc/flux/search/aggregations/AggregationBuilder;)Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; ? ?
? Bcom/groupbyinc/flux/search/aggregations/PipelineAggregationBuilder ? addPipelineAggregator ?(Lcom/groupbyinc/flux/search/aggregations/PipelineAggregationBuilder;)Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; ? ?
? fieldName Ljava/lang/String; aggregationName
aggBuilder @Lcom/groupbyinc/flux/search/aggregations/BaseAggregationBuilder; subFactories ELcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; metaData 5Ljava/util/Map; Ljava/util/Map; level I validAggMatcher Ljava/util/regex/Matcher; token builder G()Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$Builder; ?(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory;[Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory;Ljava/util/List;)V
5 ? ? ? this pipelineAggregators createPipelineAggregators ()Ljava/util/List; java/util/ArrayList ? java/util/List ? size ? ? ? ? (I)V 3 ?
? ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? f ? ? next ()Ljava/lang/Object; ? ? ? ? create G()Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator; ? ?
? ? add ? ? ? ? factory DLcom/groupbyinc/flux/search/aggregations/PipelineAggregationBuilder; WLjava/util/List; createSubAggregators k(Lcom/groupbyinc/flux/search/aggregations/Aggregator;)[Lcom/groupbyinc/flux/search/aggregations/Aggregator; countAggregators ?
2com/groupbyinc/flux/search/aggregations/Aggregator 5[Lcom/groupbyinc/flux/search/aggregations/Aggregator; 9com/groupbyinc/flux/search/aggregations/AggregatorFactory k(Lcom/groupbyinc/flux/search/aggregations/Aggregator;Z)Lcom/groupbyinc/flux/search/aggregations/Aggregator; ?
context 5()Lcom/groupbyinc/flux/search/internal/SearchContext;
1com/groupbyinc/flux/search/internal/SearchContext getProfilers 0()Lcom/groupbyinc/flux/search/profile/Profilers;
Bcom/groupbyinc/flux/search/profile/aggregation/ProfilingAggregator ,com/groupbyinc/flux/search/profile/Profilers getAggregationProfiler F()Lcom/groupbyinc/flux/search/profile/aggregation/AggregationProfiler;
{(Lcom/groupbyinc/flux/search/aggregations/Aggregator;Lcom/groupbyinc/flux/search/profile/aggregation/AggregationProfiler;)V 3"
# collectsFromSingleBucket Z 4Lcom/groupbyinc/flux/search/aggregations/Aggregator; profilers .Lcom/groupbyinc/flux/search/profile/Profilers; i aggregators createTopLevelAggregators 7()[Lcom/groupbyinc/flux/search/aggregations/Aggregator; countPipelineAggregators ?(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory;[Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory;Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$1;)V 3 ?
0 x0 x1 x2 x3 ?Lcom/groupbyinc/flux/search/aggregations/AggregatorFactories$1; [^\[\]>]+8 compile -(Ljava/lang/String;)Ljava/util/regex/Pattern;:;
.<
? 5 ? Signature Code LocalVariableTable LineNumberTable
Exceptions LocalVariableTypeTable
StackMapTable ?(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>;[Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>;Ljava/util/List;)V Y()Ljava/util/List;
SourceFile InnerClasses ! A A A ! B 0 *? &? C ' ( D <E #
$ B [? *,? 2M? Y? 6N:*? < Y:? @?9? C? .? EY*? I ? KY? LN? R? UW? R? [? ? ^?*? a :,? d? h? .? EY*? I ? KY? Lj? R? Rl? R? [? ? ^?*? < :? q? C? EY*? I ? KY? Ls? R? Ru? R? Uw? R? q? Uy? R? [? ? ^?:::*? < Y:? @??? C? W? EY*? I ? KY? L? R? C? U?? R? q? U?? R? U?? R? R?? R? [? Y*? I S? ^?*? a : *? < :? q?% :
6
? ?? P -?? C 3 #?5? 3
?? ?? &6?
?? ?? 6?
?? ?? 6? ` $ $*? ? :? ?? .? EY*? I ? KY? L?? R? R?? R? [? ? ^?*`? &:? d? G? EY*? I ? KY? L?? R? R?? R? ? ? R?? R ? R?? R? [? ? ^?*{ ? Y? ?? ? ? {:? M? EY*? I ? KY? L? R? q? U?? R ? R?? R? U?? R? R?? R? [? ? ^???? 7? EY*? I ? KY? L?? R? R?? R? [? Y*? I S? ^??
? ? W?
? ? W? ?? -? ?? ?W?
-? ?? ?W???-? C f
a| ? ? ^? ? ? ?n ? ? ?k ? ? ?h ? ? [ ' ( [ ? ? R ? ? J ? G ? > F ?h ? ? D ? 0 @ A C D # E + F V I ^ J j K ? O ? P ? Q ? U ? V ? X ? Z ? [ \
]O _Y aa ci dq e? g? h? k? l# o, p/ r4 sV tx w? {? ~? ?? ? ? ? ?( ?- ?7 ?? ?L ?V ?Y ?G ^ ? 8 ? A? > n? O? { }? j? F n n
/? H? ? I8? 8 E # ? ? B ? Y? 6? D ? 3 ? B ? *? ?*+? ?*,? ?*-? ܱ C * ? ? F ? D ? ? ? ? ?A H ? ? B ? >? ?Y*? ܹ ? ? ?L*? ܹ ? M,? ? ? ,? ? ? ?N+-? ?? ? W???+? C . ? > ? - ? F - ? D ? ? . ? 9 ? <