|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.index.TermEnum
org.apache.lucene.search.FilteredTermEnum
org.apache.lucene.search.regex.RegexTermEnum
public class RegexTermEnum
Subclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation.
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.search.FilteredTermEnum |
|---|
actualEnum, currentTerm |
| Constructor Summary | |
|---|---|
RegexTermEnum(IndexReader reader,
Term term,
RegexCapabilities regexImpl)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the enumeration to further activity, freeing resources. |
float |
difference()
Equality measure on the term |
boolean |
endEnum()
Indicates the end of the enumeration has been reached |
protected boolean |
termCompare(Term term)
Equality compare on the term |
| Methods inherited from class org.apache.lucene.search.FilteredTermEnum |
|---|
docFreq, next, setEnum, term |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexTermEnum(IndexReader reader,
Term term,
RegexCapabilities regexImpl)
throws IOException
IOException| Method Detail |
|---|
protected final boolean termCompare(Term term)
FilteredTermEnum
termCompare in class FilteredTermEnumpublic final float difference()
FilteredTermEnum
difference in class FilteredTermEnumpublic final boolean endEnum()
FilteredTermEnum
endEnum in class FilteredTermEnum
public void close()
throws IOException
FilteredTermEnum
close in interface Closeableclose in class FilteredTermEnumIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||