Closeable, AutoCloseablepublic static class FilterIndexReader.FilterTermEnum extends TermEnum
TermEnum implementations.| Constructor | Description |
|---|---|
FilterTermEnum(TermEnum in) |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
protected TermEnum in
public FilterTermEnum(TermEnum in)
public boolean next()
throws IOException
TermEnumnext in class TermEnumIOExceptionpublic Term term()
TermEnumpublic int docFreq()
TermEnumpublic void close()
throws IOException
TermEnumclose in interface AutoCloseableclose in interface Closeableclose in class TermEnumIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.