public abstract class org.apache.lucene.index.Terms
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.index.Terms
super_class: java.lang.Object
{
public static final org.apache.lucene.index.Terms[] EMPTY_ARRAY;
descriptor: [Lorg/apache/lucene/index/Terms;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.apache.lucene.index.Terms
putstatic org.apache.lucene.index.Terms.EMPTY_ARRAY:[Lorg/apache/lucene/index/Terms;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/Terms;
public abstract org.apache.lucene.index.TermsEnum iterator();
descriptor: ()Lorg/apache/lucene/index/TermsEnum;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public org.apache.lucene.index.TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/automaton/CompiledAutomaton;Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/index/TermsEnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
astore 3
start local 3 1: aload 1
getfield org.apache.lucene.util.automaton.CompiledAutomaton.type:Lorg/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE;
getstatic org.apache.lucene.util.automaton.CompiledAutomaton$AUTOMATON_TYPE.NORMAL:Lorg/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE;
if_acmpeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "please use CompiledAutomaton.getTermsEnum instead"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.index.TermsEnum
StackMap stack:
aload 2
ifnonnull 5
4: new org.apache.lucene.index.AutomatonTermsEnum
dup
aload 3
aload 1
invokespecial org.apache.lucene.index.AutomatonTermsEnum.<init>:(Lorg/apache/lucene/index/TermsEnum;Lorg/apache/lucene/util/automaton/CompiledAutomaton;)V
areturn
5: StackMap locals:
StackMap stack:
new org.apache.lucene.index.Terms$1
dup
aload 0
aload 3
aload 1
aload 2
invokespecial org.apache.lucene.index.Terms$1.<init>:(Lorg/apache/lucene/index/Terms;Lorg/apache/lucene/index/TermsEnum;Lorg/apache/lucene/util/automaton/CompiledAutomaton;Lorg/apache/lucene/util/BytesRef;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/Terms;
0 6 1 compiled Lorg/apache/lucene/util/automaton/CompiledAutomaton;
0 6 2 startTerm Lorg/apache/lucene/util/BytesRef;
1 6 3 termsEnum Lorg/apache/lucene/index/TermsEnum;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
compiled
startTerm final
public abstract long size();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract long getSumTotalTermFreq();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract long getSumDocFreq();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract int getDocCount();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract boolean hasFreqs();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean hasOffsets();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean hasPositions();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean hasPayloads();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public org.apache.lucene.util.BytesRef getMin();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
invokevirtual org.apache.lucene.index.TermsEnum.next:()Lorg/apache/lucene/util/BytesRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/Terms;
Exceptions:
throws java.io.IOException
public org.apache.lucene.util.BytesRef getMax();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.Terms.size:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifne 3
2: aconst_null
areturn
3: StackMap locals: long
StackMap stack:
lload 1
lconst_0
lcmp
iflt 9
4: aload 0
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
astore 3
start local 3 5: aload 3
lload 1
lconst_1
lsub
invokevirtual org.apache.lucene.index.TermsEnum.seekExact:(J)V
6: aload 3
invokevirtual org.apache.lucene.index.TermsEnum.term:()Lorg/apache/lucene/util/BytesRef;
7: areturn
end local 3 8: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
astore 3
start local 3 10: aload 3
invokevirtual org.apache.lucene.index.TermsEnum.next:()Lorg/apache/lucene/util/BytesRef;
astore 4
start local 4 11: aload 4
ifnonnull 13
12: aload 4
areturn
13: StackMap locals: org.apache.lucene.index.TermsEnum org.apache.lucene.util.BytesRef
StackMap stack:
new org.apache.lucene.util.BytesRefBuilder
dup
invokespecial org.apache.lucene.util.BytesRefBuilder.<init>:()V
astore 5
start local 5 14: aload 5
iconst_0
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:(B)V
15: StackMap locals: org.apache.lucene.util.BytesRefBuilder
StackMap stack:
iconst_0
istore 6
start local 6 16: sipush 256
istore 7
start local 7 17: goto 29
18: StackMap locals: int int
StackMap stack:
iload 6
iload 7
iadd
iconst_1
iushr
istore 8
start local 8 19: aload 5
aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.length:()I
iconst_1
isub
iload 8
i2b
invokevirtual org.apache.lucene.util.BytesRefBuilder.setByteAt:(IB)V
20: aload 3
aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.get:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.TermsEnum.seekCeil:(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/index/TermsEnum$SeekStatus;
getstatic org.apache.lucene.index.TermsEnum$SeekStatus.END:Lorg/apache/lucene/index/TermsEnum$SeekStatus;
if_acmpne 26
21: iload 8
ifne 24
22: aload 5
aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.length:()I
iconst_1
isub
invokevirtual org.apache.lucene.util.BytesRefBuilder.setLength:(I)V
23: aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.get:()Lorg/apache/lucene/util/BytesRef;
areturn
24: StackMap locals: int
StackMap stack:
iload 8
istore 7
25: goto 29
26: StackMap locals:
StackMap stack:
iload 6
iload 8
if_icmpne 28
27: goto 30
28: StackMap locals:
StackMap stack:
iload 8
istore 6
end local 8 29: StackMap locals:
StackMap stack:
iload 6
iload 7
if_icmpne 18
30: StackMap locals:
StackMap stack:
aload 5
aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.length:()I
iconst_1
iadd
invokevirtual org.apache.lucene.util.BytesRefBuilder.setLength:(I)V
31: aload 5
aload 5
invokevirtual org.apache.lucene.util.BytesRefBuilder.length:()I
invokevirtual org.apache.lucene.util.BytesRefBuilder.grow:(I)V
end local 7 end local 6 32: goto 15
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/lucene/index/Terms;
1 33 1 size J
5 8 3 iterator Lorg/apache/lucene/index/TermsEnum;
10 33 3 iterator Lorg/apache/lucene/index/TermsEnum;
11 33 4 v Lorg/apache/lucene/util/BytesRef;
14 33 5 scratch Lorg/apache/lucene/util/BytesRefBuilder;
16 32 6 low I
17 32 7 high I
19 29 8 mid I
Exception table:
from to target type
4 7 8 Class java.lang.UnsupportedOperationException
Exceptions:
throws java.io.IOException
public java.lang.Object getStats();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "impl="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc ",size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.Terms.size:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ",docCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.Terms.getDocCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc ",sumTotalTermFreq="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.Terms.getSumTotalTermFreq:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ",sumDocFreq="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.Terms.getSumDocFreq:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/Terms;
1 7 1 sb Ljava/lang/StringBuilder;
Exceptions:
throws java.io.IOException
}
SourceFile: "Terms.java"
NestMembers:
org.apache.lucene.index.Terms$1
InnerClasses:
org.apache.lucene.index.Terms$1
public final SeekStatus = org.apache.lucene.index.TermsEnum$SeekStatus of org.apache.lucene.index.TermsEnum
public final AUTOMATON_TYPE = org.apache.lucene.util.automaton.CompiledAutomaton$AUTOMATON_TYPE of org.apache.lucene.util.automaton.CompiledAutomaton