Package org.opensearch.data.client.osc
@NonNullApi
@NonNullFields
package org.opensearch.data.client.osc
This package contains classes that use the new OpenSearch client library (org.opensearch.client:opensearch-java)
to access OpenSearch.
-
ClassDescriptionClass to combine an OpenSearch
Aggregatewith its name.Extension of theOpenSearchClientclass that implementsAutoCloseable.ChildTemplate<T extends org.opensearch.client.transport.Transport,CLIENT extends org.opensearch.client.ApiClient<T, CLIENT>> base class for a template that uses one of theOpenSearchClient's child clients likeOpenSearchClusterClientorOpenSearchIndicesClient.ChildTemplate.ClientCallback<CLIENT,RESULT> Callback interface to be used withChildTemplate.execute(ClientCallback)for operating directly on the client.Implementation of theClusterOperationsinterface using enOpenSearchClusterClient.A Map<String,Object> to represent any entity as it's returned from OpenSearch and before it is converted to aDocument.Implementation of theIndexOperationsinterface using enOpenSearchIndicesClient.AQueryimplementation using query builders from the new OpenSearch Client library.AggregationContainerfor aAggregationthat holds OpenSearch data.AggregationsContainer implementation for the OpenSearch aggregations.OpenSearchClientFactoryBeanUtility class to create the different OpenSearch clientsClientConfiguration.ClientConfigurationCallbackto configure the OpenSearch RestClient's Http client with aHttpAsyncClientBuilderClientConfiguration.ClientConfigurationCallbackto configure the RestClient client with aRestClientBuilderBase class for a @Configurationclass to set up the OpenSearch connection using the OpenSearch Client.SimplePersistenceExceptionTranslatorfor OpenSearch.Implementation ofElasticsearchOperationsusing the new OpenSearch client.Callback interface to be used withOpenSearchTemplate.execute(OpenSearchTemplate.ClientCallback)for operating directly on theOpenSearchClient.Utility class simplifying the creation of some more complex queries and type.Deprecated, for removal: This API element is subject to removal in a future version.ReactiveChildTemplate<T extends org.opensearch.client.transport.Transport,CLIENT extends org.opensearch.client.ApiClient<T, CLIENT>> base class for a reactive template that uses on of theReactiveOpenSearchClient's child clients.ReactiveChildTemplate.ClientCallback<CLIENT,RESULT extends org.reactivestreams.Publisher<?>> Callback interface to be used withReactiveChildTemplate.execute(ClientCallback)for operating directly on the client.Reactive cluster templateReactive Indices TemplateReactive version ofOpenSearchClient.Reactive version of theOpenSearchClusterClientBase class for a @Configurationclass to set up the OpenSearch connection using theReactiveOpenSearchClient.Reactive version of theOpenSearchIndicesClientImplementation ofReactiveElasticsearchOperationsusing the new OpenSearch client.ReactiveOpenSearchTemplate.ClientCallback<T extends org.reactivestreams.Publisher<?>>Callback interface to be used withReactiveOpenSearchTemplate.execute(ReactiveElasticsearchTemplate.ClientCallback)for operating directly onReactiveOpenSearchClient.
Queriesinstead.