com.browseengine.bobo.api
Class MappedFacetAccessible
java.lang.Object
com.browseengine.bobo.api.MappedFacetAccessible
- All Implemented Interfaces:
- FacetAccessible, Serializable
public class MappedFacetAccessible
- extends Object
- implements FacetAccessible, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedFacetAccessible
public MappedFacetAccessible(BrowseFacet[] facets)
getFacet
public BrowseFacet getFacet(String value)
- Description copied from interface:
FacetAccessible
- Gets the facet given a value. This is a way for random accessing into the facet data structure.
- Specified by:
getFacet in interface FacetAccessible
- Parameters:
value - Facet value
- Returns:
- a facet with count filled in
getFacets
public List<BrowseFacet> getFacets()
- Description copied from interface:
FacetAccessible
- Gets gathered top facets
- Specified by:
getFacets in interface FacetAccessible
- Returns:
- list of facets
close
public void close()
- Specified by:
close in interface FacetAccessible
iterator
public FacetIterator iterator()
- Description copied from interface:
FacetAccessible
- Returns an iterator to visit all the facets
- Specified by:
iterator in interface FacetAccessible
- Returns:
- Returns a FacetIterator to iterate over all the facets
Copyright © 2011. All Rights Reserved.