| Package | Description |
|---|---|
| org.springframework.data.elasticsearch.client | |
| org.springframework.data.elasticsearch.client.elc |
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
|
| org.springframework.data.elasticsearch.client.reactive |
| Modifier and Type | Method and Description |
|---|---|
ClientConfiguration |
ClientConfiguration.TerminalClientConfigurationBuilder.build()
Build the
ClientConfiguration object. |
static ClientConfiguration |
ClientConfiguration.create(InetSocketAddress socketAddress)
Creates a new
ClientConfiguration instance configured to a single host given InetSocketAddress. |
static ClientConfiguration |
ClientConfiguration.create(String hostAndPort)
Creates a new
ClientConfiguration instance configured to a single host given hostAndPort. |
static ClientConfiguration |
ClientConfiguration.localhost()
Creates a new
ClientConfiguration instance configured to localhost. |
| Modifier and Type | Method and Description |
|---|---|
static RestClients.ElasticsearchRestClient |
RestClients.create(ClientConfiguration clientConfiguration)
Start here to create a new client tailored to your needs.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ClientConfiguration |
ElasticsearchConfiguration.clientConfiguration()
Must be implemented by deriving classes to provide the
ClientConfiguration. |
abstract ClientConfiguration |
ReactiveElasticsearchConfiguration.clientConfiguration()
Must be implemented by deriving classes to provide the
ClientConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static co.elastic.clients.elasticsearch.ElasticsearchClient |
ElasticsearchClients.createImperative(ClientConfiguration clientConfiguration)
Creates a new imperative
ElasticsearchClient |
static co.elastic.clients.elasticsearch.ElasticsearchClient |
ElasticsearchClients.createImperative(ClientConfiguration clientConfiguration,
co.elastic.clients.transport.TransportOptions transportOptions)
Creates a new imperative
ElasticsearchClient |
static ReactiveElasticsearchClient |
ElasticsearchClients.createReactive(ClientConfiguration clientConfiguration)
Creates a new
ReactiveElasticsearchClient |
static ReactiveElasticsearchClient |
ElasticsearchClients.createReactive(ClientConfiguration clientConfiguration,
co.elastic.clients.transport.TransportOptions transportOptions)
Creates a new
ReactiveElasticsearchClient |
static org.elasticsearch.client.RestClient |
ElasticsearchClients.getRestClient(ClientConfiguration clientConfiguration)
Creates a low level
RestClient for the given configuration. |
org.elasticsearch.client.RestClient |
ElasticsearchConfiguration.restClient(ClientConfiguration clientConfiguration)
Provides the underlying low level RestClient.
|
org.elasticsearch.client.RestClient |
ReactiveElasticsearchConfiguration.restClient(ClientConfiguration clientConfiguration)
Provides the underlying low level RestClient.
|
| Modifier and Type | Method and Description |
|---|---|
static ReactiveElasticsearchClient |
ReactiveRestClients.create(ClientConfiguration clientConfiguration)
Start here to create a new client tailored to your needs.
|
static ReactiveElasticsearchClient |
DefaultReactiveElasticsearchClient.create(ClientConfiguration clientConfiguration)
Create a new
DefaultReactiveElasticsearchClient given ClientConfiguration. |
static ReactiveElasticsearchClient |
ReactiveRestClients.create(ClientConfiguration clientConfiguration,
RequestCreator requestCreator)
Start here to create a new client tailored to your needs.
|
static ReactiveElasticsearchClient |
DefaultReactiveElasticsearchClient.create(ClientConfiguration clientConfiguration,
RequestCreator requestCreator)
|
static WebClientProvider |
WebClientProvider.getWebClientProvider(ClientConfiguration clientConfiguration)
Creates a
WebClientProvider for the given configuration |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.