Package org.apache.lucene.index
Class DocConsumer
- java.lang.Object
-
- org.apache.lucene.index.DocConsumer
-
- Direct Known Subclasses:
DefaultIndexingChain
abstract class DocConsumer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DocConsumer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract voidabort()(package private) abstract Sorter.DocMapflush(SegmentWriteState state)(package private) abstract DocIdSetIteratorgetHasDocValues(java.lang.String field)Returns aDocIdSetIteratorfor the given field or null if the field doesn't have doc values.(package private) abstract voidprocessDocument(int docId, java.lang.Iterable<? extends IndexableField> document)
-
-
-
Method Detail
-
processDocument
abstract void processDocument(int docId, java.lang.Iterable<? extends IndexableField> document) throws java.io.IOException- Throws:
java.io.IOException
-
flush
abstract Sorter.DocMap flush(SegmentWriteState state) throws java.io.IOException
- Throws:
java.io.IOException
-
abort
abstract void abort() throws java.io.IOException- Throws:
java.io.IOException
-
getHasDocValues
abstract DocIdSetIterator getHasDocValues(java.lang.String field)
Returns aDocIdSetIteratorfor the given field or null if the field doesn't have doc values.
-
-