org.apache.lucene.store.instantiated
public class InstantiatedTermEnum extends org.apache.lucene.index.TermEnum
TermEnum
navigating an InstantiatedIndexReader
.Constructor and Description |
---|
InstantiatedTermEnum(InstantiatedIndexReader reader) |
InstantiatedTermEnum(InstantiatedIndexReader reader,
int startPosition) |
Modifier and Type | Method and 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.
|
boolean |
skipTo(org.apache.lucene.index.Term target) |
org.apache.lucene.index.Term |
term()
Returns the current Term in the enumeration.
|
public InstantiatedTermEnum(InstantiatedIndexReader reader)
public InstantiatedTermEnum(InstantiatedIndexReader reader, int startPosition)
public boolean next()
next
in class org.apache.lucene.index.TermEnum
public org.apache.lucene.index.Term term()
term
in class org.apache.lucene.index.TermEnum
public int docFreq()
docFreq
in class org.apache.lucene.index.TermEnum
public void close()
close
in class org.apache.lucene.index.TermEnum
public boolean skipTo(org.apache.lucene.index.Term target) throws java.io.IOException
skipTo
in class org.apache.lucene.index.TermEnum
java.io.IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.