java.lang.Object
org.apache.lucene.index.StoredFieldsConsumer
- Direct Known Subclasses:
SortingStoredFieldsConsumer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Accountable
(package private) final Codec
(package private) final Directory
(package private) final SegmentInfo
private int
(package private) StoredFieldsWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
abort()
(package private) void
finish
(int maxDoc) (package private) void
(package private) void
flush
(SegmentWriteState state, Sorter.DocMap sortMap) protected void
(package private) void
startDocument
(int docID) (package private) void
writeField
(FieldInfo info, StoredValue value)
-
Field Details
-
codec
-
directory
-
info
-
writer
StoredFieldsWriter writer -
accountable
Accountable accountable -
lastDoc
private int lastDoc
-
-
Constructor Details
-
StoredFieldsConsumer
StoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)
-
-
Method Details
-
initStoredFieldsWriter
- Throws:
IOException
-
startDocument
- Throws:
IOException
-
writeField
- Throws:
IOException
-
finishDocument
- Throws:
IOException
-
finish
- Throws:
IOException
-
flush
- Throws:
IOException
-
abort
void abort()
-