Package org.apache.lucene.index
Class SortingStoredFieldsConsumer
- java.lang.Object
-
- org.apache.lucene.index.StoredFieldsConsumer
-
- org.apache.lucene.index.SortingStoredFieldsConsumer
-
final class SortingStoredFieldsConsumer extends StoredFieldsConsumer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classSortingStoredFieldsConsumer.CopyVisitorA visitor that copies every field it sees in the providedStoredFieldsWriter.
-
Field Summary
Fields Modifier and Type Field Description (package private) static CompressionModeNO_COMPRESSIONprivate static StoredFieldsFormatTEMP_STORED_FIELDS_FORMAT(package private) TrackingTmpOutputDirectoryWrappertmpDirectory-
Fields inherited from class org.apache.lucene.index.StoredFieldsConsumer
accountable, codec, directory, info, writer
-
-
Constructor Summary
Constructors Constructor Description SortingStoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidabort()(package private) voidflush(SegmentWriteState state, Sorter.DocMap sortMap)protected voidinitStoredFieldsWriter()-
Methods inherited from class org.apache.lucene.index.StoredFieldsConsumer
finish, finishDocument, startDocument, writeField
-
-
-
-
Field Detail
-
NO_COMPRESSION
static final CompressionMode NO_COMPRESSION
-
TEMP_STORED_FIELDS_FORMAT
private static final StoredFieldsFormat TEMP_STORED_FIELDS_FORMAT
-
tmpDirectory
TrackingTmpOutputDirectoryWrapper tmpDirectory
-
-
Constructor Detail
-
SortingStoredFieldsConsumer
SortingStoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)
-
-
Method Detail
-
initStoredFieldsWriter
protected void initStoredFieldsWriter() throws java.io.IOException- Overrides:
initStoredFieldsWriterin classStoredFieldsConsumer- Throws:
java.io.IOException
-
flush
void flush(SegmentWriteState state, Sorter.DocMap sortMap) throws java.io.IOException
- Overrides:
flushin classStoredFieldsConsumer- Throws:
java.io.IOException
-
abort
void abort()
- Overrides:
abortin classStoredFieldsConsumer
-
-