|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.facets.FacetHandler<FacetDataCache>
com.browseengine.bobo.facets.impl.PathFacetHandler
public class PathFacetHandler
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.browseengine.bobo.facets.FacetHandler |
|---|
FacetHandler.FacetDataNone, FacetHandler.TermCountSize |
| Field Summary | |
|---|---|
static String |
SEL_PROP_NAME_DEPTH
|
static String |
SEL_PROP_NAME_STRICT
|
| Fields inherited from class com.browseengine.bobo.facets.FacetHandler |
|---|
_name |
| Constructor Summary | |
|---|---|
PathFacetHandler(String name)
|
|
PathFacetHandler(String name,
boolean multiValue)
|
|
PathFacetHandler(String name,
String indexedName,
boolean multiValue)
|
|
| Method Summary | |
|---|---|
RandomAccessFilter |
buildRandomAccessAndFilter(String[] vals,
Properties prop)
|
RandomAccessFilter |
buildRandomAccessFilter(String value,
Properties props)
|
RandomAccessFilter |
buildRandomAccessOrFilter(String[] vals,
Properties prop,
boolean isNot)
|
static int |
getDepth(Properties selectionProp)
Gets the depth. |
DocComparatorSource |
getDocComparatorSource()
builds a comparator to determine how sorting is done |
FacetCountCollectorSource |
getFacetCountCollectorSource(BrowseSelection sel,
FacetSpec ospec)
Gets a FacetCountCollector |
String[] |
getFieldValues(BoboIndexReader reader,
int id)
Gets the field value |
Object[] |
getRawFieldValues(BoboIndexReader reader,
int id)
|
String |
getSeparator()
|
static boolean |
isStrict(Properties selectionProp)
Gets if strict applied for counting. |
FacetDataCache |
load(BoboIndexReader reader)
Load information from an index reader, initialized by BoboIndexReader |
static void |
setDepth(Properties props,
int depth)
Sets the depth. |
void |
setSeparator(String separator)
|
static void |
setStrict(Properties props,
boolean strict)
Sets is strict applied for counting. |
| Methods inherited from class com.browseengine.bobo.facets.FacetHandler |
|---|
buildFilter, clone, getDependedFacetHandler, getDependsOn, getFacetData, getFieldValue, getName, 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 |
| Field Detail |
|---|
public static final String SEL_PROP_NAME_STRICT
public static final String SEL_PROP_NAME_DEPTH
| Constructor Detail |
|---|
public PathFacetHandler(String name)
public PathFacetHandler(String name,
boolean multiValue)
public PathFacetHandler(String name,
String indexedName,
boolean multiValue)
| Method Detail |
|---|
public static void setStrict(Properties props,
boolean strict)
strict - is strict applied
public static void setDepth(Properties props,
int depth)
depth - depthpublic static boolean isStrict(Properties selectionProp)
public static int getDepth(Properties selectionProp)
public DocComparatorSource getDocComparatorSource()
FacetHandler
getDocComparatorSource in class FacetHandler<FacetDataCache>
public String[] getFieldValues(BoboIndexReader reader,
int id)
FacetHandler
getFieldValues in class FacetHandler<FacetDataCache>reader - index readerid - doc
FacetHandler.getFieldValue(BoboIndexReader,int)
public Object[] getRawFieldValues(BoboIndexReader reader,
int id)
getRawFieldValues in class FacetHandler<FacetDataCache>public void setSeparator(String separator)
public String getSeparator()
public RandomAccessFilter buildRandomAccessFilter(String value,
Properties props)
throws IOException
buildRandomAccessFilter in class FacetHandler<FacetDataCache>IOException
public RandomAccessFilter buildRandomAccessAndFilter(String[] vals,
Properties prop)
throws IOException
buildRandomAccessAndFilter in class FacetHandler<FacetDataCache>IOException
public RandomAccessFilter buildRandomAccessOrFilter(String[] vals,
Properties prop,
boolean isNot)
throws IOException
buildRandomAccessOrFilter in class FacetHandler<FacetDataCache>IOException
public FacetCountCollectorSource getFacetCountCollectorSource(BrowseSelection sel,
FacetSpec ospec)
FacetHandler
getFacetCountCollectorSource in class FacetHandler<FacetDataCache>sel - selectionospec - facetSpec
public FacetDataCache load(BoboIndexReader reader)
throws IOException
FacetHandlerBoboIndexReader
load in class FacetHandler<FacetDataCache>reader - reader
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||