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, writeFieldTrackingTmpOutputDirectoryWrapper tmpDirectory
SortingStoredFieldsConsumer(DocumentsWriterPerThread docWriter)
protected void initStoredFieldsWriter()
throws java.io.IOException
initStoredFieldsWriter in class StoredFieldsConsumerjava.io.IOExceptionvoid flush(SegmentWriteState state, Sorter.DocMap sortMap) throws java.io.IOException
flush in class StoredFieldsConsumerjava.io.IOExceptionvoid abort()
abort in class StoredFieldsConsumer