Class AbstractFieldMapper
java.lang.Object
io.jmix.search.index.mapping.fieldmapper.impl.AbstractFieldMapper
- All Implemented Interfaces:
FieldMapper
- Direct Known Subclasses:
FileFieldMapper
,ReferenceFieldMapper
,SimpleFieldMapper
Base class for
FieldMapper
implementations.-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEffectiveNativeParameters
(Map<String, Object> rawParameters) Creates map of input parameters supported by this mapper.com.fasterxml.jackson.databind.node.ObjectNode
createJsonConfiguration
(Map<String, Object> parameters) Creates field configuration as native json.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.search.index.mapping.fieldmapper.FieldMapper
createJsonConfiguration
-
Field Details
-
objectMapper
protected static final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
AbstractFieldMapper
public AbstractFieldMapper()
-
-
Method Details
-
createJsonConfiguration
public com.fasterxml.jackson.databind.node.ObjectNode createJsonConfiguration(Map<String, Object> parameters) Description copied from interface:FieldMapper
Creates field configuration as native json.- Specified by:
createJsonConfiguration
in interfaceFieldMapper
- Parameters:
parameters
- input parameters- Returns:
- json object
-
createEffectiveNativeParameters
Creates map of input parameters supported by this mapper.- Parameters:
rawParameters
- input parameters- Returns:
- supported parameters only
-