Closeable
, AutoCloseable
public class InstantiatedTermEnum extends TermEnum
TermEnum
navigating an InstantiatedIndexReader
.Constructor | Description |
---|---|
InstantiatedTermEnum(InstantiatedIndexReader reader) |
|
InstantiatedTermEnum(InstantiatedIndexReader reader,
int startPosition) |
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.
|
public InstantiatedTermEnum(InstantiatedIndexReader reader)
public InstantiatedTermEnum(InstantiatedIndexReader reader, int startPosition)
public boolean next()
public Term term()
public int docFreq()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.