|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.facets.impl.PathFacetCountCollector
public class PathFacetCountCollector
| Field Summary | |
|---|---|
protected int[] |
_count
|
protected FacetDataCache |
_dataCache
|
| Fields inherited from interface com.browseengine.bobo.facets.FacetCountCollector |
|---|
EMPTY_FACET_LIST |
| Method Summary | |
|---|---|
void |
close()
|
void |
collect(int docid)
Collect a hit. |
void |
collectAll()
Collects all hits. |
int[] |
getCountDistribution()
Returns an integer array representing the distribution function of a given facet. |
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 |
boolean |
splitString(String input)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int[] _count
protected final FacetDataCache _dataCache
| Method Detail |
|---|
public int[] getCountDistribution()
FacetCountCollector
getCountDistribution in interface FacetCountCollectorpublic String getName()
FacetCountCollector
getName in interface FacetCountCollectorpublic void collect(int docid)
FacetCountCollector
collect in interface FacetCountCollectordocid - docpublic void collectAll()
FacetCountCollector
collectAll in interface FacetCountCollectorpublic BrowseFacet getFacet(String value)
FacetAccessible
getFacet in interface FacetAccessiblevalue - Facet value
public boolean splitString(String input)
public 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 | |||||||||