Package org.springframework.data.elasticsearch.client.elc
@NullMarked
package 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.
-
ClassDescriptionAn abstract class that serves as a base for query processors.Class to combine an Elasticsearch
Aggregatewith its name.Extension of theElasticsearchClientclass that implementsAutoCloseable.ChildTemplate<T extends co.elastic.clients.transport.Transport, CLIENT extends co.elastic.clients.ApiClient<T,CLIENT>> base class for a template that uses one of theElasticsearchClient's child clients likeElasticsearchClusterClientorElasticsearchIndicesClient.ChildTemplate.ClientCallback<CLIENT,RESULT> Callback interface to be used withChildTemplate.execute(ClientCallback)for operating directly on the client.Implementation of theClusterOperationsinterface using enElasticsearchClusterClient.AggregationContainerfor aAggregationthat holds Elasticsearch data.AggregationsContainer implementation for the Elasticsearch aggregations.ElasticsearchClientFactoryBeanUtility class to create the different Elasticsearch clients.Base class for a @Configurationclass to set up the Elasticsearch connection using the Elasticsearch Client.SimplePersistenceExceptionTranslatorfor Elasticsearch.Deprecated, for removal: This API element is subject to removal in a future version.Implementation ofElasticsearchOperationsusing the new Elasticsearch client.Callback interface to be used withElasticsearchTemplate.execute(ElasticsearchTemplate.ClientCallback)for operating directly on theElasticsearchClient.A Map<String,Object> to represent any entity as it's returned from Elasticsearch and before it is converted to aDocument.Implementation of theIndexOperationsinterface using enElasticsearchIndicesClient.AQueryimplementation using query builders from the new Elasticsearch Client library.Utility class simplifying the creation of some more complex queries and type.ReactiveChildTemplate<T extends co.elastic.clients.transport.Transport, CLIENT extends co.elastic.clients.ApiClient<T,CLIENT>> base class for a reactive template that uses on of theReactiveElasticsearchClient's child clients.ReactiveChildTemplate.ClientCallback<CLIENT, RESULT extends Publisher<?>>Callback interface to be used withReactiveChildTemplate.execute(ClientCallback)for operating directly on the client.Reactive version ofElasticsearchClient.Reactive version of theElasticsearchClusterClientBase class for a @Configurationclass to set up the Elasticsearch connection using theReactiveElasticsearchClient.Reactive version of theElasticsearchIndicesClientDeprecated, for removal: This API element is subject to removal in a future version.since 6.0 useReactiveElasticsearchConfigurationReactive version ofElasticsearchSqlClient.Implementation ofReactiveElasticsearchOperationsusing the new Elasticsearch client.ReactiveElasticsearchTemplate.ClientCallback<T extends Publisher<?>>Callback interface to be used with} for operating directly oninvalid @link
{@link #execute(ReactiveElasticsearchTemplate.ClientCallback<>)ReactiveElasticsearchClient.
ElasticsearchConfiguration