Class ElasticsearchGraphAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchGraphAsyncClient>
co.elastic.clients.elasticsearch.graph.ElasticsearchGraphAsyncClient
public class ElasticsearchGraphAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchGraphAsyncClient>
Client for the graph namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
Constructors Constructor Description ElasticsearchGraphAsyncClient(ElasticsearchTransport transport)ElasticsearchGraphAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
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.ElasticsearchGraphAsyncClientwithTransportOptions(TransportOptions transportOptions)Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchGraphAsyncClient
-
ElasticsearchGraphAsyncClient
public ElasticsearchGraphAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchGraphAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchGraphAsyncClient>
-
explore
Explore extracted and summarized information about the documents and terms in an index.- See Also:
- Documentation on elastic.co
-
explore
public final 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.- Parameters:
fn- a function that initializes a builder to create theExploreRequest- See Also:
- Documentation on elastic.co
-