Class ElasticsearchGraphAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchGraphAsyncClient>
 
co.elastic.clients.elasticsearch.graph.ElasticsearchGraphAsyncClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable
public class ElasticsearchGraphAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchGraphAsyncClient> 
Client for the graph namespace.
- 
Field SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchGraphAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier and TypeMethodDescriptionexplore(ExploreRequest request) Explore graph analytics.final CompletableFuture<ExploreResponse>Explore graph analytics.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
- 
Constructor Details- 
ElasticsearchGraphAsyncClient
- 
ElasticsearchGraphAsyncClientpublic ElasticsearchGraphAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionspublic ElasticsearchGraphAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchGraphAsyncClient> 
 
- 
exploreExplore graph analytics. Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. An initial request to the_exploreAPI contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. Subsequent requests enable you to spider out from one more vertices of interest. You can exclude vertices that have already been returned.- See Also:
 
- 
explorepublic final CompletableFuture<ExploreResponse> explore(Function<ExploreRequest.Builder, ObjectBuilder<ExploreRequest>> fn) Explore graph analytics. Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. An initial request to the_exploreAPI contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. Subsequent requests enable you to spider out from one more vertices of interest. You can exclude vertices that have already been returned.- Parameters:
- fn- a function that initializes a builder to create the- ExploreRequest
- See Also:
 
 
-