Package org.apache.lucene.index
Class DocConsumer
java.lang.Object
org.apache.lucene.index.DocConsumer
- All Implemented Interfaces:
Accountable
- Direct Known Subclasses:
DefaultIndexingChain
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidabort()(package private) abstract Sorter.DocMapflush(SegmentWriteState state) (package private) abstract DocIdSetIteratorgetHasDocValues(String field) Returns aDocIdSetIteratorfor the given field or null if the field doesn't have doc values.(package private) abstract voidprocessDocument(int docId, Iterable<? extends IndexableField> document) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
Constructor Details
-
DocConsumer
DocConsumer()
-
-
Method Details
-
processDocument
abstract void processDocument(int docId, Iterable<? extends IndexableField> document) throws IOException - Throws:
IOException
-
flush
- Throws:
IOException
-
abort
- Throws:
IOException
-
getHasDocValues
Returns aDocIdSetIteratorfor the given field or null if the field doesn't have doc values.
-