|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.facets.impl.RangeFacetCountCollector
public class RangeFacetCountCollector
| Field Summary |
|---|
| Fields inherited from interface com.browseengine.bobo.facets.FacetCountCollector |
|---|
EMPTY_FACET_LIST |
| Constructor Summary | |
|---|---|
protected |
RangeFacetCountCollector(String name,
FacetDataCache dataCache,
int docBase,
FacetSpec ospec,
List<String> predefinedRanges)
|
| Method Summary | |
|---|---|
void |
close()
|
void |
collect(int docid)
Collect a hit. |
void |
collectAll()
Collects all hits. |
int[] |
getCountDistribution()
gets distribution of the value arrays. |
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 RangeFacetCountCollector(String name,
FacetDataCache dataCache,
int docBase,
FacetSpec ospec,
List<String> predefinedRanges)
| Method Detail |
|---|
public int[] getCountDistribution()
getCountDistribution in interface FacetCountCollectorpublic String getName()
FacetCountCollector
getName 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 void close()
close in interface FacetAccessiblepublic FacetIterator iterator()
FacetAccessible
iterator in interface FacetAccessible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||