public class SimpleTextTermVectorsReader extends TermVectorsReader
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextTermVectorsReader(Directory directory,
SegmentInfo si,
IOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity()
Checks consistency of this reader.
|
TermVectorsReader |
clone()
Create a clone that one caller at a time may use to
read term vectors.
|
void |
close() |
Fields |
get(int doc)
Returns term vectors for this document, or null if
term vectors were not indexed.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
java.lang.String |
toString() |
getMergeInstanceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcespublic SimpleTextTermVectorsReader(Directory directory, SegmentInfo si, IOContext context) throws java.io.IOException
java.io.IOExceptionpublic Fields get(int doc) throws java.io.IOException
TermVectorsReaderOffsetAttribute
available from the PostingsEnum.get in class TermVectorsReaderjava.io.IOExceptionpublic TermVectorsReader clone()
TermVectorsReaderclone in class TermVectorsReaderpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic long ramBytesUsed()
Accountablepublic java.lang.String toString()
toString in class java.lang.Objectpublic void checkIntegrity()
throws java.io.IOException
TermVectorsReaderNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity in class TermVectorsReaderjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.