final class org.apache.lucene.search.DisjunctionMatchesIterator implements org.apache.lucene.search.MatchesIterator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.search.DisjunctionMatchesIterator
super_class: java.lang.Object
{
private final org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.MatchesIterator> queue;
descriptor: Lorg/apache/lucene/util/PriorityQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/util/PriorityQueue<Lorg/apache/lucene/search/MatchesIterator;>;
private boolean started;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static org.apache.lucene.search.MatchesIterator fromTerms(org.apache.lucene.index.LeafReaderContext, int, org.apache.lucene.search.Query, java.lang.String, java.util.List<org.apache.lucene.index.Term>);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;ILorg/apache/lucene/search/Query;Ljava/lang/String;Ljava/util/List;)Lorg/apache/lucene/search/MatchesIterator;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: org.apache.lucene.index.LeafReaderContext int org.apache.lucene.search.Query java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.Term
astore 5
start local 5 3: aload 3
aload 5
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Tried to generate iterator from terms in multiple fields: expected ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] but got ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 0
iload 1
aload 2
aload 3
aload 4
invokestatic org.apache.lucene.search.DisjunctionMatchesIterator.asBytesRefIterator:(Ljava/util/List;)Lorg/apache/lucene/util/BytesRefIterator;
invokestatic org.apache.lucene.search.DisjunctionMatchesIterator.fromTermsEnum:(Lorg/apache/lucene/index/LeafReaderContext;ILorg/apache/lucene/search/Query;Ljava/lang/String;Lorg/apache/lucene/util/BytesRefIterator;)Lorg/apache/lucene/search/MatchesIterator;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/apache/lucene/index/LeafReaderContext;
0 7 1 doc I
0 7 2 query Lorg/apache/lucene/search/Query;
0 7 3 field Ljava/lang/String;
0 7 4 terms Ljava/util/List<Lorg/apache/lucene/index/Term;>;
3 5 5 term Lorg/apache/lucene/index/Term;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/index/LeafReaderContext;ILorg/apache/lucene/search/Query;Ljava/lang/String;Ljava/util/List<Lorg/apache/lucene/index/Term;>;)Lorg/apache/lucene/search/MatchesIterator;
MethodParameters:
Name Flags
context
doc
query
field
terms
private static org.apache.lucene.util.BytesRefIterator asBytesRefIterator(java.util.List<org.apache.lucene.index.Term>);
descriptor: (Ljava/util/List;)Lorg/apache/lucene/util/BytesRefIterator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.lucene.search.DisjunctionMatchesIterator$1
dup
aload 0
invokespecial org.apache.lucene.search.DisjunctionMatchesIterator$1.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 terms Ljava/util/List<Lorg/apache/lucene/index/Term;>;
Signature: (Ljava/util/List<Lorg/apache/lucene/index/Term;>;)Lorg/apache/lucene/util/BytesRefIterator;
MethodParameters:
Name Flags
terms
static org.apache.lucene.search.MatchesIterator fromTermsEnum(org.apache.lucene.index.LeafReaderContext, int, org.apache.lucene.search.Query, java.lang.String, org.apache.lucene.util.BytesRefIterator);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;ILorg/apache/lucene/search/Query;Ljava/lang/String;Lorg/apache/lucene/util/BytesRefIterator;)Lorg/apache/lucene/search/MatchesIterator;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 2: aload 0
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
aload 3
invokevirtual org.apache.lucene.index.LeafReader.terms:(Ljava/lang/String;)Lorg/apache/lucene/index/Terms;
astore 6
start local 6 3: aload 6
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.util.List org.apache.lucene.index.Terms
StackMap stack:
aload 6
invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
astore 7
start local 7 6: aconst_null
astore 8
start local 8 7: aload 4
invokeinterface org.apache.lucene.util.BytesRefIterator.next:()Lorg/apache/lucene/util/BytesRef;
astore 9
start local 9 8: goto 17
9: StackMap locals: org.apache.lucene.index.TermsEnum org.apache.lucene.index.PostingsEnum org.apache.lucene.util.BytesRef
StackMap stack:
aload 7
aload 9
invokevirtual org.apache.lucene.index.TermsEnum.seekExact:(Lorg/apache/lucene/util/BytesRef;)Z
ifeq 16
10: aload 7
aload 8
bipush 56
invokevirtual org.apache.lucene.index.TermsEnum.postings:(Lorg/apache/lucene/index/PostingsEnum;I)Lorg/apache/lucene/index/PostingsEnum;
astore 10
start local 10 11: aload 10
iload 1
invokevirtual org.apache.lucene.index.PostingsEnum.advance:(I)I
iload 1
if_icmpne 15
12: aload 5
new org.apache.lucene.search.TermMatchesIterator
dup
aload 2
aload 10
invokespecial org.apache.lucene.search.TermMatchesIterator.<init>:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/PostingsEnum;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aconst_null
astore 8
14: goto 16
15: StackMap locals: org.apache.lucene.index.PostingsEnum
StackMap stack:
aload 10
astore 8
end local 10 16: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.lucene.util.BytesRefIterator.next:()Lorg/apache/lucene/util/BytesRef;
astore 9
StackMap locals:
StackMap stack:
17: aload 9
ifnonnull 9
end local 9 18: aload 5
invokestatic org.apache.lucene.search.DisjunctionMatchesIterator.fromSubIterators:(Ljava/util/List;)Lorg/apache/lucene/search/MatchesIterator;
areturn
end local 8 end local 7 end local 6 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 19 0 context Lorg/apache/lucene/index/LeafReaderContext;
0 19 1 doc I
0 19 2 query Lorg/apache/lucene/search/Query;
0 19 3 field Ljava/lang/String;
0 19 4 terms Lorg/apache/lucene/util/BytesRefIterator;
2 19 5 mis Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;
3 19 6 t Lorg/apache/lucene/index/Terms;
6 19 7 te Lorg/apache/lucene/index/TermsEnum;
7 19 8 reuse Lorg/apache/lucene/index/PostingsEnum;
8 18 9 term Lorg/apache/lucene/util/BytesRef;
11 16 10 pe Lorg/apache/lucene/index/PostingsEnum;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
query
field
terms
static org.apache.lucene.search.MatchesIterator fromSubIterators(java.util.List<org.apache.lucene.search.MatchesIterator>);
descriptor: (Ljava/util/List;)Lorg/apache/lucene/search/MatchesIterator;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.size:()I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 4
3: aload 0
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
areturn
4: StackMap locals:
StackMap stack:
new org.apache.lucene.search.DisjunctionMatchesIterator
dup
aload 0
invokespecial org.apache.lucene.search.DisjunctionMatchesIterator.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 mis Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;)Lorg/apache/lucene/search/MatchesIterator;
MethodParameters:
Name Flags
mis
private void <init>(java.util.List<org.apache.lucene.search.MatchesIterator>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.search.DisjunctionMatchesIterator.started:Z
2: aload 0
new org.apache.lucene.search.DisjunctionMatchesIterator$2
dup
aload 0
aload 1
invokeinterface java.util.List.size:()I
invokespecial org.apache.lucene.search.DisjunctionMatchesIterator$2.<init>:(Lorg/apache/lucene/search/DisjunctionMatchesIterator;I)V
putfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.apache.lucene.search.DisjunctionMatchesIterator java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
astore 2
start local 2 5: aload 2
invokeinterface org.apache.lucene.search.MatchesIterator.next:()Z
ifeq 7
6: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
aload 2
invokevirtual org.apache.lucene.util.PriorityQueue.add:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
0 9 1 matches Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;
5 7 2 mi Lorg/apache/lucene/search/MatchesIterator;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;)V
MethodParameters:
Name Flags
matches
public boolean next();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.started:Z
ifne 2
1: aload 0
iconst_1
dup_x1
putfield org.apache.lucene.search.DisjunctionMatchesIterator.started:Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.next:()Z
ifne 4
3: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.pop:()Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.size:()I
ifle 7
5: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.updateTop:()Ljava/lang/Object;
pop
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
Exceptions:
throws java.io.IOException
public int startPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.startPosition:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
public int endPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.endPosition:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
public int startOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.startOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
Exceptions:
throws java.io.IOException
public int endOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.endOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
Exceptions:
throws java.io.IOException
public org.apache.lucene.search.MatchesIterator getSubMatches();
descriptor: ()Lorg/apache/lucene/search/MatchesIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.getSubMatches:()Lorg/apache/lucene/search/MatchesIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
Exceptions:
throws java.io.IOException
public org.apache.lucene.search.Query getQuery();
descriptor: ()Lorg/apache/lucene/search/Query;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisjunctionMatchesIterator.queue:Lorg/apache/lucene/util/PriorityQueue;
invokevirtual org.apache.lucene.util.PriorityQueue.top:()Ljava/lang/Object;
checkcast org.apache.lucene.search.MatchesIterator
invokeinterface org.apache.lucene.search.MatchesIterator.getQuery:()Lorg/apache/lucene/search/Query;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisjunctionMatchesIterator;
}
SourceFile: "DisjunctionMatchesIterator.java"
NestMembers:
org.apache.lucene.search.DisjunctionMatchesIterator$1 org.apache.lucene.search.DisjunctionMatchesIterator$2
InnerClasses:
org.apache.lucene.search.DisjunctionMatchesIterator$1
org.apache.lucene.search.DisjunctionMatchesIterator$2