Package org.opensearch.client
package org.opensearch.client
REST client that connects to an OpenSearch cluster.
-
ClassDescriptionRepresents an operation that can be cancelled.A
NodeSelectorthat selects nodes that have a particular value for an attribute.Default implementation ofHttpAsyncResponseConsumer.Factory used to create instances ofHttpAsyncResponseConsumer.Default factory used to create instances ofHttpAsyncResponseConsumer.Metadata about anHttpHostrunning OpenSearch.Role information about an OpenSearch process.Selects nodes that can receive requests.BothPreferHasAttributeNodeSelectorandHasAttributeNodeSelectorwill work the same if there is aNodewith particular attribute in the attributes, butPreferHasAttributeNodeSelectorwill select anotherNodes even if there is noNodewith particular attribute in the attributes.HTTP Request to OpenSearch.The portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.BuildsRequestOptions.Holds an opensearch response.Exception thrown when an opensearch node responds to a request with a status code that indicates an error.Listener to be provided when calling async performRequest methods provided byRestClient.Client that connects to an OpenSearch cluster through HTTP.A gzip compressing entity that also implementsgetContent().An entity that lets the caller specify the return value ofisChunked().Listener that allows to be notified whenever a failure happens.Helps creating a newRestClient.Callback used to customize theCloseableHttpClientinstance used by aRestClientinstance.Callback used the defaultRequestConfigbeing set to theCloseableHttpClientThis exception is used to indicate that one or moreResponse.getWarnings()exist and is typically used when theRestClientis set to fail by settingRestClientBuilder.setStrictDeprecationMode(boolean)to `true`.Called if there are warnings to determine if those warnings should fail the request.