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()
Returns approximate RAM bytes used
|
void |
visitDocument(int n,
StoredFieldVisitor visitor)
Visit the stored fields for document
n |
public SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException
IOExceptionpublic void visitDocument(int n,
StoredFieldVisitor visitor)
throws IOException
StoredFieldsReadernvisitDocument in class StoredFieldsReaderIOExceptionpublic StoredFieldsReader clone()
clone in class StoredFieldsReaderpublic void close()
throws IOException
IOExceptionpublic long ramBytesUsed()
StoredFieldsReaderramBytesUsed in class StoredFieldsReaderpublic void checkIntegrity()
throws 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 StoredFieldsReaderIOExceptionCopyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.