public interface ElasticsearchClient
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ElasticsearchResponse> |
submit(ElasticsearchRequest request) |
<T> T |
unwrap(Class<T> clientClass)
Unwrap the client to some implementation-specific type.
|
CompletableFuture<ElasticsearchResponse> submit(ElasticsearchRequest request)
request
- A request to execute asynchronously<T> T unwrap(Class<T> clientClass)
clientClass
- The Class
representing the expected client typeSearchException
- if the client implementation does not support
unwrapping to the given class.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.