public class ElasticsearchDataHandler extends Object implements IStatisticsDataHandler
| Constructor and Description |
|---|
ElasticsearchDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.client.Client |
getClient()
Returns the underlying elasticsearch client
|
boolean |
isLoggingEnabled()
Returns true if the statistics module is enabled otherwise false
|
org.elasticsearch.action.index.IndexResponse |
persist(Map<String,Object> dataMap)
Persist the date to the database
|
public org.elasticsearch.action.index.IndexResponse persist(Map<String,Object> dataMap)
IStatisticsDataHandlerpersist in interface IStatisticsDataHandlerdataMap - keys are property names and the values are the objectspublic boolean isLoggingEnabled()
IStatisticsDataHandlerisLoggingEnabled in interface IStatisticsDataHandlerpublic org.elasticsearch.client.Client getClient()
IStatisticsDataHandlergetClient in interface IStatisticsDataHandlerCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.