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 SegmentInfoprivate int(package private) StoredFieldsWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidabort()(package private) voidfinish(int maxDoc) (package private) void(package private) voidflush(SegmentWriteState state, Sorter.DocMap sortMap) protected void(package private) voidstartDocument(int docID) (package private) voidwriteField(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()
-