Class DynamicAttributesResolver
java.lang.Object
io.jmix.search.index.mapping.processor.impl.dynattr.DynamicAttributesResolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DynAttrMetadataprotected final PropertyToolsprotected static final List<AttributeType>protected final WildcardPatternsMatcher -
Constructor Summary
ConstructorsConstructorDescriptionDynamicAttributesResolver(DynAttrMetadata dynAttrMetadata, PropertyTools propertyTools, WildcardPatternsMatcher wildcardPatternsMatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<AttributeDefinition>getAttributes(MetaClass metaClass, String[] excludedCategories, String[] excludedProperties, ReferenceAttributesIndexingMode mode) protected voidremoveAttributesForExcludedCategories(MetaClass metaClass, String[] excludedCategories, Map<String, AttributeDefinition> attributeDefinitionMap) protected voidremoveExcludedAttributes(String[] excludedAttributes, Map<String, AttributeDefinition> attributeDefinitionMap) resolveEffectivePropertyPaths(MetaClass metaClass, String[] excludedCategories, String[] excludedProperties, ReferenceAttributesIndexingMode mode)
-
Field Details
-
SUPPORTED_DATA_TYPES
-
dynAttrMetadata
-
propertyTools
-
wildcardPatternsMatcher
-
-
Constructor Details
-
DynamicAttributesResolver
public DynamicAttributesResolver(DynAttrMetadata dynAttrMetadata, PropertyTools propertyTools, WildcardPatternsMatcher wildcardPatternsMatcher)
-
-
Method Details
-
resolveEffectivePropertyPaths
public Map<String,MetaPropertyPath> resolveEffectivePropertyPaths(MetaClass metaClass, String[] excludedCategories, String[] excludedProperties, ReferenceAttributesIndexingMode mode) -
getAttributes
protected Collection<AttributeDefinition> getAttributes(MetaClass metaClass, String[] excludedCategories, String[] excludedProperties, ReferenceAttributesIndexingMode mode) -
removeAttributesForExcludedCategories
protected void removeAttributesForExcludedCategories(MetaClass metaClass, String[] excludedCategories, Map<String, AttributeDefinition> attributeDefinitionMap) -
removeExcludedAttributes
protected void removeExcludedAttributes(String[] excludedAttributes, Map<String, AttributeDefinition> attributeDefinitionMap)
-