public class HashedAggregator extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
HashedAggregator.BytesRefCountIterator |
Constructor and Description |
---|
HashedAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(org.apache.lucene.util.BytesRef value,
int hashCode) |
static InternalFacet |
buildFacet(String facetName,
int size,
int shardSize,
long missing,
long total,
TermsFacet.ComparatorType comparatorType,
HashedAggregator aggregator) |
HashedAggregator.BytesRefCountIterator |
getIter() |
boolean |
isEmpty() |
int |
missing() |
void |
onDoc(int docId,
SortedBinaryDocValues values) |
protected void |
onValue(int docId,
org.apache.lucene.util.BytesRef value,
int hashCode) |
void |
release() |
int |
total() |
public void onDoc(int docId, SortedBinaryDocValues values)
public void addValue(org.apache.lucene.util.BytesRef value, int hashCode)
protected void onValue(int docId, org.apache.lucene.util.BytesRef value, int hashCode)
public final int missing()
public final int total()
public final boolean isEmpty()
public HashedAggregator.BytesRefCountIterator getIter()
public void release()
public static InternalFacet buildFacet(String facetName, int size, int shardSize, long missing, long total, TermsFacet.ComparatorType comparatorType, HashedAggregator aggregator)
Copyright © 2009–2015. All rights reserved.