Package org.elasticsearch.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 Elasticsearch.Node.Roles Role information about an Elasticsearch 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 Elasticsearch.RequestOptions The portion of an HTTP request to Elasticsearch that can be manipulated without changing Elasticsearch's behavior.RequestOptions.Builder BuildsRequestOptions.Response Holds an elasticsearch response.RestClient Client that connects to an Elasticsearch cluster through HTTP.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 elasticsearch 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`.