public class org.apache.lucene.index.PrefixCodedTerms$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.index.PrefixCodedTerms$Builder
super_class: java.lang.Object
{
private org.apache.lucene.store.RAMFile buffer;
descriptor: Lorg/apache/lucene/store/RAMFile;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.store.RAMOutputStream output;
descriptor: Lorg/apache/lucene/store/RAMOutputStream;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.index.Term lastTerm;
descriptor: Lorg/apache/lucene/index/Term;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.BytesRefBuilder lastTermBytes;
descriptor: Lorg/apache/lucene/util/BytesRefBuilder;
flags: (0x0002) ACC_PRIVATE
private long size;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/PrefixCodedTerms;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.index.PrefixCodedTerms$Builder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.lucene.store.RAMFile
dup
invokespecial org.apache.lucene.store.RAMFile.<init>:()V
putfield org.apache.lucene.index.PrefixCodedTerms$Builder.buffer:Lorg/apache/lucene/store/RAMFile;
2: aload 0
new org.apache.lucene.store.RAMOutputStream
dup
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.buffer:Lorg/apache/lucene/store/RAMFile;
iconst_0
invokespecial org.apache.lucene.store.RAMOutputStream.<init>:(Lorg/apache/lucene/store/RAMFile;Z)V
putfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
3: aload 0
new org.apache.lucene.index.Term
dup
ldc ""
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;)V
putfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
4: aload 0
new org.apache.lucene.util.BytesRefBuilder
dup
invokespecial org.apache.lucene.util.BytesRefBuilder.<init>:()V
putfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTermBytes:Lorg/apache/lucene/util/BytesRefBuilder;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/PrefixCodedTerms$Builder;
public void add(org.apache.lucene.index.Term);
descriptor: (Lorg/apache/lucene/index/Term;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
aload 1
invokevirtual org.apache.lucene.index.Term.bytes:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.PrefixCodedTerms$Builder.add:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PrefixCodedTerms$Builder;
0 2 1 term Lorg/apache/lucene/index/Term;
MethodParameters:
Name Flags
term
public void add(java.lang.String, org.apache.lucene.util.BytesRef);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.index.PrefixCodedTerms$Builder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
new org.apache.lucene.index.Term
dup
ldc ""
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.lucene.index.Term.equals:(Ljava/lang/Object;)Z
ifne 1
new org.apache.lucene.index.Term
dup
aload 1
aload 2
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.compareTo:(Lorg/apache/lucene/index/Term;)I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.size:J
lconst_0
lcmp
ifle 5
aload 1
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
aload 2
invokestatic org.apache.lucene.util.StringHelper.bytesDifference:(Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)I
istore 3
start local 3 3: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
iload 3
iconst_1
ishl
invokevirtual org.apache.lucene.store.RAMOutputStream.writeVInt:(I)V
4: goto 8
end local 3 5: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 6: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
iconst_1
invokevirtual org.apache.lucene.store.RAMOutputStream.writeVInt:(I)V
7: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
aload 1
invokevirtual org.apache.lucene.store.RAMOutputStream.writeString:(Ljava/lang/String;)V
8: StackMap locals: int
StackMap stack:
aload 2
getfield org.apache.lucene.util.BytesRef.length:I
iload 3
isub
istore 4
start local 4 9: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
iload 4
invokevirtual org.apache.lucene.store.RAMOutputStream.writeVInt:(I)V
10: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
aload 2
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 2
getfield org.apache.lucene.util.BytesRef.offset:I
iload 3
iadd
iload 4
invokevirtual org.apache.lucene.store.RAMOutputStream.writeBytes:([BII)V
11: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTermBytes:Lorg/apache/lucene/util/BytesRefBuilder;
aload 2
invokevirtual org.apache.lucene.util.BytesRefBuilder.copyBytes:(Lorg/apache/lucene/util/BytesRef;)V
12: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTermBytes:Lorg/apache/lucene/util/BytesRefBuilder;
invokevirtual org.apache.lucene.util.BytesRefBuilder.get:()Lorg/apache/lucene/util/BytesRef;
putfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
13: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.lastTerm:Lorg/apache/lucene/index/Term;
aload 1
putfield org.apache.lucene.index.Term.field:Ljava/lang/String;
14: aload 0
dup
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.size:J
lconst_1
ladd
putfield org.apache.lucene.index.PrefixCodedTerms$Builder.size:J
end local 4 end local 3 15: goto 18
StackMap locals: org.apache.lucene.index.PrefixCodedTerms$Builder java.lang.String org.apache.lucene.util.BytesRef
StackMap stack: java.io.IOException
16: astore 3
start local 3 17: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/index/PrefixCodedTerms$Builder;
0 19 1 field Ljava/lang/String;
0 19 2 bytes Lorg/apache/lucene/util/BytesRef;
3 5 3 prefix I
6 15 3 prefix I
9 15 4 suffix I
17 18 3 e Ljava/io/IOException;
Exception table:
from to target type
1 15 16 Class java.io.IOException
MethodParameters:
Name Flags
field
bytes
public org.apache.lucene.index.PrefixCodedTerms finish();
descriptor: ()Lorg/apache/lucene/index/PrefixCodedTerms;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.output:Lorg/apache/lucene/store/RAMOutputStream;
invokevirtual org.apache.lucene.store.RAMOutputStream.close:()V
1: new org.apache.lucene.index.PrefixCodedTerms
dup
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.buffer:Lorg/apache/lucene/store/RAMFile;
aload 0
getfield org.apache.lucene.index.PrefixCodedTerms$Builder.size:J
invokespecial org.apache.lucene.index.PrefixCodedTerms.<init>:(Lorg/apache/lucene/store/RAMFile;J)V
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/PrefixCodedTerms$Builder;
4 5 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
}
SourceFile: "PrefixCodedTerms.java"
NestHost: org.apache.lucene.index.PrefixCodedTerms
InnerClasses:
public Builder = org.apache.lucene.index.PrefixCodedTerms$Builder of org.apache.lucene.index.PrefixCodedTerms