Package org.apache.lucene.index
Class SortingStoredFieldsConsumer
java.lang.Object
org.apache.lucene.index.StoredFieldsConsumer
org.apache.lucene.index.SortingStoredFieldsConsumer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
A visitor that copies every field it sees in the providedStoredFieldsWriter
. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final CompressionMode
private static final StoredFieldsFormat
(package private) TrackingTmpOutputDirectoryWrapper
Fields inherited from class org.apache.lucene.index.StoredFieldsConsumer
accountable, codec, directory, info, writer
-
Constructor Summary
ConstructorsConstructorDescriptionSortingStoredFieldsConsumer
(Codec codec, Directory directory, SegmentInfo info) -
Method Summary
Modifier and TypeMethodDescription(package private) void
abort()
(package private) void
flush
(SegmentWriteState state, Sorter.DocMap sortMap) protected void
Methods inherited from class org.apache.lucene.index.StoredFieldsConsumer
finish, finishDocument, startDocument, writeField
-
Field Details
-
NO_COMPRESSION
-
TEMP_STORED_FIELDS_FORMAT
-
tmpDirectory
TrackingTmpOutputDirectoryWrapper tmpDirectory
-
-
Constructor Details
-
SortingStoredFieldsConsumer
SortingStoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)
-
-
Method Details
-
initStoredFieldsWriter
- Overrides:
initStoredFieldsWriter
in classStoredFieldsConsumer
- Throws:
IOException
-
flush
- Overrides:
flush
in classStoredFieldsConsumer
- Throws:
IOException
-
abort
void abort()- Overrides:
abort
in classStoredFieldsConsumer
-