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
ConstructorsConstructorDescriptionElasticsearchGraphAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionexplore(ExploreRequest request) Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.final CompletableFuture<ExploreResponse>Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions
-
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
Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.- See Also:
-
explore
public final CompletableFuture<ExploreResponse> explore(Function<ExploreRequest.Builder, ObjectBuilder<ExploreRequest>> fn) Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.- Parameters:
fn- a function that initializes a builder to create theExploreRequest- See Also:
-