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