final class org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter
super_class: java.lang.Object
{
private final org.apache.lucene.util.fst.Builder<org.apache.lucene.codecs.memory.FSTTermOutputs$TermData> builder;
descriptor: Lorg/apache/lucene/util/fst/Builder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/util/fst/Builder<Lorg/apache/lucene/codecs/memory/FSTTermOutputs$TermData;>;
private final org.apache.lucene.codecs.memory.FSTTermOutputs outputs;
descriptor: Lorg/apache/lucene/codecs/memory/FSTTermOutputs;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.FieldInfo fieldInfo;
descriptor: Lorg/apache/lucene/index/FieldInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long numTerms;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.IntsRefBuilder scratchTerm;
descriptor: Lorg/apache/lucene/util/IntsRefBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.store.RAMOutputStream metaWriter;
descriptor: Lorg/apache/lucene/store/RAMOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.codecs.memory.FSTTermsWriter this$0;
descriptor: Lorg/apache/lucene/codecs/memory/FSTTermsWriter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.codecs.memory.FSTTermsWriter, org.apache.lucene.index.FieldInfo);
descriptor: (Lorg/apache/lucene/codecs/memory/FSTTermsWriter;Lorg/apache/lucene/index/FieldInfo;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.this$0:Lorg/apache/lucene/codecs/memory/FSTTermsWriter;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.lucene.util.IntsRefBuilder
dup
invokespecial org.apache.lucene.util.IntsRefBuilder.<init>:()V
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.scratchTerm:Lorg/apache/lucene/util/IntsRefBuilder;
2: aload 0
new org.apache.lucene.store.RAMOutputStream
dup
invokespecial org.apache.lucene.store.RAMOutputStream.<init>:()V
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.metaWriter:Lorg/apache/lucene/store/RAMOutputStream;
3: aload 0
lconst_0
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.numTerms:J
4: aload 0
aload 2
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
5: aload 1
getfield org.apache.lucene.codecs.memory.FSTTermsWriter.postingsWriter:Lorg/apache/lucene/codecs/PostingsWriterBase;
aload 2
invokevirtual org.apache.lucene.codecs.PostingsWriterBase.setField:(Lorg/apache/lucene/index/FieldInfo;)V
6: aload 0
new org.apache.lucene.codecs.memory.FSTTermOutputs
dup
aload 2
invokespecial org.apache.lucene.codecs.memory.FSTTermOutputs.<init>:(Lorg/apache/lucene/index/FieldInfo;)V
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.outputs:Lorg/apache/lucene/codecs/memory/FSTTermOutputs;
7: aload 0
new org.apache.lucene.util.fst.Builder
dup
getstatic org.apache.lucene.util.fst.FST$INPUT_TYPE.BYTE1:Lorg/apache/lucene/util/fst/FST$INPUT_TYPE;
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.outputs:Lorg/apache/lucene/codecs/memory/FSTTermOutputs;
invokespecial org.apache.lucene.util.fst.Builder.<init>:(Lorg/apache/lucene/util/fst/FST$INPUT_TYPE;Lorg/apache/lucene/util/fst/Outputs;)V
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.builder:Lorg/apache/lucene/util/fst/Builder;
8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/codecs/memory/FSTTermsWriter$TermsWriter;
0 9 2 fieldInfo Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
this$0 final
fieldInfo
public void finishTerm(org.apache.lucene.util.BytesRef, org.apache.lucene.codecs.BlockTermState);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/codecs/BlockTermState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.codecs.memory.FSTTermOutputs$TermData
dup
invokespecial org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.<init>:()V
astore 3
start local 3 1: aload 3
aconst_null
putfield org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.bytes:[B
2: aload 3
aload 2
getfield org.apache.lucene.codecs.BlockTermState.docFreq:I
putfield org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.docFreq:I
3: aload 3
aload 2
getfield org.apache.lucene.codecs.BlockTermState.totalTermFreq:J
putfield org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.totalTermFreq:J
4: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.this$0:Lorg/apache/lucene/codecs/memory/FSTTermsWriter;
getfield org.apache.lucene.codecs.memory.FSTTermsWriter.postingsWriter:Lorg/apache/lucene/codecs/PostingsWriterBase;
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.metaWriter:Lorg/apache/lucene/store/RAMOutputStream;
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 2
iconst_1
invokevirtual org.apache.lucene.codecs.PostingsWriterBase.encodeTerm:(Lorg/apache/lucene/store/DataOutput;Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/codecs/BlockTermState;Z)V
5: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.metaWriter:Lorg/apache/lucene/store/RAMOutputStream;
invokevirtual org.apache.lucene.store.RAMOutputStream.getFilePointer:()J
l2i
istore 4
start local 4 6: iload 4
ifle 10
7: aload 3
iload 4
newarray 8
putfield org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.bytes:[B
8: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.metaWriter:Lorg/apache/lucene/store/RAMOutputStream;
aload 3
getfield org.apache.lucene.codecs.memory.FSTTermOutputs$TermData.bytes:[B
iconst_0
invokevirtual org.apache.lucene.store.RAMOutputStream.writeTo:([BI)V
9: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.metaWriter:Lorg/apache/lucene/store/RAMOutputStream;
invokevirtual org.apache.lucene.store.RAMOutputStream.reset:()V
10: StackMap locals: org.apache.lucene.codecs.memory.FSTTermOutputs$TermData int
StackMap stack:
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.builder:Lorg/apache/lucene/util/fst/Builder;
aload 1
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.scratchTerm:Lorg/apache/lucene/util/IntsRefBuilder;
invokestatic org.apache.lucene.util.fst.Util.toIntsRef:(Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/IntsRefBuilder;)Lorg/apache/lucene/util/IntsRef;
aload 3
invokevirtual org.apache.lucene.util.fst.Builder.add:(Lorg/apache/lucene/util/IntsRef;Ljava/lang/Object;)V
11: aload 0
dup
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.numTerms:J
lconst_1
ladd
putfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.numTerms:J
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/codecs/memory/FSTTermsWriter$TermsWriter;
0 13 1 text Lorg/apache/lucene/util/BytesRef;
0 13 2 state Lorg/apache/lucene/codecs/BlockTermState;
1 13 3 meta Lorg/apache/lucene/codecs/memory/FSTTermOutputs$TermData;
6 13 4 bytesSize I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
text
state
public void finish(long, long, int);
descriptor: (JJI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.numTerms:J
lconst_0
lcmp
ifle 3
1: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.builder:Lorg/apache/lucene/util/fst/Builder;
invokevirtual org.apache.lucene.util.fst.Builder.finish:()Lorg/apache/lucene/util/fst/FST;
astore 6
start local 6 2: aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.this$0:Lorg/apache/lucene/codecs/memory/FSTTermsWriter;
getfield org.apache.lucene.codecs.memory.FSTTermsWriter.fields:Ljava/util/List;
new org.apache.lucene.codecs.memory.FSTTermsWriter$FieldMetaData
dup
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter.numTerms:J
lload 1
lload 3
iload 5
aload 6
invokespecial org.apache.lucene.codecs.memory.FSTTermsWriter$FieldMetaData.<init>:(Lorg/apache/lucene/index/FieldInfo;JJJILorg/apache/lucene/util/fst/FST;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 3: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/codecs/memory/FSTTermsWriter$TermsWriter;
0 4 1 sumTotalTermFreq J
0 4 3 sumDocFreq J
0 4 5 docCount I
2 3 6 fst Lorg/apache/lucene/util/fst/FST<Lorg/apache/lucene/codecs/memory/FSTTermOutputs$TermData;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sumTotalTermFreq
sumDocFreq
docCount
}
SourceFile: "FSTTermsWriter.java"
NestHost: org.apache.lucene.codecs.memory.FSTTermsWriter
InnerClasses:
TermData = org.apache.lucene.codecs.memory.FSTTermOutputs$TermData of org.apache.lucene.codecs.memory.FSTTermOutputs
private FieldMetaData = org.apache.lucene.codecs.memory.FSTTermsWriter$FieldMetaData of org.apache.lucene.codecs.memory.FSTTermsWriter
final TermsWriter = org.apache.lucene.codecs.memory.FSTTermsWriter$TermsWriter of org.apache.lucene.codecs.memory.FSTTermsWriter
public final INPUT_TYPE = org.apache.lucene.util.fst.FST$INPUT_TYPE of org.apache.lucene.util.fst.FST