public class SimpleTextStoredFieldsReader extends StoredFieldsReader
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextStoredFieldsReader(Directory directory,
SegmentInfo si,
FieldInfos fn,
IOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity()
Checks consistency of this reader.
|
StoredFieldsReader |
clone() |
void |
close() |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
java.lang.String |
toString() |
void |
visitDocument(int n,
StoredFieldVisitor visitor)
Visit the stored fields for document
docID |
getMergeInstanceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcespublic SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws java.io.IOException
java.io.IOExceptionpublic void visitDocument(int n,
StoredFieldVisitor visitor)
throws java.io.IOException
StoredFieldsReaderdocIDvisitDocument in class StoredFieldsReaderjava.io.IOExceptionpublic StoredFieldsReader clone()
clone in class StoredFieldsReaderpublic 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
StoredFieldsReaderNote 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 StoredFieldsReaderjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.