public static class

FilterIndexReader.FilterTermEnum

extends TermEnum
java.lang.Object
   ↳ org.apache.lucene.index.TermEnum
     ↳ org.apache.lucene.index.FilterIndexReader.FilterTermEnum

Class Overview

Base class for filtering TermEnum implementations.

Summary

Fields
protected TermEnum in
Public Constructors
FilterIndexReader.FilterTermEnum(TermEnum in)
Public Methods
void close()
Closes the enumeration to further activity, freeing resources.
int docFreq()
Returns the docFreq of the current Term in the enumeration.
boolean next()
Increments the enumeration to the next element.
Term term()
Returns the current Term in the enumeration.
[Expand]
Inherited Methods
From class org.apache.lucene.index.TermEnum
From class java.lang.Object
From interface java.io.Closeable

Fields

protected TermEnum in

Public Constructors

public FilterIndexReader.FilterTermEnum (TermEnum in)

Public Methods

public void close ()

Closes the enumeration to further activity, freeing resources.

Throws
IOException

public int docFreq ()

Returns the docFreq of the current Term in the enumeration.

public boolean next ()

Increments the enumeration to the next element. True if one exists.

Throws
IOException

public Term term ()

Returns the current Term in the enumeration.