public class SimpleTextStoredFieldsWriter extends StoredFieldsWriter
FOR RECREATIONAL USE ONLY
StoredFieldsWriter.MergeVisitor
NULL_ACCOUNTABLE
Constructor and Description |
---|
SimpleTextStoredFieldsWriter(Directory directory,
String segment,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finish(FieldInfos fis,
int numDocs) |
long |
ramBytesUsed() |
void |
startDocument() |
void |
writeField(FieldInfo info,
IndexableField field) |
finishDocument, merge
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
public SimpleTextStoredFieldsWriter(Directory directory, String segment, IOContext context) throws IOException
IOException
public void startDocument() throws IOException
startDocument
in class StoredFieldsWriter
IOException
public void writeField(FieldInfo info, IndexableField field) throws IOException
writeField
in class StoredFieldsWriter
IOException
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 interface AutoCloseable
close
in class StoredFieldsWriter
IOException
public long ramBytesUsed()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.