org.apache.lucene.search
public abstract class FilteredTermEnum extends TermEnum
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
Constructor Summary | |
---|---|
FilteredTermEnum() |
Method Summary | |
---|---|
void | close() Closes the enumeration to further activity, freeing resources. |
protected abstract float | difference() Equality measure on the term |
int | docFreq()
Returns the docFreq of the current Term in the enumeration.
|
protected abstract boolean | endEnum() Indiciates the end of the enumeration has been reached |
boolean | next() Increments the enumeration to the next element. |
protected void | setEnum(TermEnum actualEnum) |
Term | term() Returns the current Term in the enumeration.
|
protected abstract boolean | termCompare(Term term) Equality compare on the term |