public abstract class BucketCollector
extends java.lang.Object
implements org.apache.lucene.search.Collector
| Modifier and Type | Field and Description |
|---|---|
static BucketCollector |
NO_OP_COLLECTOR |
| Constructor and Description |
|---|
BucketCollector() |
| Modifier and Type | Method and Description |
|---|---|
abstract LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) |
abstract void |
postCollection()
Post-collection callback.
|
abstract void |
preCollection()
Pre collection callback.
|
static BucketCollector |
wrap(java.lang.Iterable<? extends BucketCollector> collectorList)
Wrap the given collectors into a single instance.
|
public static final BucketCollector NO_OP_COLLECTOR
public static BucketCollector wrap(java.lang.Iterable<? extends BucketCollector> collectorList)
public abstract LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
getLeafCollector in interface org.apache.lucene.search.Collectorjava.io.IOExceptionpublic abstract void preCollection()
throws java.io.IOException
java.io.IOExceptionpublic abstract void postCollection()
throws java.io.IOException
java.io.IOException