public class ElasticsearchAdminHandler extends Object implements IAdminDataHandler
| Constructor and Description |
|---|
ElasticsearchAdminHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
createSchema() |
void |
deleteIndex(String index) |
void |
destroy() |
org.elasticsearch.client.Client |
getElasticsearchClient() |
ElasticsearchSettings |
getElasticsearchSettings() |
void |
importPreconfiguredKibana() |
void |
init() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDestroyedpublic void deleteIndex(String index)
deleteIndex in interface IAdminDataHandlerpublic void createSchema()
createSchema in interface IAdminDataHandlerpublic void importPreconfiguredKibana()
throws com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic void init()
init in interface Constructablepublic void destroy()
destroy in interface Destroyablepublic ElasticsearchSettings getElasticsearchSettings()
getElasticsearchSettings in interface IAdminDataHandlerpublic org.elasticsearch.client.Client getElasticsearchClient()
getElasticsearchClient in interface IAdminDataHandlerCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.