|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.codecs.TermVectorsReader
org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader
public class Lucene40TermVectorsReader
Lucene 4.0 Term Vectors reader.
It reads .tvd, .tvf, and .tvx files.
Lucene40TermVectorsFormat| Constructor Summary | |
|---|---|
Lucene40TermVectorsReader(Directory d,
SegmentInfo si,
FieldInfos fieldInfos,
IOContext context)
Sole constructor. |
|
| Method Summary | |
|---|---|
TermVectorsReader |
clone()
Create a clone that one caller at a time may use to read term vectors. |
void |
close()
|
Fields |
get(int docID)
Returns term vectors for this document, or null if term vectors were not indexed. |
long |
ramBytesUsed()
Returns approximate RAM bytes used |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Lucene40TermVectorsReader(Directory d,
SegmentInfo si,
FieldInfos fieldInfos,
IOContext context)
throws IOException
IOException| Method Detail |
|---|
public void close()
throws IOException
close in interface CloseableIOException
public Fields get(int docID)
throws IOException
TermVectorsReaderOffsetAttribute
available from the DocsAndPositionsEnum.
get in class TermVectorsReaderIOExceptionpublic TermVectorsReader clone()
TermVectorsReader
clone in class TermVectorsReaderpublic long ramBytesUsed()
TermVectorsReader
ramBytesUsed in class TermVectorsReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||