com.groupbyinc.flux.common.apache.lucene.util.bkd.HeapPointWriter.class Maven / Gradle / Ivy
???? 4 ? Acom/groupbyinc/flux/common/apache/lucene/util/bkd/HeapPointWriter java/lang/Object =com/groupbyinc/flux/common/apache/lucene/util/bkd/PointWriter HeapPointWriter.java docIDs [I ordsLong [J ords nextWrite I closed Z maxSize valuesPerBlock packedBytesLength singleValuePerDoc blocks Ljava/util/List; Ljava/util/List<[B>; $assertionsDisabled (IIIZZ)V ()V
java/util/ArrayList
! # % ' )
+ - java/lang/Math / max (II)I 1 2
0 3 5 this CLcom/groupbyinc/flux/common/apache/lucene/util/bkd/HeapPointWriter; initSize longOrds copyFrom F(Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/HeapPointWriter;)V
= java/lang/IllegalStateException ? java/lang/StringBuilder A
B docIDs.length= D append -(Ljava/lang/String;)Ljava/lang/StringBuilder; F G
B H (I)Ljava/lang/StringBuilder; F J
B K other.nextWrite= M toString ()Ljava/lang/String; O P
B Q (Ljava/lang/String;)V S
@ T java/lang/System V arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V X Y
W Z \ java/lang/AssertionError ^
_ java/util/List a iterator ()Ljava/util/Iterator; c d b e java/util/Iterator g hasNext ()Z i j h k next ()Ljava/lang/Object; m n h o [B q clone s n
r t add (Ljava/lang/Object;)Z v w b x block other readPackedValue (I[B)V get (I)Ljava/lang/Object; ~ b ? index bytes
blockIndex getPackedValueSlice <(ILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ? ? q ? ? offset ? ? ? length ? ? ? result 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; writePackedValue size ()I ? ? b ? min ? 2
0 ?
valuesInBlock ([BJI)V ? 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil ? oversize ? 2
? ? nextSize= ? vs nextWrite= ? (Ljava/lang/Object;)V ?
_ ? java/util/Arrays ? copyOf ([II)[I ? ?
? ? ([JI)[J ? ?
? ? ? }
? ??? nextSize packedValue ord J docID getReader C(JJ)Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/PointReader; start= ? (J)Ljava/lang/StringBuilder; F ?
B ? length= ? docIDs.length= ? nextWrite= ? Acom/groupbyinc/flux/common/apache/lucene/util/bkd/HeapPointReader ?
toIntExact (J)I ? ?
0 ? (Ljava/util/List;II[I[J[IIIZ)V ?
? ? start getSharedReader S(JJLjava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/PointReader; toCloseHeroically %Ljava/util/List; close destroy HeapPointWriter(count= ? alloc= ? ) ? java/lang/Class ? desiredAssertionStatus ? j
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable h(JJLjava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/PointReader;
SourceFile 1
? ? \*? *? Y? ? "*?
? $*? &*? (*? *? *? ,*? .? ?
*?? ,?
*?
? .* l? 4? 6? ? > \ 7 8 \ 9 \ \ \ : \ ? : + ) , - . / &