public class EnumFacetGroupImpl extends java.lang.Object implements CategoryGroup, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
com.exalead.search.internal.answer.HitEnumFacet |
fleaHitEnumFacet |
Constructor and Description |
---|
EnumFacetGroupImpl(com.exalead.search.internal.answer.HitEnumFacet facet) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
additionalFacetData()
Get optional additional facet data in the form of a FLEA object.
|
Hierarchical2DFacet |
asHierarchical2DFacet()
Get a hierarchical 2D representation of the CategoryGroup.
|
MultiDimensionFacet |
asMultiDimensionFacet()
Get a MultiDimensionFacet representation of the CategoryGroup.
|
java.util.Iterator<Category> |
categoryTreeIterator()
Deprecated.
|
java.util.List<AggregationFunction> |
getAggregationFunctions() |
java.util.List<Category> |
getCategories()
Get the top-level categories in this facet.
|
java.util.List<CategoryGroupInfo> |
getCategoryGroupInfos()
Get the list of associated extra informations
|
java.lang.Iterable<Category> |
getCategoryTree() |
java.lang.Long |
getCount() |
double |
getDoubleAggregationValue(int idx)
Get the value of an aggregation function for the whole group.
|
double |
getDoubleAggregationValue(java.lang.String id)
Get the value of an aggregation function for the whole group.
|
java.lang.Long |
getGlobalCount() |
java.lang.Iterable<Category> |
getLeafCategories() |
long |
getLongAggregationValue(int idx)
Get the value of an aggregation function for the whole group.
|
long |
getLongAggregationValue(java.lang.String id)
Get the value of an aggregation function for the whole group.
|
java.lang.String |
getName()
Get the name, or identifier of this category group.
|
java.lang.Long |
getNbClippedCategories() |
java.lang.String |
getRefinementPolicy()
Get the associated refinement policy
|
java.lang.String |
getRoot()
Get the root path of this facet.
|
java.lang.String |
getStringAggregationValue(int idx)
Get the value of an aggregation function for the whole group.
|
java.lang.String |
getStringAggregationValue(java.lang.String id)
Get the value of an aggregation function for the whole group.
|
java.lang.Long |
getTotalClippedCategories() |
java.lang.String |
getType()
Get the associated facet type
|
boolean |
isRefinable() |
java.util.Iterator<Category> |
leafCategoriesIterator()
Deprecated.
|
public com.exalead.search.internal.answer.HitEnumFacet fleaHitEnumFacet
public EnumFacetGroupImpl(com.exalead.search.internal.answer.HitEnumFacet facet)
public java.lang.String getName()
CategoryGroup
getName
in interface CategoryGroup
public java.lang.String getRoot()
CategoryGroup
getRoot
in interface CategoryGroup
public java.util.List<Category> getCategories()
CategoryGroup
Category
getCategories
in interface CategoryGroup
public java.lang.Iterable<Category> getCategoryTree()
getCategoryTree
in interface CategoryGroup
@Deprecated public java.util.Iterator<Category> categoryTreeIterator()
categoryTreeIterator
in interface CategoryGroup
public java.lang.Iterable<Category> getLeafCategories()
getLeafCategories
in interface CategoryGroup
@Deprecated public java.util.Iterator<Category> leafCategoriesIterator()
leafCategoriesIterator
in interface CategoryGroup
public java.util.List<AggregationFunction> getAggregationFunctions()
getAggregationFunctions
in interface CategoryGroup
public java.lang.Long getCount()
getCount
in interface CategoryGroup
public java.lang.Long getGlobalCount()
getGlobalCount
in interface CategoryGroup
public java.lang.Long getNbClippedCategories()
getNbClippedCategories
in interface CategoryGroup
public java.lang.Long getTotalClippedCategories()
getTotalClippedCategories
in interface CategoryGroup
public long getLongAggregationValue(java.lang.String id) throws SearchClientException
CategoryGroup
getLongAggregationValue
in interface CategoryGroup
SearchClientException
public long getLongAggregationValue(int idx) throws SearchClientException
CategoryGroup
getLongAggregationValue
in interface CategoryGroup
SearchClientException
public double getDoubleAggregationValue(java.lang.String id) throws SearchClientException
CategoryGroup
getDoubleAggregationValue
in interface CategoryGroup
SearchClientException
public double getDoubleAggregationValue(int idx) throws SearchClientException
CategoryGroup
getDoubleAggregationValue
in interface CategoryGroup
SearchClientException
public java.lang.String getStringAggregationValue(java.lang.String id) throws SearchClientException
CategoryGroup
getStringAggregationValue
in interface CategoryGroup
SearchClientException
public java.lang.String getStringAggregationValue(int idx) throws SearchClientException
CategoryGroup
getStringAggregationValue
in interface CategoryGroup
SearchClientException
public boolean isRefinable()
isRefinable
in interface CategoryGroup
public Hierarchical2DFacet asHierarchical2DFacet() throws java.lang.IllegalStateException
CategoryGroup
asHierarchical2DFacet
in interface CategoryGroup
java.lang.IllegalStateException
public MultiDimensionFacet asMultiDimensionFacet() throws java.lang.IllegalStateException
CategoryGroup
asMultiDimensionFacet
in interface CategoryGroup
java.lang.IllegalStateException
public java.lang.Object additionalFacetData()
CategoryGroup
additionalFacetData
in interface CategoryGroup
public java.lang.String getRefinementPolicy()
CategoryGroup
getRefinementPolicy
in interface CategoryGroup
public java.lang.String getType()
CategoryGroup
getType
in interface CategoryGroup
public java.util.List<CategoryGroupInfo> getCategoryGroupInfos()
CategoryGroup
getCategoryGroupInfos
in interface CategoryGroup
Copyright © 2021 Dassault Systèmes, All Rights Reserved.