public class ElasticsearchDataHandler extends java.lang.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(java.util.Map<java.lang.String,java.lang.Object> dataMap)
Persist the date to the database
|
public org.elasticsearch.action.index.IndexResponse persist(java.util.Map<java.lang.String,java.lang.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–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.