Class ElasticsearchGraphAsyncClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.graph.ElasticsearchGraphAsyncClient
public class ElasticsearchGraphAsyncClient extends ApiClient
Client for the graph namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchGraphAsyncClient(Transport transport)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExploreResponse>
explore(ExploreRequest request)
Explore extracted and summarized information about the documents and terms in an index.java.util.concurrent.CompletableFuture<ExploreResponse>
explore(java.util.function.Function<ExploreRequest.Builder,ObjectBuilder<ExploreRequest>> fn)
Explore extracted and summarized information about the documents and terms in an index.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchGraphAsyncClient
-
-
Method Details
-
explore
public java.util.concurrent.CompletableFuture<ExploreResponse> explore(ExploreRequest request) throws java.io.IOExceptionExplore extracted and summarized information about the documents and terms in an index.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
explore
public final java.util.concurrent.CompletableFuture<ExploreResponse> explore(java.util.function.Function<ExploreRequest.Builder,ObjectBuilder<ExploreRequest>> fn) throws java.io.IOExceptionExplore extracted and summarized information about the documents and terms in an index.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-