public class LookupUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,LookupExtractorFactoryContainer> |
tryConvertObjectMapToLookupConfigMap(Map<String,Object> lookupNameToGenericConfig,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Takes a map of String to Object, representing lookup name to generic lookup config, and attempts to construct
a map from String to
LookupExtractorFactoryContainer. |
public static Map<String,LookupExtractorFactoryContainer> tryConvertObjectMapToLookupConfigMap(Map<String,Object> lookupNameToGenericConfig, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
LookupExtractorFactoryContainer. Any lookup configs that are not able to be converted
to LookupExtractorFactoryContainer, will be logged as warning, and will not be included in the map
returned.lookupNameToGenericConfig - The lookup generic config map.objectMapper - The object mapper to use to convert bytes to LookupExtractorFactoryContainerCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.