|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.StoredFieldsReader
public abstract class StoredFieldsReader
Codec API for reading stored fields.
You need to implement visitDocument(int, StoredFieldVisitor)
to
read the stored fields for a document, implement clone()
(creating
clones of any IndexInputs used, etc), and Closeable.close()
Constructor Summary | |
---|---|
protected |
StoredFieldsReader()
Sole constructor. |
Method Summary | |
---|---|
abstract StoredFieldsReader |
clone()
|
abstract long |
ramBytesUsed()
Returns approximate RAM bytes used |
abstract void |
visitDocument(int n,
StoredFieldVisitor visitor)
Visit the stored fields for document n |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.Closeable |
---|
close |
Constructor Detail |
---|
protected StoredFieldsReader()
Method Detail |
---|
public abstract void visitDocument(int n, StoredFieldVisitor visitor) throws IOException
n
IOException
public abstract StoredFieldsReader clone()
clone
in class Object
public abstract long ramBytesUsed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |