
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 Ucom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket InternalBucket @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
1 ( ) 3 * + 5 , - 7 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 E . D
G readOrder i(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/BucketOrder; I J
K readSize 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)I M N
O 0com/groupbyinc/flux/common/io/stream/StreamInput Q readVLong ()J S T
R U in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 3com/groupbyinc/flux/search/aggregations/BucketOrder [ writeTo ] Z
\ ^ writeSize 7(ILcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ` a
b 1com/groupbyinc/flux/common/io/stream/StreamOutput d
writeVLong (J)V f g
e h writeTermTypeInfoTo j Z
k 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 u ()V . w
v x java/util/List z iterator ()Ljava/util/Iterator; | } { ~
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 ?
? x 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 ? T
? o p
? size ()I ? ? { ? getShardSize ? ?
?
isKeyOrder 8(Lcom/groupbyinc/flux/search/aggregations/BucketOrder;)Z ? ?
? isCountDesc ? ?
? getDocCountError ? T
? get (I)Ljava/lang/Object; ? ? { ? docCount ? -
????????? setDocCountError ? g
?
docCountError ? -
? getKey ? ?
? &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? java/util/ArrayList ?
? x put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? add ? ? { ?
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; ? ?
\ ? (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 T
countInnerBucket Z(Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket;)I
consumeBucketsAndMaybeBreak (I)V
? ? createBucketsArray O(I)[Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket;
L[Lcom/groupbyinc/flux/search/aggregations/bucket/terms/InternalTerms$Bucket; pop ?
? <