public class SimpleTextStoredFieldsWriter extends StoredFieldsWriter
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextStoredFieldsWriter(Directory directory,
String segment,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
close() |
void |
finish(FieldInfos fis,
int numDocs) |
void |
startDocument(int numStoredFields) |
void |
writeField(FieldInfo info,
IndexableField field) |
addDocument, finishDocument, merge
public SimpleTextStoredFieldsWriter(Directory directory, String segment, IOContext context) throws IOException
IOException
public void startDocument(int numStoredFields) throws IOException
startDocument
in class StoredFieldsWriter
IOException
public void writeField(FieldInfo info, IndexableField field) throws IOException
writeField
in class StoredFieldsWriter
IOException
public void abort()
abort
in class StoredFieldsWriter
public void finish(FieldInfos fis, int numDocs) throws IOException
finish
in class StoredFieldsWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in class StoredFieldsWriter
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.