public abstract class ElasticsearchUtil extends Object
Constructor and Description |
---|
ElasticsearchUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
convertFieldAndValuesToElasticsearch(Map<DocumentTypeField,Object> fieldValues)
Method responsable for perform the conversion of
DocumentTypeField to the correct elasticsearch field,
also this will convert the value to the right format. |
static Object |
getValueInMapChain(String key,
Map currentObject)
Returns event field value from the given object by your full key id.
|
static List<Object> |
getValuesInMapChain(String key,
Object currentObject)
Returns event field values from the given object by your full key id.
|
public static Object getValueInMapChain(String key, Map currentObject)
key
- the event field identifier.currentObject
- the current object.public static List<Object> getValuesInMapChain(String key, Object currentObject)
key
- the event field identifier.currentObject
- the current object.public static Map<String,Object> convertFieldAndValuesToElasticsearch(Map<DocumentTypeField,Object> fieldValues)
DocumentTypeField
to the correct elasticsearch field,
also this will convert the value to the right format.fieldValues
- the map of DocumentTypeField
and relative value.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.