public class PrefixTermEnum extends FilteredTermEnum
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
actualEnum, currentTerm
Constructor and Description |
---|
PrefixTermEnum(IndexReader reader,
Term prefix) |
Modifier and Type | Method and Description |
---|---|
float |
difference()
Equality measure on the term
|
protected boolean |
endEnum()
Indicates the end of the enumeration has been reached
|
protected Term |
getPrefixTerm() |
protected boolean |
termCompare(Term term)
Equality compare on the term
|
public PrefixTermEnum(IndexReader reader, Term prefix) throws IOException
IOException
public float difference()
FilteredTermEnum
difference
in class FilteredTermEnum
protected boolean endEnum()
FilteredTermEnum
endEnum
in class FilteredTermEnum
protected Term getPrefixTerm()
protected boolean termCompare(Term term)
FilteredTermEnum
termCompare
in class FilteredTermEnum