Package com.flowable.indexing.impl
Class CustomIndexMapping
- java.lang.Object
-
- com.flowable.indexing.impl.AbstractIndexMapping
-
- com.flowable.indexing.impl.CustomIndexMapping
-
- All Implemented Interfaces:
IndexMapping
public class CustomIndexMapping extends AbstractIndexMapping
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomIndexConfiguration
customIndexConfiguration
protected List<IndexMappingVariableExtractor>
extractors
protected String
indexMappingJson
protected com.fasterxml.jackson.databind.JsonNode
metaData
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Fields inherited from class com.flowable.indexing.impl.AbstractIndexMapping
mappingFilter
-
-
Constructor Summary
Constructors Constructor Description CustomIndexMapping(CustomIndexConfiguration customIndexConfiguration, String indexMappingJson, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
-
Methods inherited from class com.flowable.indexing.impl.AbstractIndexMapping
getMappingFilter, setMappingFilter
-
-
-
-
Field Detail
-
customIndexConfiguration
protected CustomIndexConfiguration customIndexConfiguration
-
indexMappingJson
protected String indexMappingJson
-
metaData
protected com.fasterxml.jackson.databind.JsonNode metaData
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
extractors
protected List<IndexMappingVariableExtractor> extractors
-
-
Constructor Detail
-
CustomIndexMapping
public CustomIndexMapping(CustomIndexConfiguration customIndexConfiguration, String indexMappingJson, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
createMappingFilter
protected MappingFilter createMappingFilter(CustomIndexConfiguration customIndexConfiguration)
-
getIndexMappingName
public String getIndexMappingName()
-
addExtractor
public void addExtractor(IndexMappingVariableExtractor extractor)
-
addExtractors
public void addExtractors(List<? extends IndexMappingVariableExtractor> extractors)
-
getExtractors
public List<IndexMappingVariableExtractor> getExtractors()
-
setExtractors
public void setExtractors(List<IndexMappingVariableExtractor> extractors)
-
getMetaData
public com.fasterxml.jackson.databind.JsonNode getMetaData()
-
setMetaData
public void setMetaData(com.fasterxml.jackson.databind.JsonNode metaData)
-
getCustomIndexConfiguration
public CustomIndexConfiguration getCustomIndexConfiguration()
-
getIndexMapping
public String getIndexMapping()
-
isCustomAlias
public boolean isCustomAlias()
-
getCustomIndexName
public String getCustomIndexName()
-
hasExtractors
public boolean hasExtractors()
-
isApplicable
public boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
isApplicable
public boolean isApplicable(String mappingType)
-
createIndexedDataObject
public IndexedDataObject createIndexedDataObject(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
createIndexedDataObject
public IndexedDataObject createIndexedDataObject(com.fasterxml.jackson.databind.node.ObjectNode objectNode, String idFieldName)
-
-