|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.facets.impl.HistogramFacetHandler.HistogramCollector<T>
public static class HistogramFacetHandler.HistogramCollector<T extends Number>
| Field Summary |
|---|
| Fields inherited from interface com.browseengine.bobo.facets.FacetCountCollector |
|---|
EMPTY_FACET_LIST |
| Constructor Summary | |
|---|---|
protected |
HistogramFacetHandler.HistogramCollector(FacetCountCollector baseCollector,
FacetDataCache<?> dataCache,
FacetSpec ospec,
T start,
T end,
T unit)
|
| Method Summary | |
|---|---|
void |
close()
|
void |
collect(int docid)
Collect a hit. |
void |
collectAll()
Collects all hits. |
int[] |
getCountDistribution()
not supported |
BrowseFacet |
getFacet(String value)
Gets the facet given a value. |
List<BrowseFacet> |
getFacets()
Gets gathered top facets |
String |
getName()
Gets the name of the facet |
FacetIterator |
iterator()
Returns an iterator to visit all the facets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HistogramFacetHandler.HistogramCollector(FacetCountCollector baseCollector,
FacetDataCache<?> dataCache,
FacetSpec ospec,
T start,
T end,
T unit)
| Method Detail |
|---|
public int[] getCountDistribution()
getCountDistribution in interface FacetCountCollectorpublic BrowseFacet getFacet(String value)
FacetAccessible
getFacet in interface FacetAccessiblevalue - Facet value
public final void collect(int docid)
FacetCountCollector
collect in interface FacetCountCollectordocid - docpublic final void collectAll()
FacetCountCollector
collectAll in interface FacetCountCollectorpublic List<BrowseFacet> getFacets()
FacetAccessible
getFacets in interface FacetAccessiblepublic FacetIterator iterator()
FacetAccessible
iterator in interface FacetAccessiblepublic String getName()
FacetCountCollector
getName in interface FacetCountCollectorpublic void close()
close in interface FacetAccessible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||