final class SortingStoredFieldsConsumer extends StoredFieldsConsumer
Modifier and Type | Class and Description |
---|---|
private static class |
SortingStoredFieldsConsumer.CopyVisitor
A visitor that copies every field it sees in the provided
StoredFieldsWriter . |
Modifier and Type | Field and Description |
---|---|
(package private) TrackingTmpOutputDirectoryWrapper |
tmpDirectory |
docWriter, lastDoc, writer
Constructor and Description |
---|
SortingStoredFieldsConsumer(DocumentsWriterPerThread docWriter) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
abort() |
(package private) void |
flush(SegmentWriteState state,
Sorter.DocMap sortMap) |
protected void |
initStoredFieldsWriter() |
finish, finishDocument, startDocument, writeField
TrackingTmpOutputDirectoryWrapper tmpDirectory
SortingStoredFieldsConsumer(DocumentsWriterPerThread docWriter)
protected void initStoredFieldsWriter() throws java.io.IOException
initStoredFieldsWriter
in class StoredFieldsConsumer
java.io.IOException
void flush(SegmentWriteState state, Sorter.DocMap sortMap) throws java.io.IOException
flush
in class StoredFieldsConsumer
java.io.IOException
void abort()
abort
in class StoredFieldsConsumer