public abstract class StoredFieldsReader extends Object implements Cloneable, Closeable
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()
Modifier | Constructor and Description |
---|---|
protected |
StoredFieldsReader()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
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 |
protected StoredFieldsReader()
public abstract void visitDocument(int n, StoredFieldVisitor visitor) throws IOException
n
IOException
public abstract StoredFieldsReader clone()
public abstract long ramBytesUsed()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.