Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addHeader(String, String) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Add the provided header to the request.
- addParameter(String, String) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Add a query string parameter.
- addParameter(String, String) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Add the provided parameter to the request.
- addParameters(Map<String, String>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
- ANY - Static variable in interface co.elastic.clients.transport.rest5_client.low_level.NodeSelector
-
Selector that matches any node.
B
- BasicAsyncResponseConsumerFactory(int) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.HttpAsyncResponseConsumerFactory.BasicAsyncResponseConsumerFactory
- BufferedByteConsumer - Class in co.elastic.clients.transport.rest5_client.low_level
- BufferedByteConsumer(int) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- build() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Build the RequestOptions.
- build() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Creates a new
Rest5Clientbased on the provided configuration. - build() - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
-
Creates the
Snifferbased on the provided configuration. - builder(Node...) - Static method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Returns a new
Rest5ClientBuilderto help withRest5Clientcreation. - builder(Rest5Client) - Static method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.Sniffer
-
Returns a new
SnifferBuilderto help withSniffercreation. - builder(URI...) - Static method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Returns a new
Rest5ClientBuilderto help withRest5Clientcreation. - builder(List<URI>) - Static method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Returns a new
Rest5ClientBuilderto help withRest5Clientcreation. - builder(HttpHost...) - Static method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Returns a new
Rest5ClientBuilderto help withRest5Clientcreation.
C
- Cancellable - Class in co.elastic.clients.transport.rest5_client.low_level
-
Represents an operation that can be cancelled.
- Cancellable() - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Cancellable
- canContainData() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- capacityIncrement() - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- cleanPathPrefix(String) - Static method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- close() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
- close() - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.Sniffer
- co.elastic.clients.transport.rest5_client.low_level - package co.elastic.clients.transport.rest5_client.low_level
- co.elastic.clients.transport.rest5_client.low_level.sniffer - package co.elastic.clients.transport.rest5_client.low_level.sniffer
- completed() - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- containsHeader(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
Return true if the options contain the given header
- ContentCompressingEntity(HttpEntity) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Rest5Client.ContentCompressingEntity
- createHttpAsyncResponseConsumer() - Method in class co.elastic.clients.transport.rest5_client.low_level.HttpAsyncResponseConsumerFactory.BasicAsyncResponseConsumerFactory
- createHttpAsyncResponseConsumer() - Method in interface co.elastic.clients.transport.rest5_client.low_level.HttpAsyncResponseConsumerFactory
-
Creates the
AbstractAsyncResponseConsumer, called once per request attempt.
D
- data(ByteBuffer, boolean) - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- DEFAULT - Static variable in interface co.elastic.clients.transport.rest5_client.low_level.HttpAsyncResponseConsumerFactory
-
Creates the default type of
AsyncResponseConsumer, with a buffered consumer with a limit of 100MB. - DEFAULT - Static variable in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
Default request options.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- DEFAULT_MAX_CONN_PER_ROUTE - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- DEFAULT_MAX_CONN_TOTAL - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- DEFAULT_RESPONSE_TIMEOUT_MILLIS - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- DEFAULT_SNIFF_AFTER_FAILURE_DELAY - Static variable in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
- DEFAULT_SNIFF_INTERVAL - Static variable in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
- DEFAULT_SNIFF_REQUEST_TIMEOUT - Static variable in class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer
- DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
E
- ElasticsearchNodesSniffer - Class in co.elastic.clients.transport.rest5_client.low_level.sniffer
-
Class responsible for sniffing the http hosts from elasticsearch through the nodes info api and returning them back.
- ElasticsearchNodesSniffer(Rest5Client) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer
-
Creates a new instance of the Elasticsearch sniffer.
- ElasticsearchNodesSniffer(Rest5Client, long, ElasticsearchNodesSniffer.Scheme) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer
-
Creates a new instance of the Elasticsearch sniffer.
- ElasticsearchNodesSniffer.Scheme - Enum Class in co.elastic.clients.transport.rest5_client.low_level.sniffer
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.HasAttributeNodeSelector
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.PreferHasAttributeNodeSelector
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
- equals(Object) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
F
- failed(Exception) - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- FailureListener() - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Rest5Client.FailureListener
G
- getAttributes() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
Attributes declared on the node.
- getBoundHosts() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
Addresses on which the host is listening.
- getContent() - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- getContent() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client.ContentCompressingEntity
- getEndpoint() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
The path of the request (without scheme, host, port, or prefix).
- getEntity() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
The body of the request.
- getEntity() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns the response body available, null otherwise
- getHeader(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns the value of the first header with a specified name of this message.
- getHeaders() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Return all headers for the request
- getHeaders() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
Headers to attach to the request.
- getHeaders() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns all the response headers
- getHost() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
Contact information for the host.
- getHost() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns the node that returned this response
- getHttpAsyncResponseConsumerFactory() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
The
HttpAsyncResponseConsumerFactoryused to create oneAsyncResponseConsumercallback per retry. - getHttpClient() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Get the underlying HTTP client.
- getMethod() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
The HTTP method.
- getName() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
The
node.nameof the node. - getNodes() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Get the list of nodes that the client knows about.
- getOptions() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Get the portion of an HTTP request to Elasticsearch that can be manipulated without changing Elasticsearch's behavior.
- getParameters() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Query string parameters.
- getParameters() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
- getRequestConfig() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
get RequestConfig, which can set socketTimeout, connectTimeout and so on by request
- getRequestLine() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns the request line that generated this response
- getResponse() - Method in exception co.elastic.clients.transport.rest5_client.low_level.ResponseException
-
Returns the
Responsethat caused this exception to be thrown. - getResponse() - Method in exception co.elastic.clients.transport.rest5_client.low_level.WarningFailureException
-
Returns the
Responsethat caused this exception to be thrown. - getRoles() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
Roles that the Elasticsearch process on the host has or
nullif we don't know what roles the node has. - getStatusCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
- getVersion() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
-
Version of Elasticsearch that the node is running or
nullif we don't know the version. - getWarnings() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns a list of all warning headers returned in the response.
- getWarningsHandler() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
How this request should handle warnings.
H
- HasAttributeNodeSelector - Class in co.elastic.clients.transport.rest5_client.low_level
-
A
NodeSelectorthat selects nodes that have a particular value for an attribute. - HasAttributeNodeSelector(String, String) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.HasAttributeNodeSelector
- hasDataColdRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hasDataContentRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hasDataFrozenRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hasDataHotRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hasDataRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hasDataWarmRole() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.HasAttributeNodeSelector
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.PreferHasAttributeNodeSelector
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
- hashCode() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
- hasWarnings() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
-
Returns true if there is at least one warning header returned in the response.
- HTTP - Enum constant in enum class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer.Scheme
- HttpAsyncResponseConsumerFactory - Interface in co.elastic.clients.transport.rest5_client.low_level
-
Factory used to create instances of
AsyncResponseConsumer. - HttpAsyncResponseConsumerFactory.BasicAsyncResponseConsumerFactory - Class in co.elastic.clients.transport.rest5_client.low_level
-
Default factory used to create instances of
AsyncResponseConsumer. - HTTPS - Enum constant in enum class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer.Scheme
I
- IGNORE_RESPONSE_CODES_PARAM - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
- isData() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
-
Deprecated.
- isIngest() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
-
Returns whether or not the node runs ingest pipelines.
- isMasterEligible() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
-
Returns whether or not the node could be elected master.
- isRunning() - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
check client running status
N
- Node - Class in co.elastic.clients.transport.rest5_client.low_level
-
Metadata about an
HttpHostrunning Elasticsearch. - Node(HttpHost) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Node
-
Create a Node without any metadata.
- Node(HttpHost, Set<HttpHost>, String, String, Node.Roles, Map<String, List<String>>) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Node
-
Create a Node with metadata.
- Node.Roles - Class in co.elastic.clients.transport.rest5_client.low_level
-
Role information about an Elasticsearch process.
- NodeSelector - Interface in co.elastic.clients.transport.rest5_client.low_level
-
Selects nodes that can receive requests.
- NodesSniffer - Interface in co.elastic.clients.transport.rest5_client.low_level.sniffer
-
Responsible for sniffing the http hosts
O
- onFailure(Node) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client.FailureListener
-
Notifies that the node provided as argument has just failed
- onFailure(Node) - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SniffOnFailureListener
- onFailure(Exception) - Method in interface co.elastic.clients.transport.rest5_client.low_level.ResponseListener
-
Method invoked if the request failed.
- onSuccess(Response) - Method in interface co.elastic.clients.transport.rest5_client.low_level.ResponseListener
-
Method invoked if the request yielded a successful response
P
- performRequest(Request) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Sends a request to the Elasticsearch cluster that the client points to.
- performRequestAsync(Request, ResponseListener) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Sends a request to the Elasticsearch cluster that the client points to.
- PERMISSIVE - Static variable in interface co.elastic.clients.transport.rest5_client.low_level.WarningsHandler
- PreferHasAttributeNodeSelector - Class in co.elastic.clients.transport.rest5_client.low_level
-
Both
PreferHasAttributeNodeSelectorandHasAttributeNodeSelectorwill 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. - PreferHasAttributeNodeSelector(String, String) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.PreferHasAttributeNodeSelector
R
- releaseResources() - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- removeHeader(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Remove all headers with the given name.
- Request - Class in co.elastic.clients.transport.rest5_client.low_level
-
HTTP Request to Elasticsearch.
- Request(String, String) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Request
-
Create the Request.
- RequestOptions - Class in co.elastic.clients.transport.rest5_client.low_level
-
The portion of an HTTP request to Elasticsearch that can be manipulated without changing Elasticsearch's behavior.
- RequestOptions.Builder - Class in co.elastic.clients.transport.rest5_client.low_level
-
Builds
RequestOptions. - Response - Class in co.elastic.clients.transport.rest5_client.low_level
-
Holds an elasticsearch response.
- ResponseException - Exception in co.elastic.clients.transport.rest5_client.low_level
-
Exception thrown when an elasticsearch node responds to a request with a status code that indicates an error.
- ResponseException(Response) - Constructor for exception co.elastic.clients.transport.rest5_client.low_level.ResponseException
- ResponseListener - Interface in co.elastic.clients.transport.rest5_client.low_level
-
Listener to be provided when calling async performRequest methods provided by
Rest5Client. - Rest5Client - Class in co.elastic.clients.transport.rest5_client.low_level
-
Client that connects to an Elasticsearch cluster through HTTP.
- Rest5Client.ContentCompressingEntity - Class in co.elastic.clients.transport.rest5_client.low_level
-
A gzip compressing entity that also implements
getContent(). - Rest5Client.FailureListener - Class in co.elastic.clients.transport.rest5_client.low_level
-
Listener that allows to be notified whenever a failure happens.
- Rest5ClientBuilder - Class in co.elastic.clients.transport.rest5_client.low_level
-
Helps creating a new
Rest5Client. - Roles(Set<String>) - Constructor for class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
S
- select(Iterable<Node>) - Method in class co.elastic.clients.transport.rest5_client.low_level.HasAttributeNodeSelector
- select(Iterable<Node>) - Method in interface co.elastic.clients.transport.rest5_client.low_level.NodeSelector
-
Select the
Nodes to which to send requests. - select(Iterable<Node>) - Method in class co.elastic.clients.transport.rest5_client.low_level.PreferHasAttributeNodeSelector
- setCompressionEnabled(boolean) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Whether the REST client should compress requests using gzip content encoding and add the "Accept-Encoding: gzip" header to receive compressed responses.
- setConnectionConfigCallback(Consumer<ConnectionConfig.Builder>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Allows to customize the
ConnectionConfigcreated by theRest5Clientand used by theCloseableHttpAsyncClient. - setConnectionManagerCallback(Consumer<PoolingAsyncClientConnectionManagerBuilder>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Allows to customize the
PoolingAsyncClientConnectionManagercreated by theRest5Clientand used by theCloseableHttpAsyncClient. - setDefaultHeaders(Header[]) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Sets the default request headers, which will be sent along with each request.
- setEntity(HttpEntity) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Set the body of the request.
- setFailureListener(Rest5Client.FailureListener) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Sets the
Rest5Client.FailureListenerto be notified for each request failure - setHttpAsyncResponseConsumerFactory(HttpAsyncResponseConsumerFactory) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
Set the
HttpAsyncResponseConsumerFactoryused to create oneAsyncResponseConsumercallback per retry. - setHttpClient(CloseableHttpAsyncClient) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Advanced setting, sets the rest client that will be used to handle requests.
- setHttpClientConfigCallback(Consumer<HttpAsyncClientBuilder>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Allows to customize the
CloseableHttpAsyncClientbeing created and used by theRest5Client. - setJsonEntity(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Set the body of the request to a string.
- setMetaHeaderEnabled(boolean) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Whether to send a
X-Elastic-Client-Metaheader that describes the runtime environment. - setNodes(Collection<Node>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5Client
-
Replaces the nodes with which the client communicates.
- setNodeSelector(NodeSelector) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Sets the
NodeSelectorto be used for all requests. - setNodesSniffer(NodesSniffer) - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
-
Sets the
NodesSnifferto be used to read hosts. - setOptions(RequestOptions) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Set the portion of an HTTP request to Elasticsearch that can be manipulated without changing Elasticsearch's behavior.
- setOptions(RequestOptions.Builder) - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
-
Set the portion of an HTTP request to Elasticsearch that can be manipulated without changing Elasticsearch's behavior.
- setPathPrefix(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Sets the path's prefix for every request used by the http client.
- setProxy(HttpHost) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- setProxySelector(ProxySelector) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- setRequestConfig(RequestConfig) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
set RequestConfig, which can set socketTimeout, connectTimeout and so on by request
- setRequestConfigCallback(Consumer<RequestConfig.Builder>) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Allows to customize the
RequestConfigcreated by theRest5Clientand used by theCloseableHttpAsyncClient. - setRoutePlanner(HttpRoutePlanner) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
- setSniffAfterFailureDelayMillis(int) - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
-
Sets the delay of a sniff execution scheduled after a failure (in milliseconds)
- setSniffer(Sniffer) - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SniffOnFailureListener
-
Sets the
Snifferinstance used to perform sniffing - setSniffIntervalMillis(int) - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.SnifferBuilder
-
Sets the interval between consecutive ordinary sniff executions in milliseconds.
- setSSLContext(SSLContext) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Sets the SSL context, which will be applied to all requests.
- setStrictDeprecationMode(boolean) - Method in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
-
Whether the REST client should return any response containing at least one warning header as a failure.
- setWarningsHandler(WarningsHandler) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions.Builder
-
How this request should handle warnings.
- SKIP_DEDICATED_MASTERS - Static variable in interface co.elastic.clients.transport.rest5_client.low_level.NodeSelector
-
Selector that matches any node that has metadata and doesn't have the
masterrole OR it has the datadatarole. - sniff() - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer
-
Calls the elasticsearch nodes info api, parses the response and returns all the found http hosts
- sniff() - Method in interface co.elastic.clients.transport.rest5_client.low_level.sniffer.NodesSniffer
-
Returns the sniffed Elasticsearch nodes.
- Sniffer - Class in co.elastic.clients.transport.rest5_client.low_level.sniffer
-
Class responsible for sniffing nodes from some source (default is elasticsearch itself) and setting them to a provided instance of
Rest5Client. - SnifferBuilder - Class in co.elastic.clients.transport.rest5_client.low_level.sniffer
-
Sniffer builder.
- sniffOnFailure() - Method in class co.elastic.clients.transport.rest5_client.low_level.sniffer.Sniffer
-
Schedule sniffing to run as soon as possible if it isn't already running.
- SniffOnFailureListener - Class in co.elastic.clients.transport.rest5_client.low_level.sniffer
-
Rest5Client.FailureListenerimplementation that allows to perform sniffing on failure. - SniffOnFailureListener() - Constructor for class co.elastic.clients.transport.rest5_client.low_level.sniffer.SniffOnFailureListener
- streamStart(EntityDetails, FutureCallback<ByteArrayEntity>) - Method in class co.elastic.clients.transport.rest5_client.low_level.BufferedByteConsumer
- STRICT - Static variable in interface co.elastic.clients.transport.rest5_client.low_level.WarningsHandler
T
- toBuilder() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
Create a builder that contains these options but can be modified.
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.HasAttributeNodeSelector
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node.Roles
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.Node
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.PreferHasAttributeNodeSelector
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.Request
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
- toString() - Method in class co.elastic.clients.transport.rest5_client.low_level.Response
- toString() - Method in enum class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer.Scheme
U
- updateToken(String) - Method in class co.elastic.clients.transport.rest5_client.low_level.RequestOptions
-
Replaces an existing bearer token header
V
- valueOf(String) - Static method in enum class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer.Scheme
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class co.elastic.clients.transport.rest5_client.low_level.sniffer.ElasticsearchNodesSniffer.Scheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class co.elastic.clients.transport.rest5_client.low_level.Rest5ClientBuilder
W
- WarningFailureException - Exception in co.elastic.clients.transport.rest5_client.low_level
-
This exception is used to indicate that one or more
Response.getWarnings()exist and is typically used when theRest5Clientis set to fail by settingRest5ClientBuilder.setStrictDeprecationMode(boolean)to `true`. - WarningFailureException(Response) - Constructor for exception co.elastic.clients.transport.rest5_client.low_level.WarningFailureException
- WarningsHandler - Interface in co.elastic.clients.transport.rest5_client.low_level
-
Called if there are warnings to determine if those warnings should fail the request.
- warningsShouldFailRequest(List<String>) - Method in interface co.elastic.clients.transport.rest5_client.low_level.WarningsHandler
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Node.Roles.hasDataRole()orNode.Roles.canContainData()