
com.groupbyinc.flux.common.apache.lucene.codecs.idversion.VersionBlockTreeTermsWriter$TermsWriter.class Maven / Gradle / Ivy
???? 4? acom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$TermsWriter java/lang/Object VersionBlockTreeTermsWriter.java bcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingEntry Ucom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter PendingEntry bcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingBlock PendingBlock acom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingTerm PendingTerm TermsWriter Bcom/groupbyinc/flux/common/apache/lucene/util/fst/PairOutputs$Pair =com/groupbyinc/flux/common/apache/lucene/util/fst/PairOutputs Pair ccom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$FieldMetaData
FieldMetaData fieldInfo :Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo; longsSize I numTerms J docsSeen ;Lcom/groupbyinc/flux/common/apache/lucene/util/FixedBitSet; indexStartFP lastTerm ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; prefixStarts [I longs [J pending Ljava/util/List; vLjava/util/List; newBlocks vLjava/util/List; firstPendingTerm cLcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingTerm; lastPendingTerm suffixWriter @Lcom/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream;
metaWriter bytesWriter $assertionsDisabled Z this$0 WLcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter; writeBlocks (II)V java/io/IOException ; 5 6 = java/lang/AssertionError ? ()V A B
@ C ) * E java/util/List G size ()I I J H K get (I)Ljava/lang/Object; M N H O isTerm Q 6 R termBytes [B T U V prefix 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; X Y Z 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef \ length ^ ] _ bytes a U ] b offset d ] e 7 8 g minItemsInBlock i j maxItemsInBlock l m , * o
writeBlock m(IZIIIZZ)Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingBlock; q r
s add (Ljava/lang/Object;)Z u v H w isEmpty ()Z y z H { isFloor } 6 ~
access$000 ?(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter;)Lcom/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream; ? ?
?
access$100 ?(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter;)Lcom/groupbyinc/flux/common/apache/lucene/util/IntsRefBuilder; ? ?
? compileIndex ?(Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream;Lcom/groupbyinc/flux/common/apache/lucene/util/IntsRefBuilder;)V ? ?
? subList (II)Ljava/util/List; ? ? H ? clear ? B H ? suffixLeadLabel term block dLcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingBlock; itemsInBlock ent dLcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingEntry; i this cLcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$TermsWriter; prefixLength count lastSuffixLeadLabel hasTerms hasSubBlocks start end nextBlockStart nextFloorLeadLabel
firstBlock
access$200 ?(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter;)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput; ? ?
? :com/groupbyinc/flux/common/apache/lucene/store/IndexOutput ? getFilePointer ()J ? ?
? ? (I)V A ?
] ? # $ ? =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder ? ()[B a ?
? ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? writeVInt ? ?
? ????????? java/lang/StringBuilder ?
? C i= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/Object;)V A ?
@ ? :com/groupbyinc/flux/common/apache/lucene/util/StringHelper ?
startsWith =([BLcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z ? ?
? ?
term.term= ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? prefix= ? state @Lcom/groupbyinc/flux/common/apache/lucene/codecs/BlockTermState; ? ? ? Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/IDVersionTermState ? idVersion ? ? ? java/lang/Math ? max (JJ)J ? ?
? ? 1 2 ? >com/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream ?
? ?
writeBytes ([BII)V ? ?
? ? >com/groupbyinc/flux/common/apache/lucene/codecs/BlockTermState ? postingsWriter DLcom/groupbyinc/flux/common/apache/lucene/codecs/PostingsWriterBase; ' ( 4 2 Bcom/groupbyinc/flux/common/apache/lucene/codecs/PostingsWriterBase
encodeTerm ?([JLcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;Lcom/groupbyinc/flux/common/apache/lucene/codecs/BlockTermState;Z)V
3 2
writeVLong (J)V
? writeTo >(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V
? reset B
? java/util/ArrayList
C
access$300 g(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter$PendingBlock;)J"#
$ s(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z ?&
?' fp) * index 7Lcom/groupbyinc/flux/common/apache/lucene/util/fst/FST;,- .
? ? P(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;JJZZILjava/util/List;)V A1
2 pos suffix
subIndices ?Ljava/util/List;>;>; floorLeadLabel startFP hasFloorLeadLabel
numEntries code isLeafBlock absolute maxVersionInBlock ?(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter;Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;)V
C
? C % & C
? C 9com/groupbyinc/flux/common/apache/lucene/util/FixedBitSetF maxDocH I
G ? ! L setField =(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;)INO
P write u(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;)V writeTerm ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;Lcom/groupbyinc/flux/common/apache/lucene/util/FixedBitSet;)Lcom/groupbyinc/flux/common/apache/lucene/codecs/BlockTermState;TU
V Qcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/IDVersionPostingsWriterX lastDocIDZ Y[ docFreq] ?^ 8com/groupbyinc/flux/common/apache/lucene/index/FieldInfo` getIndexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;bc
ad ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptionsf DOCS =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;hi gj
totalTermFreql ?m postingsWriter=o pushTerm ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Vqr
s
deepCopyOf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;uv
]w {(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/codecs/BlockTermState;)V Ay
z | . / ~ 0 / ? text termsEnum :Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; ^ J
?? min (II)I??
?? byteAt (I)B??
?? 9 :
? 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil? grow ([II)[I??
?? copyBytes?r
??
prefixTopSize limit finish pending.size()=? pending=? 5com/groupbyinc/flux/common/apache/lucene/util/fst/FST? getEmptyOutput ()Ljava/lang/Object;??
??
access$400? ?
? " ? save?
?? ([B)V A?
]?
access$500 i(Lcom/groupbyinc/flux/common/apache/lucene/codecs/idversion/VersionBlockTreeTermsWriter;)Ljava/util/List;??
? ?(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;Lcom/groupbyinc/flux/common/apache/lucene/util/fst/PairOutputs$Pair;JJILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V A?
? root minTerm maxTerm java/lang/Class? desiredAssertionStatus? z
?? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable
SourceFile InnerClasses ! " # $ % &