java.lang.Object | |||
↳ | org.apache.lucene.index.TermEnum | ||
↳ | org.apache.lucene.search.FilteredTermEnum | ||
↳ | org.apache.lucene.search.SingleTermEnum |
Subclass of FilteredTermEnum for enumerating a single term.
This can be used by MultiTermQuery
s that need only visit one term,
but want to preserve MultiTermQuery semantics such as
rewriteMethod
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.FilteredTermEnum
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
SingleTermEnum . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Equality measure on the term
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicates the end of the enumeration has been reached
| |||||||||||
Equality compare on the term
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.FilteredTermEnum
| |||||||||||
From class
org.apache.lucene.index.TermEnum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
Creates a new SingleTermEnum
.
After calling the constructor the enumeration is already pointing to the term, if it exists.
IOException |
---|
Equality measure on the term
Indicates the end of the enumeration has been reached