|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.grouping.AbstractGroupFacetCollector.GroupedFacetResult
public static class AbstractGroupFacetCollector.GroupedFacetResult
The grouped facet result. Containing grouped facet entries, total count and total missing count.
Constructor Summary | |
---|---|
AbstractGroupFacetCollector.GroupedFacetResult(int size,
int minCount,
boolean orderByCount,
int totalCount,
int totalMissingCount)
|
Method Summary | |
---|---|
void |
addFacetCount(BytesRef facetValue,
int count)
|
List<AbstractGroupFacetCollector.FacetEntry> |
getFacetEntries(int offset,
int limit)
Returns a list of facet entries to be rendered based on the specified offset and limit. |
int |
getTotalCount()
Returns the sum of all facet entries counts. |
int |
getTotalMissingCount()
Returns the number of groups that didn't have a facet value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGroupFacetCollector.GroupedFacetResult(int size, int minCount, boolean orderByCount, int totalCount, int totalMissingCount)
Method Detail |
---|
public void addFacetCount(BytesRef facetValue, int count)
public List<AbstractGroupFacetCollector.FacetEntry> getFacetEntries(int offset, int limit)
offset
- The offset in the collected facet entries during merginglimit
- The number of facets to return starting from the offset.
public int getTotalCount()
public int getTotalMissingCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |