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.RestHighLevelClient |
getElasticsearchClient() |
ElasticsearchSettings |
getElasticsearchSettings() |
void |
importPreconfiguredKibana() |
void |
init() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDestroyedpublic void deleteIndex(String index) throws IOException
deleteIndex in interface IAdminDataHandlerIOExceptionpublic void createSchema()
throws IOException
createSchema in interface IAdminDataHandlerIOExceptionpublic 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.RestHighLevelClient getElasticsearchClient()
getElasticsearchClient in interface IAdminDataHandlerCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.