Class FilteredTermsEnum

java.lang.Object
org.apache.lucene.index.TermsEnum
org.apache.lucene.index.FilteredTermsEnum
All Implemented Interfaces:
BytesRefIterator
Direct Known Subclasses:
AutomatonTermsEnum, SingleTermsEnum

public abstract class FilteredTermsEnum extends TermsEnum
Abstract class for enumerating a subset of all terms.

Term enumerations are always ordered by BytesRef.compareTo(org.apache.lucene.util.BytesRef). Each term in the enumeration is greater than all that precede it.

Please note: Consumers of this enum cannot call seek(), it is forward only; it throws UnsupportedOperationException when a seeking method is called.