public interface Category extends Topic
Use the id of the category for the refinements
Modifier and Type | Interface and Description |
---|---|
static class |
Category.CategoryAlphanumComparator |
static class |
Category.CategoryCountComparator |
static class |
Category.CategoryNumComparator |
static class |
Category.CategoryReducer |
static class |
Category.CategoryScoreComparator |
Topic.State
Modifier and Type | Method and Description |
---|---|
java.util.List<Category> |
getCategories()
Get the children of this category.
|
java.lang.String |
getData()
Get the data attached to the category.
|
int |
getDepthFromGroupRoot()
Get the depth in the tree of this category, relative to the root of the
facet.
|
double |
getDoubleAggregationValue(int idx)
Get the value of an aggregation function on this category.
|
double |
getDoubleAggregationValue(java.lang.String id)
Get the value of an aggregation function on this category.
|
java.lang.String |
getId()
Get the id of the category.
|
java.util.Map<java.lang.String,java.lang.String> |
getInfos()
Get some additional information about this category.
|
long |
getLongAggregationValue(int idx)
Get the value of an aggregation function on this category.
|
long |
getLongAggregationValue(java.lang.String id)
Get the value of an aggregation function on this category.
|
long |
getNbClippedChildren()
Number of direct children clipped from the results.
|
Category |
getParent()
Get the parent of this category within the category tree (eg: for the
category with the following path "Top/Source/nntp/microsoft" the parent
category returned will have the following path "Top/Source/nntp"
|
java.lang.String |
getPath()
Get the full path of the category within the category tree (eg:
"Top/Author/Martin").
|
java.lang.String |
getStringAggregationValue(int idx)
Get the value of an aggregation function on this category.
|
java.lang.String |
getStringAggregationValue(java.lang.String id)
Get the value of an aggregation function on this category.
|
java.lang.String |
getTitle()
Returns the 'title' of the category.
|
java.lang.String getPath()
java.lang.String getTitle()
java.lang.String getId()
SearchParameter.REFINE
). It can be prefixed by "+" for
a regular refinement.java.lang.String getData()
long getNbClippedChildren()
Category getParent()
java.util.Map<java.lang.String,java.lang.String> getInfos()
java.util.List<Category> getCategories()
long getLongAggregationValue(java.lang.String id) throws SearchClientException
SearchClientException
long getLongAggregationValue(int idx) throws SearchClientException
SearchClientException
double getDoubleAggregationValue(java.lang.String id) throws SearchClientException
SearchClientException
double getDoubleAggregationValue(int idx) throws SearchClientException
SearchClientException
java.lang.String getStringAggregationValue(java.lang.String id) throws SearchClientException
SearchClientException
java.lang.String getStringAggregationValue(int idx) throws SearchClientException
SearchClientException
int getDepthFromGroupRoot()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.