Package org.opensearch.client
-
Interface Summary Interface Description HttpAsyncResponseConsumerFactory Factory used to create instances ofHttpAsyncResponseConsumer.NodeSelector Selects nodes that can receive requests.ResponseListener Listener to be provided when calling async performRequest methods provided byRestClient.RestClientBuilder.HttpClientConfigCallback Callback used to customize theCloseableHttpClientinstance used by aRestClientinstance.RestClientBuilder.RequestConfigCallback Callback used the defaultRequestConfigbeing set to theCloseableHttpClientWarningsHandler Called if there are warnings to determine if those warnings should fail the request. -
Class Summary Class Description Cancellable Represents an operation that can be cancelled.HasAttributeNodeSelector ANodeSelectorthat selects nodes that have a particular value for an attribute.HeapBufferedAsyncResponseConsumer Default implementation ofHttpAsyncResponseConsumer.HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory Default factory used to create instances ofHttpAsyncResponseConsumer.Node Metadata about anHttpHostrunning OpenSearch.Node.Roles Role information about an OpenSearch process.PreferHasAttributeNodeSelector 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.Request HTTP Request to OpenSearch.RequestOptions The portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.RequestOptions.Builder BuildsRequestOptions.Response Holds an opensearch response.RestClient Client that connects to an OpenSearch cluster through HTTP.RestClient.ContentCompressingEntity A gzip compressing entity that also implementsgetContent().RestClient.FailureListener Listener that allows to be notified whenever a failure happens.RestClientBuilder Helps creating a newRestClient. -
Exception Summary Exception Description ResponseException Exception thrown when an opensearch node responds to a request with a status code that indicates an error.WarningFailureException This 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`.