public abstract class BucketCollector extends 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(Iterable<? extends BucketCollector> collectorList)
Wrap the given collectors into a single instance.
|
public static final BucketCollector NO_OP_COLLECTOR
public static BucketCollector wrap(Iterable<? extends BucketCollector> collectorList)
public abstract LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getLeafCollector
in interface org.apache.lucene.search.Collector
IOException
public abstract void preCollection() throws IOException
IOException
public abstract void postCollection() throws IOException
IOException
Copyright © 2009–2016. All rights reserved.