public class org.apache.lucene.search.TermQuery extends org.apache.lucene.search.Query
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.search.TermQuery
super_class: org.apache.lucene.search.Query
{
private final org.apache.lucene.index.Term term;
descriptor: Lorg/apache/lucene/index/Term;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.TermStates perReaderTermState;
descriptor: Lorg/apache/lucene/index/TermStates;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/search/TermQuery;
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.search.TermQuery.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.lucene.index.Term);
descriptor: (Lorg/apache/lucene/index/Term;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.lucene.search.Query.<init>:()V
1: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.Term
putfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
2: aload 0
aconst_null
putfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/TermQuery;
0 4 1 t Lorg/apache/lucene/index/Term;
MethodParameters:
Name Flags
t
public void <init>(org.apache.lucene.index.Term, org.apache.lucene.index.TermStates);
descriptor: (Lorg/apache/lucene/index/Term;Lorg/apache/lucene/index/TermStates;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.lucene.search.Query.<init>:()V
1: getstatic org.apache.lucene.search.TermQuery.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.lucene.search.TermQuery org.apache.lucene.index.Term org.apache.lucene.index.TermStates
StackMap stack:
aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.Term
putfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
3: aload 0
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.TermStates
putfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/TermQuery;
0 5 1 t Lorg/apache/lucene/index/Term;
0 5 2 states Lorg/apache/lucene/index/TermStates;
MethodParameters:
Name Flags
t
states
public org.apache.lucene.index.Term getTerm();
descriptor: ()Lorg/apache/lucene/index/Term;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermQuery;
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher, org.apache.lucene.search.ScoreMode, float);
descriptor: (Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;F)Lorg/apache/lucene/search/Weight;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.lucene.search.IndexSearcher.getTopReaderContext:()Lorg/apache/lucene/index/IndexReaderContext;
astore 4
start local 4 1: aload 0
getfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
ifnull 3
2: aload 0
getfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
aload 4
invokevirtual org.apache.lucene.index.TermStates.wasBuiltFor:(Lorg/apache/lucene/index/IndexReaderContext;)Z
ifne 5
3: StackMap locals: org.apache.lucene.index.IndexReaderContext
StackMap stack:
aload 4
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
aload 2
invokevirtual org.apache.lucene.search.ScoreMode.needsScores:()Z
invokestatic org.apache.lucene.index.TermStates.build:(Lorg/apache/lucene/index/IndexReaderContext;Lorg/apache/lucene/index/Term;Z)Lorg/apache/lucene/index/TermStates;
astore 5
start local 5 4: goto 6
end local 5 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
astore 5
start local 5 6: StackMap locals: org.apache.lucene.index.TermStates
StackMap stack:
new org.apache.lucene.search.TermQuery$TermWeight
dup
aload 0
aload 1
aload 2
fload 3
aload 5
invokespecial org.apache.lucene.search.TermQuery$TermWeight.<init>:(Lorg/apache/lucene/search/TermQuery;Lorg/apache/lucene/search/IndexSearcher;Lorg/apache/lucene/search/ScoreMode;FLorg/apache/lucene/index/TermStates;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/TermQuery;
0 7 1 searcher Lorg/apache/lucene/search/IndexSearcher;
0 7 2 scoreMode Lorg/apache/lucene/search/ScoreMode;
0 7 3 boost F
1 7 4 context Lorg/apache/lucene/index/IndexReaderContext;
4 5 5 termState Lorg/apache/lucene/index/TermStates;
6 7 5 termState Lorg/apache/lucene/index/TermStates;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
searcher
scoreMode
boost
public void visit(org.apache.lucene.search.QueryVisitor);
descriptor: (Lorg/apache/lucene/search/QueryVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual org.apache.lucene.search.QueryVisitor.acceptField:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
aload 0
iconst_1
anewarray org.apache.lucene.index.Term
dup
iconst_0
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
aastore
invokevirtual org.apache.lucene.search.QueryVisitor.consumeTerms:(Lorg/apache/lucene/search/Query;[Lorg/apache/lucene/index/Term;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/search/TermQuery;
0 3 1 visitor Lorg/apache/lucene/search/QueryVisitor;
MethodParameters:
Name Flags
visitor
public java.lang.String toString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 2
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.text:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/TermQuery;
0 6 1 field Ljava/lang/String;
1 6 2 buffer Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
field
public org.apache.lucene.index.TermStates getTermStates();
descriptor: ()Lorg/apache/lucene/index/TermStates;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.TermQuery.perReaderTermState:Lorg/apache/lucene/index/TermStates;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermQuery;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.TermQuery.sameClassAs:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
aload 1
checkcast org.apache.lucene.search.TermQuery
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/TermQuery;
0 4 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.search.TermQuery.classHash:()I
aload 0
getfield org.apache.lucene.search.TermQuery.term:Lorg/apache/lucene/index/Term;
invokevirtual org.apache.lucene.index.Term.hashCode:()I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermQuery;
}
SourceFile: "TermQuery.java"
NestMembers:
org.apache.lucene.search.TermQuery$TermWeight
InnerClasses:
final TermWeight = org.apache.lucene.search.TermQuery$TermWeight of org.apache.lucene.search.TermQuery