com.groupbyinc.flux.search.aggregations.bucket.terms.InternalTerms.class Maven / Gradle / Ivy
???? 4? Bcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms .;B:Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;>Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;Lcom/groupbyinc/flux/search/aggregations/bucket/terms/Terms; Fcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation :com/groupbyinc/flux/search/aggregations/bucket/terms/Terms InternalTerms.java Icom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket Bucket 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 Acom/groupbyinc/flux/search/aggregations/bucket/terms/Terms$Bucket =com/groupbyinc/flux/search/aggregations/InternalOrder$Streams 5com/groupbyinc/flux/search/aggregations/InternalOrder Streams @com/groupbyinc/flux/search/aggregations/Aggregation$CommonFields 3com/groupbyinc/flux/search/aggregations/Aggregation CommonFields &DOC_COUNT_ERROR_UPPER_BOUND_FIELD_NAME 'Lcom/groupbyinc/flux/common/ParseField; SUM_OF_OTHER_DOC_COUNTS order 5Lcom/groupbyinc/flux/search/aggregations/BucketOrder; requiredSize I minDocCount J k(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/BucketOrder;IJLjava/util/List;Ljava/util/Map;)V 4(Ljava/lang/String;Ljava/util/List;Ljava/util/Map;)V + -
. % & 0 ' ( 2 ) * 4 this LLcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms; DLcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms; name Ljava/lang/String; pipelineAggregators WLjava/util/List; Ljava/util/List; metaData 5Ljava/util/Map; Ljava/util/Map; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException B + A
D readOrder i(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/BucketOrder; F G
H readSize 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)I J K
L 0com/groupbyinc/flux/common/io/stream/StreamInput N readVLong ()J P Q
O R in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 3com/groupbyinc/flux/search/aggregations/BucketOrder X writeTo Z W
Y [ writeSize 7(ILcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ] ^
_ 1com/groupbyinc/flux/common/io/stream/StreamOutput a
writeVLong (J)V c d
b e writeTermTypeInfoTo g W
h out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
getBuckets ()Ljava/util/List; getBucketByKey _(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket; doReduce ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; java/util/HashMap r ()V + t
s u java/util/List w iterator ()Ljava/util/Iterator; y z x {
java/util/Map } java/util/Iterator hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? Bcom/groupbyinc/flux/search/aggregations/bucket/terms/UnmappedTerms ? equals (Ljava/lang/Object;)Z ? ?
? ? Ecom/groupbyinc/flux/search/aggregations/AggregationExecutionException ? java/lang/StringBuilder ?
? u IMerging/Reducing the aggregations failed when computing the aggregation [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? getName ()Ljava/lang/String; ? ?
? m] because the field you gave in the aggregation query existed as two different types in two different indices ? toString ? ?
? ? (Ljava/lang/String;)V + ?
? ? getSumOfOtherDocCounts ? Q
? l m
? size ()I ? ? x ? getShardSize ? ?
?
isKeyOrder 8(Lcom/groupbyinc/flux/search/aggregations/BucketOrder;)Z ? ?
? isCountDesc ? ?
? getDocCountError ? Q
? get (I)Ljava/lang/Object; ? ? x ? docCount ? *
????????? setDocCountError ? d
?
docCountError ? *
? getKey ? ?
? &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ~ ? java/util/ArrayList ?
? u put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ~ ? add ? ? x ?
isFinalReduce ? ?
? ~ ? java/lang/Math ? min (II)I ? ?
? ? Hcom/groupbyinc/flux/search/aggregations/bucket/terms/BucketPriorityQueue ?
comparator L(Lcom/groupbyinc/flux/search/aggregations/Aggregator;)Ljava/util/Comparator; ? ?
Y ? (ILjava/util/Comparator;)V + ?
? ? values ()Ljava/util/Collection; ? ? ~ ? java/util/Collection ? ? { reduce ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket; ? ?
? insertWithOverflow ? ?
? getDocCount Q
? ? createBucketsArray O(I)[Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;
L[Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;
pop ?
?
9 : java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
create j(Ljava/lang/String;Ljava/util/List;JJ)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms;
thisAggDocCountError
bucketList Ljava/util/List; bucket TB; KLcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket; terms aggregation =Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; removed b sameTermBuckets i aggregations OLjava/util/List;
reduceContext KLcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext; buckets 8Ljava/util/Map;>; sumDocCountError
otherDocCount referenceTerms ordered OLcom/groupbyinc/flux/search/aggregations/bucket/terms/BucketPriorityQueue; JLcom/groupbyinc/flux/search/aggregations/bucket/terms/BucketPriorityQueue; list [TB; doEquals java/lang/Long7 valueOf (J)Ljava/lang/Long;9:
8; java/util/Objects= '(Ljava/lang/Object;Ljava/lang/Object;)Z ??
>@ java/lang/IntegerB (I)Ljava/lang/Integer;9D
CE obj Ljava/lang/Object; that HLcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms<**>;
doHashCode hash ([Ljava/lang/Object;)ILM
>N doXContentCommon ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;JJLjava/util/List;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; " # R %com/groupbyinc/flux/common/ParseFieldT getPreferredNameV ?
UW 3com/groupbyinc/flux/common/xcontent/XContentBuilderY field J(Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;[\
Z] $ # _ BUCKETSa # b
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;de
Zf
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;hi
j endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;lm
Zn builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ^Ljava/util/List<+Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;>; W(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/bucket/terms/Terms$Bucket; n o
v doc_count_error_upper_boundy java/lang/String{ ((Ljava/lang/String;[Ljava/lang/String;)V +}
U~ sum_other_doc_count? Code LocalVariableTable LocalVariableTypeTable LineNumberTable Signature ?(Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/BucketOrder;IJLjava/util/List;Ljava/util/Map;)V
Exceptions ()Ljava/util/List; (Ljava/lang/String;)TB;
StackMapTable ?(Ljava/util/List;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation; .(Ljava/lang/String;Ljava/util/List;JJ)TA; (I)[TB;(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;JJLjava/util/List<+Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;>;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
SourceFile InnerClasses! " # $ # % &