com.senseidb.search.facet
Class UIDFacetHandler

java.lang.Object
  extended by com.browseengine.bobo.facets.FacetHandler<long[]>
      extended by com.senseidb.search.facet.UIDFacetHandler

public class UIDFacetHandler
extends com.browseengine.bobo.facets.FacetHandler<long[]>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.browseengine.bobo.facets.FacetHandler
com.browseengine.bobo.facets.FacetHandler.FacetDataNone, com.browseengine.bobo.facets.FacetHandler.TermCountSize
 
Field Summary
 
Fields inherited from class com.browseengine.bobo.facets.FacetHandler
_name
 
Constructor Summary
UIDFacetHandler(String name)
           
 
Method Summary
 com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessAndFilter(String[] vals, Properties prop)
           
 com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessFilter(String value, Properties selectionProperty)
           
 com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessOrFilter(String[] vals, Properties prop, boolean isNot)
           
 com.browseengine.bobo.sort.DocComparatorSource getDocComparatorSource()
           
 com.browseengine.bobo.facets.FacetCountCollectorSource getFacetCountCollectorSource(com.browseengine.bobo.api.BrowseSelection sel, com.browseengine.bobo.api.FacetSpec fspec)
           
 String[] getFieldValues(com.browseengine.bobo.api.BoboIndexReader reader, int id)
           
 Object[] getRawFieldValues(com.browseengine.bobo.api.BoboIndexReader reader, int id)
           
 long[] load(com.browseengine.bobo.api.BoboIndexReader reader)
           
 
Methods inherited from class com.browseengine.bobo.facets.FacetHandler
buildFilter, clone, getDependedFacetHandler, getDependsOn, getFacetCountCollectorSource, getFacetData, getFieldValue, getName, getNumItems, getTermCountSize, load, loadFacetData, loadFacetData, merge, putDependedFacetHandler, setTermCountSize, setTermCountSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDFacetHandler

public UIDFacetHandler(String name)
Method Detail

buildRandomAccessFilter

public com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessFilter(String value,
                                                                                      Properties selectionProperty)
                                                                               throws IOException
Specified by:
buildRandomAccessFilter in class com.browseengine.bobo.facets.FacetHandler<long[]>
Throws:
IOException

buildRandomAccessAndFilter

public com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessAndFilter(String[] vals,
                                                                                         Properties prop)
                                                                                  throws IOException
Overrides:
buildRandomAccessAndFilter in class com.browseengine.bobo.facets.FacetHandler<long[]>
Throws:
IOException

buildRandomAccessOrFilter

public com.browseengine.bobo.facets.filter.RandomAccessFilter buildRandomAccessOrFilter(String[] vals,
                                                                                        Properties prop,
                                                                                        boolean isNot)
                                                                                 throws IOException
Overrides:
buildRandomAccessOrFilter in class com.browseengine.bobo.facets.FacetHandler<long[]>
Throws:
IOException

getDocComparatorSource

public com.browseengine.bobo.sort.DocComparatorSource getDocComparatorSource()
Specified by:
getDocComparatorSource in class com.browseengine.bobo.facets.FacetHandler<long[]>

getFacetCountCollectorSource

public com.browseengine.bobo.facets.FacetCountCollectorSource getFacetCountCollectorSource(com.browseengine.bobo.api.BrowseSelection sel,
                                                                                           com.browseengine.bobo.api.FacetSpec fspec)
Specified by:
getFacetCountCollectorSource in class com.browseengine.bobo.facets.FacetHandler<long[]>

getFieldValues

public String[] getFieldValues(com.browseengine.bobo.api.BoboIndexReader reader,
                               int id)
Specified by:
getFieldValues in class com.browseengine.bobo.facets.FacetHandler<long[]>

getRawFieldValues

public Object[] getRawFieldValues(com.browseengine.bobo.api.BoboIndexReader reader,
                                  int id)
Overrides:
getRawFieldValues in class com.browseengine.bobo.facets.FacetHandler<long[]>

load

public long[] load(com.browseengine.bobo.api.BoboIndexReader reader)
            throws IOException
Specified by:
load in class com.browseengine.bobo.facets.FacetHandler<long[]>
Throws:
IOException


Copyright © 2010-2012. All Rights Reserved.