Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addHeader(String, String) - Method in class org.opensearch.client.RequestOptions.Builder
-
Add the provided header to the request.
- addParameter(String, String) - Method in class org.opensearch.client.Request
-
Add a query string parameter.
- addParameter(String, String) - Method in class org.opensearch.client.RequestOptions.Builder
-
Add the provided query parameter to the request.
- addParameter(String, String) - Method in class org.opensearch.client.StreamingRequest
-
Add a query string parameter.
- addParameters(Map<String, String>) - Method in class org.opensearch.client.Request
-
Add query parameters using the provided map of key value pairs.
- addParameters(Map<String, String>) - Method in class org.opensearch.client.StreamingRequest
-
Add query parameters using the provided map of key value pairs.
- ANY - Static variable in interface org.opensearch.client.NodeSelector
-
Selector that matches any node.
- available() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Returns the number of bytes immediately available for output.
B
- build() - Method in class org.opensearch.client.RequestOptions.Builder
-
Build the RequestOptions.
- build() - Method in class org.opensearch.client.RestClientBuilder
-
Creates a new
RestClientbased on the provided configuration. - builder(String) - Static method in class org.opensearch.client.RestClient
-
Returns a new
RestClientBuilderto help withRestClientcreation. - builder(HttpHost...) - Static method in class org.opensearch.client.RestClient
-
Returns a new
RestClientBuilderto help withRestClientcreation. - builder(Node...) - Static method in class org.opensearch.client.RestClient
-
Returns a new
RestClientBuilderto help withRestClientcreation. - buildResult(HttpResponse, byte[], ContentType) - Method in class org.opensearch.client.nio.HeapBufferedAsyncResponseConsumer
-
Triggered to generate object that represents a result of response message processing.
C
- cancel() - Method in class org.opensearch.client.Cancellable
-
Cancels the on-going request that is associated with the current instance of
Cancellable. - Cancellable - Class in org.opensearch.client
-
Represents an operation that can be cancelled.
- capacityIncrement() - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Triggered to obtain the capacity increment.
- cleanPathPrefix(String) - Static method in class org.opensearch.client.RestClientBuilder
-
Cleans up the given path prefix to ensure that looks like "/base/path".
- close() - Method in class org.opensearch.client.RestClient
-
Close the underlying
CloseableHttpAsyncClientinstance - ContentCompressingEntity(HttpEntity) - Constructor for class org.opensearch.client.RestClient.ContentCompressingEntity
-
Creates a
RestClient.ContentCompressingEntityinstance with the provided HTTP entity. - ContentCompressingEntity(HttpEntity, boolean) - Constructor for class org.opensearch.client.RestClient.ContentCompressingEntity
-
Creates a
RestClient.ContentCompressingEntityinstance with the provided HTTP entity. - ContentHttpEntity(HttpEntity) - Constructor for class org.opensearch.client.RestClient.ContentHttpEntity
-
Creates a
RestClient.ContentHttpEntityinstance with the provided HTTP entity. - ContentHttpEntity(HttpEntity, boolean) - Constructor for class org.opensearch.client.RestClient.ContentHttpEntity
-
Creates a
RestClient.ContentHttpEntityinstance with the provided HTTP entity. - create(HttpUriRequestBase, HttpHost) - Static method in class org.opensearch.client.http.HttpUriRequestProducer
-
Create new request producer for
HttpUriRequestBaseinstance andHttpHost - create(HttpUriRequestBase, HttpHost, Publisher<ByteBuffer>) - Static method in class org.opensearch.client.http.ReactiveHttpUriRequestProducer
-
Create new request producer for
HttpUriRequestBaseinstance andHttpHost - createHttpAsyncResponseConsumer() - Method in interface org.opensearch.client.HttpAsyncResponseConsumerFactory
-
Creates the
AsyncResponseConsumer, called once per request attempt. - createHttpAsyncResponseConsumer() - Method in class org.opensearch.client.HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory
-
Creates the
AsyncResponseConsumer, called once per request attempt. - customizeHttpClient(HttpAsyncClientBuilder) - Method in interface org.opensearch.client.RestClientBuilder.HttpClientConfigCallback
-
Allows to customize the
CloseableHttpAsyncClientbeing created and used by theRestClient. - customizeRequestConfig(RequestConfig.Builder) - Method in interface org.opensearch.client.RestClientBuilder.RequestConfigCallback
-
Allows to customize the
RequestConfigthat will be used with each request.
D
- data(ByteBuffer, boolean) - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Triggered to pass incoming data packet to the data consumer.
- DEFAULT - Static variable in interface org.opensearch.client.HttpAsyncResponseConsumerFactory
-
Creates the default type of
AsyncResponseConsumer, based on heap buffering with a buffer limit of 100MB. - DEFAULT - Static variable in class org.opensearch.client.RequestOptions
-
Default request options.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class org.opensearch.client.RestClientBuilder
-
The default connection timeout in milliseconds.
- DEFAULT_MAX_CONN_PER_ROUTE - Static variable in class org.opensearch.client.RestClientBuilder
-
The default maximum of connections per route.
- DEFAULT_MAX_CONN_TOTAL - Static variable in class org.opensearch.client.RestClientBuilder
-
The default maximum total connections.
- DEFAULT_RESPONSE_TIMEOUT_MILLIS - Static variable in class org.opensearch.client.RestClientBuilder
-
The default response timeout in milliseconds.
E
- equals(Object) - Method in class org.opensearch.client.HasAttributeNodeSelector
-
Compare two node selectors for equality
- equals(Object) - Method in class org.opensearch.client.Node
-
Compare two nodes for equality
- equals(Object) - Method in class org.opensearch.client.Node.Roles
-
Compare two roles for equality
- equals(Object) - Method in class org.opensearch.client.PreferHasAttributeNodeSelector
-
Compare two node selectors for equality
- equals(Object) - Method in class org.opensearch.client.Request
-
Compare two requests for equality
- equals(Object) - Method in class org.opensearch.client.RequestOptions
-
Compare two request options for equality
F
- failed(Exception) - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Triggered to signal a failure in data generation.
- FailureListener() - Constructor for class org.opensearch.client.RestClient.FailureListener
-
Create a
RestClient.FailureListenerinstance.
G
- generateContent() - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Triggered to generate entity representation.
- getAttributes() - Method in class org.opensearch.client.Node
-
Attributes declared on the node.
- getBody() - Method in class org.opensearch.client.StreamingRequest
-
Body publisher
- getBody() - Method in class org.opensearch.client.StreamingResponse
-
Get response boby
Publisher - getBoundHosts() - Method in class org.opensearch.client.Node
-
Addresses on which the host is listening.
- getBufferLimit() - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Get the limit of the buffer.
- getBufferLimit() - Method in class org.opensearch.client.nio.HeapBufferedAsyncResponseConsumer
-
Get the limit of the buffer.
- getContent() - Method in class org.opensearch.client.RestClient.ContentCompressingEntity
-
Returns a content stream of the entity.
- getContentEncoding() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Returns content encoding of the entity, if known.
- getContentEncoding() - Method in class org.opensearch.client.RestClient.ContentCompressingEntity
-
Returns content encoding of the entity, if known.
- getContentLength() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Returns length of the entity, if known.
- getContentLength() - Method in class org.opensearch.client.RestClient.ContentCompressingEntity
-
A gzip entity requires content length in http headers.
- getContentType() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Returns content type of the entity, if known.
- getEndpoint() - Method in class org.opensearch.client.Request
-
The path of the request (without scheme, host, port, or prefix).
- getEndpoint() - Method in class org.opensearch.client.StreamingRequest
-
Get endpoint
- getEntity() - Method in class org.opensearch.client.Request
-
The body of the request.
- getEntity() - Method in class org.opensearch.client.Response
-
Returns the response body available, null otherwise
- getHeader(String) - Method in class org.opensearch.client.Response
-
Returns the value of the first header with a specified name of this message.
- getHeaders() - Method in class org.opensearch.client.RequestOptions
-
Headers to attach to the request.
- getHeaders() - Method in class org.opensearch.client.Response
-
Returns all the response headers
- getHost() - Method in class org.opensearch.client.Node
-
Contact information for the host.
- getHost() - Method in class org.opensearch.client.Response
-
Returns the node that returned this response
- getHost() - Method in class org.opensearch.client.StreamingResponse
-
Get host
- getHttpAsyncResponseConsumerFactory() - Method in class org.opensearch.client.RequestOptions
-
The
HttpAsyncResponseConsumerFactoryused to create oneAsyncResponseConsumercallback per retry. - getMethod() - Method in class org.opensearch.client.Request
-
The HTTP method.
- getMethod() - Method in class org.opensearch.client.StreamingRequest
-
Get method
- getName() - Method in class org.opensearch.client.Node
-
The
node.nameof the node. - getNodes() - Method in class org.opensearch.client.RestClient
-
Get the list of nodes that the client knows about.
- getOptions() - Method in class org.opensearch.client.Request
-
Get the portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.
- getOptions() - Method in class org.opensearch.client.StreamingRequest
-
Get options
- getParameters() - Method in class org.opensearch.client.Request
-
Query string parameters.
- getParameters() - Method in class org.opensearch.client.RequestOptions
-
Query parameters to attach to the request.
- getParameters() - Method in class org.opensearch.client.StreamingRequest
-
Get parameters
- getRequest() - Method in class org.opensearch.client.http.HttpUriRequestProducer
-
Get the produced
HttpUriRequestBaseinstance - getRequest() - Method in class org.opensearch.client.http.ReactiveHttpUriRequestProducer
-
Get the produced
HttpUriRequestBaseinstance - getRequestConfig() - Method in class org.opensearch.client.RequestOptions
-
get RequestConfig, which can set socketTimeout, connectTimeout and so on by request
- getRequestLine() - Method in class org.opensearch.client.Response
-
Returns the request line that generated this response
- getRequestLine() - Method in class org.opensearch.client.StreamingResponse
-
Get request line
- getResponse() - Method in exception class org.opensearch.client.ResponseException
-
Returns the
Responsethat caused this exception to be thrown. - getResponse() - Method in exception class org.opensearch.client.WarningFailureException
-
Returns the
Responsethat caused this exception to be thrown. - getRoles() - Method in class org.opensearch.client.Node
-
Roles that the OpenSearch process on the host has or
nullif we don't know what roles the node has. - getStatusLine() - Method in class org.opensearch.client.Response
-
Returns the status line of the current response
- getStatusLine() - Method in class org.opensearch.client.StreamingResponse
-
Returns the status line of the current response
- getTrailerNames() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Preliminary declaration of trailing headers.
- getVersion() - Method in class org.opensearch.client.Node
-
Version of OpenSearch that the node is running or
nullif we don't know the version. - getWarnings() - Method in class org.opensearch.client.Response
-
Returns a list of all warning headers returned in the response.
- getWarnings() - Method in class org.opensearch.client.StreamingResponse
-
Returns a list of all warning headers returned in the response.
- getWarningsHandler() - Method in class org.opensearch.client.RequestOptions
-
How this request should handle warnings.
H
- HasAttributeNodeSelector - Class in org.opensearch.client
-
A
NodeSelectorthat selects nodes that have a particular value for an attribute. - HasAttributeNodeSelector(String, String) - Constructor for class org.opensearch.client.HasAttributeNodeSelector
-
Create a {link HasAttributeNodeSelector} instance using the provided attribute key value pair.
- hashCode() - Method in class org.opensearch.client.HasAttributeNodeSelector
-
Calculate the hash code of the node selector
- hashCode() - Method in class org.opensearch.client.Node
-
Calculate the hash code of the node
- hashCode() - Method in class org.opensearch.client.Node.Roles
-
Calculate the hash code of the roles
- hashCode() - Method in class org.opensearch.client.PreferHasAttributeNodeSelector
-
Calculate the hash code of the node selector
- hashCode() - Method in class org.opensearch.client.Request
-
Calculate the hash code of the request
- hashCode() - Method in class org.opensearch.client.RequestOptions
-
Calculate the hash code of the request options
- hasWarnings() - Method in class org.opensearch.client.Response
-
Returns true if there is at least one warning header returned in the response.
- HeapBufferedAsyncEntityConsumer - Class in org.opensearch.client.nio
-
Default implementation of
AsyncEntityConsumer. - HeapBufferedAsyncEntityConsumer(int) - Constructor for class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Creates a new instance of this consumer with the provided buffer limit.
- HeapBufferedAsyncResponseConsumer - Class in org.opensearch.client.nio
-
Default implementation of
AsyncResponseConsumer. - HeapBufferedAsyncResponseConsumer(int) - Constructor for class org.opensearch.client.nio.HeapBufferedAsyncResponseConsumer
-
Creates a new instance of this consumer with the provided buffer limit.
- HeapBufferedResponseConsumerFactory(int) - Constructor for class org.opensearch.client.HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory
-
Creates a
HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactoryinstance with the given buffer limit. - HttpAsyncResponseConsumerFactory - Interface in org.opensearch.client
-
Factory used to create instances of
AsyncResponseConsumer. - HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory - Class in org.opensearch.client
-
Default factory used to create instances of
AsyncResponseConsumer. - HttpEntityAsyncEntityProducer - Class in org.opensearch.client.nio
-
The
AsyncEntityProducerimplementation forHttpEntity - HttpEntityAsyncEntityProducer(HttpEntity) - Constructor for class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Create new async HTTP entity producer with default buffer size (8192 bytes)
- HttpEntityAsyncEntityProducer(HttpEntity, int) - Constructor for class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Create new async HTTP entity producer
- HttpUriRequestProducer - Class in org.opensearch.client.http
-
The producer of the
HttpUriRequestBaseinstances associated with a particularHttpHost
I
- informationResponse(HttpResponse, HttpContext) - Method in class org.opensearch.client.nio.HeapBufferedAsyncResponseConsumer
-
Triggered to signal receipt of an intermediate (1xx) HTTP response.
- isChunked() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Returns chunked transfer hint for this entity.
- isChunked() - Method in class org.opensearch.client.RestClient.ContentCompressingEntity
-
A gzip compressing entity doesn't work with chunked encoding with sigv4
- isChunked() - Method in class org.opensearch.client.RestClient.ContentHttpEntity
-
A chunked entity requires transfer-encoding:chunked in http headers which requires isChunked to be true
- isClusterManagerEligible() - Method in class org.opensearch.client.Node.Roles
-
Returns whether or not the node could be elected cluster-manager.
- isData() - Method in class org.opensearch.client.Node.Roles
-
Returns whether or not the node stores data.
- isIngest() - Method in class org.opensearch.client.Node.Roles
-
Returns whether or not the node runs ingest pipelines.
- isRepeatable() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Determines whether the producer can consistently produce the same content after invocation of
ResourceHolder.releaseResources(). - isRunning() - Method in class org.opensearch.client.RestClient
-
check client running status
- isSearch() - Method in class org.opensearch.client.Node.Roles
-
Returns whether the node is dedicated to provide search capability.
N
- Node - Class in org.opensearch.client
-
Metadata about an
HttpHostrunning OpenSearch. - Node(HttpHost) - Constructor for class org.opensearch.client.Node
-
Create a Node without any metadata.
- Node(HttpHost, Set<HttpHost>, String, String, Node.Roles, Map<String, List<String>>) - Constructor for class org.opensearch.client.Node
-
Create a Node with metadata.
- Node.Roles - Class in org.opensearch.client
-
Role information about an OpenSearch process.
- NodeSelector - Interface in org.opensearch.client
-
Selects nodes that can receive requests.
O
- onFailure(Exception) - Method in interface org.opensearch.client.ResponseListener
-
Method invoked if the request failed.
- onFailure(Node) - Method in class org.opensearch.client.RestClient.FailureListener
-
Notifies that the node provided as argument has just failed.
- onSuccess(Response) - Method in interface org.opensearch.client.ResponseListener
-
Method invoked if the request yielded a successful response.
- org.opensearch.client - package org.opensearch.client
-
REST client that connects to an OpenSearch cluster.
- org.opensearch.client.http - package org.opensearch.client.http
-
HTTP support classes for REST client.
- org.opensearch.client.nio - package org.opensearch.client.nio
-
NIO support classes for REST client.
P
- performRequest(Request) - Method in class org.opensearch.client.RestClient
-
Sends a request to the OpenSearch cluster that the client points to.
- performRequestAsync(Request, ResponseListener) - Method in class org.opensearch.client.RestClient
-
Sends a request to the OpenSearch cluster that the client points to.
- PERMISSIVE - Static variable in interface org.opensearch.client.WarningsHandler
-
The permissive warnings handler.
- PreferHasAttributeNodeSelector - Class in org.opensearch.client
-
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 org.opensearch.client.PreferHasAttributeNodeSelector
-
Creates a
PreferHasAttributeNodeSelectorinstance with the given key value pair. - produce(DataStreamChannel) - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Triggered to signal the ability of the underlying data channel to accept more data.
R
- ReactiveHttpUriRequestProducer - Class in org.opensearch.client.http
-
The reactive producer of the
HttpUriRequestBaseinstances associated with a particularHttpHost - releaseResources() - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Release resources being held
- releaseResources() - Method in class org.opensearch.client.nio.HttpEntityAsyncEntityProducer
-
Release resources being held
- Request - Class in org.opensearch.client
-
HTTP Request to OpenSearch.
- Request(String, String) - Constructor for class org.opensearch.client.Request
-
Create the Request.
- RequestOptions - Class in org.opensearch.client
-
The portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.
- RequestOptions.Builder - Class in org.opensearch.client
-
Builds
RequestOptions. - Response - Class in org.opensearch.client
-
Holds an opensearch response.
- ResponseException - Exception Class in org.opensearch.client
-
Exception thrown when an opensearch node responds to a request with a status code that indicates an error.
- ResponseException(Response) - Constructor for exception class org.opensearch.client.ResponseException
-
Creates a ResponseException containing the given
Response. - ResponseListener - Interface in org.opensearch.client
-
Listener to be provided when calling async performRequest methods provided by
RestClient. - RestClient - Class in org.opensearch.client
-
Client that connects to an OpenSearch cluster through HTTP.
- RestClient.ContentCompressingEntity - Class in org.opensearch.client
-
A gzip compressing entity that also implements
getContent(). - RestClient.ContentHttpEntity - Class in org.opensearch.client
-
An entity that lets the caller specify the return value of
isChunked(). - RestClient.FailureListener - Class in org.opensearch.client
-
Listener that allows to be notified whenever a failure happens.
- RestClientBuilder - Class in org.opensearch.client
-
Helps creating a new
RestClient. - RestClientBuilder.HttpClientConfigCallback - Interface in org.opensearch.client
-
Callback used to customize the
CloseableHttpClientinstance used by aRestClientinstance. - RestClientBuilder.RequestConfigCallback - Interface in org.opensearch.client
-
Callback used the default
RequestConfigbeing set to theCloseableHttpClient - Roles(Set<String>) - Constructor for class org.opensearch.client.Node.Roles
-
Create a
Node.Rolesinstance of the given string set.
S
- select(Iterable<Node>) - Method in class org.opensearch.client.HasAttributeNodeSelector
-
Select the
Nodes to which to send requests. - select(Iterable<Node>) - Method in interface org.opensearch.client.NodeSelector
-
Select the
Nodes to which to send requests. - select(Iterable<Node>) - Method in class org.opensearch.client.PreferHasAttributeNodeSelector
-
Select the
Nodes to which to send requests. - setChunkedEnabled(boolean) - Method in class org.opensearch.client.RestClientBuilder
-
Whether the REST client should use Transfer-Encoding: chunked for requests or not"
- setCompressionEnabled(boolean) - Method in class org.opensearch.client.RestClientBuilder
-
Whether the REST client should compress requests using gzip content encoding and add the "Accept-Encoding: gzip" header to receive compressed responses.
- setDefaultHeaders(Header[]) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the default request headers, which will be sent along with each request.
- setEntity(HttpEntity) - Method in class org.opensearch.client.Request
-
Set the body of the request.
- setFailureListener(RestClient.FailureListener) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the
RestClient.FailureListenerto be notified for each request failure - setHost(HttpHost) - Method in class org.opensearch.client.StreamingResponse
-
Set host
- setHttpAsyncResponseConsumerFactory(HttpAsyncResponseConsumerFactory) - Method in class org.opensearch.client.RequestOptions.Builder
-
Set the
HttpAsyncResponseConsumerFactoryused to create oneAsyncResponseConsumercallback per retry. - setHttpClientConfigCallback(RestClientBuilder.HttpClientConfigCallback) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the
RestClientBuilder.HttpClientConfigCallbackto be used to customize http client configuration - setJsonEntity(String) - Method in class org.opensearch.client.Request
-
Set the body of the request to a string.
- setNodes(Collection<Node>) - Method in class org.opensearch.client.RestClient
-
Replaces the nodes with which the client communicates.
- setNodeSelector(NodeSelector) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the
NodeSelectorto be used for all requests. - setOptions(RequestOptions) - Method in class org.opensearch.client.Request
-
Set the portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.
- setOptions(RequestOptions.Builder) - Method in class org.opensearch.client.Request
-
Set the portion of an HTTP request to OpenSearch that can be manipulated without changing OpenSearch's behavior.
- setPathPrefix(String) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the path's prefix for every request used by the http client.
- setRequestConfig(RequestConfig) - Method in class org.opensearch.client.RequestOptions.Builder
-
set RequestConfig, which can set socketTimeout, connectTimeout and so on by request
- setRequestConfigCallback(RestClientBuilder.RequestConfigCallback) - Method in class org.opensearch.client.RestClientBuilder
-
Sets the
RestClientBuilder.RequestConfigCallbackto be used to customize http client configuration - setStrictDeprecationMode(boolean) - Method in class org.opensearch.client.RestClientBuilder
-
Whether the REST client should return any response containing at least one warning header as a failure.
- setWarningsHandler(WarningsHandler) - Method in class org.opensearch.client.RequestOptions.Builder
-
How this request should handle warnings.
- SKIP_DEDICATED_CLUSTER_MANAGERS - Static variable in interface org.opensearch.client.NodeSelector
-
Selector that matches any node that has metadata and doesn't have the
cluster_managerrole OR it has the datadatarole. - StreamingRequest<T> - Class in org.opensearch.client
-
HTTP Streaming Request to OpenSearch.
- StreamingRequest(String, String, Publisher<T>) - Constructor for class org.opensearch.client.StreamingRequest
-
Constructor
- StreamingResponse<T> - Class in org.opensearch.client
-
HTTP Streaming Response from OpenSearch.
- StreamingResponse(RequestLine, Publisher<Message<HttpResponse, Publisher<T>>>) - Constructor for class org.opensearch.client.StreamingResponse
-
Constructor
- streamRequest(StreamingRequest<ByteBuffer>) - Method in class org.opensearch.client.RestClient
-
Sends a streaming request to the OpenSearch cluster that the client points to and returns streaming response.
- streamStart(ContentType) - Method in class org.opensearch.client.nio.HeapBufferedAsyncEntityConsumer
-
Triggered to signal beginning of entity content stream.
- STRICT - Static variable in interface org.opensearch.client.WarningsHandler
-
The strict warnings handler.
T
- toBuilder() - Method in class org.opensearch.client.RequestOptions
-
Create a builder that contains these options but can be modified.
- toString() - Method in class org.opensearch.client.HasAttributeNodeSelector
-
Convert this node selector to string representation
- toString() - Method in class org.opensearch.client.Node.Roles
-
Convert roles to string representation
- toString() - Method in class org.opensearch.client.Node
-
Convert node to string representation
- toString() - Method in class org.opensearch.client.PreferHasAttributeNodeSelector
-
Convert this node selector to string representation
- toString() - Method in class org.opensearch.client.Request
-
Convert request to string representation
- toString() - Method in class org.opensearch.client.RequestOptions
-
Convert request options to string representation
- toString() - Method in class org.opensearch.client.Response
-
Convert response to string representation
W
- WarningFailureException - Exception Class in org.opensearch.client
-
This exception is used to indicate that one or more
Response.getWarnings()exist and is typically used when theRestClientis set to fail by settingRestClientBuilder.setStrictDeprecationMode(boolean)to `true`. - WarningFailureException(Response) - Constructor for exception class org.opensearch.client.WarningFailureException
-
Creates a
WarningFailureExceptioninstance. - WarningsHandler - Interface in org.opensearch.client
-
Called if there are warnings to determine if those warnings should fail the request.
- warningsShouldFailRequest(List<String>) - Method in interface org.opensearch.client.WarningsHandler
-
Determines whether the given list of warnings should fail the request.
- writeTo(OutputStream) - Method in class org.opensearch.client.RestClient.ContentCompressingEntity
-
Writes the entity content out to the output stream.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form