Package org.apache.lucene.index
Class DocConsumer
- java.lang.Object
-
- org.apache.lucene.index.DocConsumer
-
- All Implemented Interfaces:
Accountable
- Direct Known Subclasses:
DefaultIndexingChain
abstract class DocConsumer extends java.lang.Object implements Accountable
-
-
Field Summary
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
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)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
-
-
-
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.
-
-