com.browseengine.bobo.facets.impl
Class MultiValuedPathFacetCountCollector

java.lang.Object
  extended by com.browseengine.bobo.facets.impl.PathFacetCountCollector
      extended by com.browseengine.bobo.facets.impl.MultiValuedPathFacetCountCollector
All Implemented Interfaces:
FacetAccessible, FacetCountCollector

public class MultiValuedPathFacetCountCollector
extends PathFacetCountCollector


Field Summary
 
Fields inherited from class com.browseengine.bobo.facets.impl.PathFacetCountCollector
_count, _dataCache
 
Fields inherited from interface com.browseengine.bobo.facets.FacetCountCollector
EMPTY_FACET_LIST
 
Constructor Summary
MultiValuedPathFacetCountCollector(String name, String sep, BrowseSelection sel, FacetSpec ospec, FacetDataCache dataCache)
           
 
Method Summary
 void collect(int docid)
          Collect a hit.
 void collectAll()
          Collects all hits.
 
Methods inherited from class com.browseengine.bobo.facets.impl.PathFacetCountCollector
close, getCountDistribution, getFacet, getFacets, getName, iterator, splitString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiValuedPathFacetCountCollector

public MultiValuedPathFacetCountCollector(String name,
                                          String sep,
                                          BrowseSelection sel,
                                          FacetSpec ospec,
                                          FacetDataCache dataCache)
Method Detail

collect

public final void collect(int docid)
Description copied from interface: FacetCountCollector
Collect a hit. This is called for every hit, thus the implementation needs to be super-optimized.

Specified by:
collect in interface FacetCountCollector
Overrides:
collect in class PathFacetCountCollector
Parameters:
docid - doc

collectAll

public final void collectAll()
Description copied from interface: FacetCountCollector
Collects all hits. This is called once per request by the facet engine in certain scenarios.

Specified by:
collectAll in interface FacetCountCollector
Overrides:
collectAll in class PathFacetCountCollector


Copyright © 2011. All Rights Reserved.