public class DefaultEnhancementsIndexingParams extends PerDimensionIndexingParams implements EnhancementsIndexingParams
EnhancementsIndexingParams
DEFAULT_FACET_DELIM_CHAR
Constructor and Description |
---|
DefaultEnhancementsIndexingParams(CategoryEnhancement... enhancements)
Construct with a certain
enhancement |
DefaultEnhancementsIndexingParams(CategoryListParams categoryListParams,
CategoryEnhancement... enhancements)
Construct with certain
enhancements
and CategoryListParams |
Modifier and Type | Method and Description |
---|---|
void |
addCategoryEnhancements(CategoryEnhancement... enhancements)
Add
CategoryEnhancement s to the indexing parameters |
List<CategoryEnhancement> |
getCategoryEnhancements()
Get a list of the active category enhancements.
|
List<Class<? extends CategoryProperty>> |
getRetainableProperties()
Get a list of
CategoryProperty classes to be retained when
creating CategoryParentsStream . |
addCategoryListParams, getAllCategoryListParams, getCategoryListParams
drillDownTermText, equals, fixedOrdinalPolicy, fixedPartitionSize, fixedPathPolicy, getFacetDelimChar, getOrdinalPolicy, getPartitionSize, getPathPolicy, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
drillDownTermText, getAllCategoryListParams, getCategoryListParams, getFacetDelimChar, getOrdinalPolicy, getPartitionSize, getPathPolicy
public DefaultEnhancementsIndexingParams(CategoryEnhancement... enhancements)
enhancement
IllegalArgumentException
- if no enhancements are providedpublic DefaultEnhancementsIndexingParams(CategoryListParams categoryListParams, CategoryEnhancement... enhancements)
enhancements
and CategoryListParams
IllegalArgumentException
- if no enhancements are providedpublic void addCategoryEnhancements(CategoryEnhancement... enhancements)
EnhancementsIndexingParams
CategoryEnhancement
s to the indexing parametersaddCategoryEnhancements
in interface EnhancementsIndexingParams
enhancements
- enhancements to addpublic List<CategoryEnhancement> getCategoryEnhancements()
EnhancementsIndexingParams
null
. The order of enhancements in the returned list
dictates the order in which the enhancements data appear in the category
tokens payload.getCategoryEnhancements
in interface EnhancementsIndexingParams
null
if
there are no enhancements.public List<Class<? extends CategoryProperty>> getRetainableProperties()
EnhancementsIndexingParams
CategoryProperty
classes to be retained when
creating CategoryParentsStream
.getRetainableProperties
in interface EnhancementsIndexingParams
CategoryProperty
classes to be retained when
creating CategoryParentsStream
, or null
if there
are no such properties.