com.browseengine.bobo.api
Interface FacetAccessible

All Known Subinterfaces:
FacetCountCollector
All Known Implementing Classes:
CombinedFacetAccessible, DefaultFacetCountCollector, GeoFacetCountCollector, GeoSimpleFacetCountCollector, HistogramFacetHandler.HistogramCollector, MappedFacetAccessible, MultiValuedPathFacetCountCollector, MultiValueFacetHandler.MultiValueFacetCountCollector, PathFacetCountCollector, RangeFacetCountCollector, SimpleFacetHandler.SimpleFacetCountCollector

public interface FacetAccessible


Method Summary
 void close()
           
 BrowseFacet getFacet(String value)
          Gets the facet given a value.
 List<BrowseFacet> getFacets()
          Gets gathered top facets
 FacetIterator iterator()
          Returns an iterator to visit all the facets
 

Method Detail

getFacets

List<BrowseFacet> getFacets()
Gets gathered top facets

Returns:
list of facets

getFacet

BrowseFacet getFacet(String value)
Gets the facet given a value. This is a way for random accessing into the facet data structure.

Parameters:
value - Facet value
Returns:
a facet with count filled in

close

void close()

iterator

FacetIterator iterator()
Returns an iterator to visit all the facets

Returns:
Returns a FacetIterator to iterate over all the facets


Copyright © 2011. All Rights Reserved.