Class SimpleTextStoredFieldsReader
- java.lang.Object
-
- org.apache.lucene.codecs.StoredFieldsReader
-
- org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Cloneable
public class SimpleTextStoredFieldsReader extends StoredFieldsReader
reads plaintext stored fieldsFOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkIntegrity()
StoredFieldsReader
clone()
void
close()
String
toString()
void
visitDocument(int n, StoredFieldVisitor visitor)
-
Methods inherited from class org.apache.lucene.codecs.StoredFieldsReader
getMergeInstance
-
-
-
-
Constructor Detail
-
SimpleTextStoredFieldsReader
public SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) throws IOException
- Throws:
IOException
-
-
Method Detail
-
visitDocument
public void visitDocument(int n, StoredFieldVisitor visitor) throws IOException
- Specified by:
visitDocument
in classStoredFieldsReader
- Throws:
IOException
-
clone
public StoredFieldsReader clone()
- Specified by:
clone
in classStoredFieldsReader
-
close
public void close() throws IOException
- Throws:
IOException
-
checkIntegrity
public void checkIntegrity() throws IOException
- Specified by:
checkIntegrity
in classStoredFieldsReader
- Throws:
IOException
-
-