
com.groupbyinc.flux.search.aggregations.bucket.composite.CompositeValuesCollectorQueue.class Maven / Gradle / Ivy
???? 4 Vcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeValuesCollectorQueue java/lang/Object +com/groupbyinc/flux/common/lease/Releasable "CompositeValuesCollectorQueue.java java/util/Map$Entry
java/util/Map
Entry %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup CANDIDATE_SLOT I??? bigArrays +Lcom/groupbyinc/flux/common/util/BigArrays; maxSize keys Ljava/util/TreeMap; ;Ljava/util/TreeMap; arrays W[Lcom/groupbyinc/flux/search/aggregations/bucket/composite/SingleDimensionValuesSource; Z[Lcom/groupbyinc/flux/search/aggregations/bucket/composite/SingleDimensionValuesSource<*>; docCounts *Lcom/groupbyinc/flux/common/util/IntArray;
afterKeyIsSet Z $assertionsDisabled ?(Lcom/groupbyinc/flux/common/util/BigArrays;[Lcom/groupbyinc/flux/search/aggregations/bucket/composite/SingleDimensionValuesSource;ILcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeKey;)V ()V # %
& ! ( * , . java/util/TreeMap 0 "java/lang/invoke/LambdaMetafactory 2 metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; 4 5
3 6 7 '(Ljava/lang/Object;Ljava/lang/Object;)I 9 compare (II)I ; <
= > )(Ljava/lang/Integer;Ljava/lang/Integer;)I @ p(Lcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeValuesCollectorQueue;)Ljava/util/Comparator; ; B C (Ljava/util/Comparator;)V # E
1 F H " ! J Ecom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeKey L size ()I N O
M P java/lang/AssertionError R
S & )com/groupbyinc/flux/common/util/BigArrays U get (I)Ljava/lang/Comparable; X Y
M Z Tcom/groupbyinc/flux/search/aggregations/bucket/composite/SingleDimensionValuesSource \ setAfter (Ljava/lang/Comparable;)V ^ _
] ` newIntArray .(JZ)Lcom/groupbyinc/flux/common/util/IntArray; b c
V d f i this XLcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeValuesCollectorQueue; sources afterKey GLcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeKey;
1 P isFull ()Z
getSortedSlot ()Ljava/util/Set; keySet s r
1 t compareCurrent ()Ljava/lang/Integer; java/lang/Integer x valueOf (I)Ljava/lang/Integer; z {
y | &(Ljava/lang/Object;)Ljava/lang/Object; X ~
1 getLowerValueLeadSource ()Ljava/lang/Comparable; getAfter ? ?
] ? java/lang/Comparable ? getUpperValueLeadSource java/io/IOException ?
P lastKey ()Ljava/lang/Object; ? ?
1 ? intValue ? O
y ? toComparable ? Y
] ? getDocCount (I)I (com/groupbyinc/flux/common/util/IntArray ? (J)I X ? ? ? slot copyCurrent (I)V ? ?
] ? grow W(Lcom/groupbyinc/flux/common/util/IntArray;J)Lcom/groupbyinc/flux/common/util/IntArray; ? ?
V ? set (JI)I ? ? ? ? v ?
] ?
] = cmp slot1 slot2 compareCurrentWithAfter ? O
] ? toCompositeKey J(I)Lcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeKey; [Ljava/lang/Comparable; ? ([Ljava/lang/Comparable;)V # ?
M ? values [Ljava/lang/Comparable<*>; getLeafCollector ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;)Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; ?(Ljava/lang/Comparable;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;)Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; ? ?
? context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; in =Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; ;com/groupbyinc/flux/search/aggregations/LeafBucketCollector ? ? ?
] ?
] ? forceLeadSourceValue Ljava/lang/Comparable<*>; Ljava/lang/Comparable; last collector addIfCompetitive v w
? increment ? ? ? ?
?
pollLastEntry ()Ljava/util/Map$Entry; ? ?
1 ? getKey ? ? ?
? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
1 ? newSlot topSlot Ljava/lang/Integer; close ,com/groupbyinc/flux/common/lease/Releasables ? 1([Lcom/groupbyinc/flux/common/lease/Releasable;)V ? ?
? ? java/lang/Class ? desiredAssertionStatus ? p
? ?
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(Lcom/groupbyinc/flux/common/util/BigArrays;[Lcom/groupbyinc/flux/search/aggregations/bucket/composite/SingleDimensionValuesSource<*>;ILcom/groupbyinc/flux/search/aggregations/bucket/composite/CompositeKey;)V &()Ljava/util/Set; ()Ljava/lang/Comparable<*>;
Exceptions ?(Ljava/lang/Comparable<*>;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector;)Lcom/groupbyinc/flux/search/aggregations/LeafBucketCollector; BootstrapMethods
SourceFile InnerClasses 0 ? ? ? ! " ! # $ ? <