public class ElasticsearchConfiguration
extends com.lordofthejars.nosqlunit.core.AbstractJsr330Configuration
| Modifier and Type | Class and Description |
|---|---|
static class |
ElasticsearchConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
io.searchbox.client.JestClient |
getClient() |
Map<String,Object> |
getIndexSettings() |
Map<String,Map<String,Object>> |
getIndexTemplates() |
boolean |
isCreateIndices() |
boolean |
isDeleteAllIndices() |
static ElasticsearchConfiguration.Builder |
remoteElasticsearch()
Return a default builder for
ElasticsearchConfiguration. |
static ElasticsearchConfiguration.Builder |
remoteElasticsearch(Set<String> servers)
Return a builder for
ElasticsearchConfiguration pre-configured with the given Elasticsearch node URLs. |
static ElasticsearchConfiguration.Builder |
remoteElasticsearch(String server)
Return a builder for
ElasticsearchConfiguration pre-configured with the given Elasticsearch node URL. |
public io.searchbox.client.JestClient getClient()
public boolean isCreateIndices()
public boolean isDeleteAllIndices()
public static ElasticsearchConfiguration.Builder remoteElasticsearch()
ElasticsearchConfiguration.public static ElasticsearchConfiguration.Builder remoteElasticsearch(String server)
ElasticsearchConfiguration pre-configured with the given Elasticsearch node URL.server - The URL of the Elasticsearch node to connect topublic static ElasticsearchConfiguration.Builder remoteElasticsearch(Set<String> servers)
ElasticsearchConfiguration pre-configured with the given Elasticsearch node URLs.servers - The URLs of the Elasticsearch nodes to connect toCopyright © 2017. All rights reserved.