Package org.elasticsearch.client
Class GraphClient
java.lang.Object
org.elasticsearch.client.GraphClient
public class GraphClient
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description GraphExploreResponse
explore(GraphExploreRequest graphExploreRequest, org.elasticsearch.client.RequestOptions options)
Executes an exploration request using the Graph API.org.elasticsearch.client.Cancellable
exploreAsync(GraphExploreRequest graphExploreRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GraphExploreResponse> listener)
Asynchronously executes an exploration request using the Graph API.
-
Method Details
-
explore
public final GraphExploreResponse explore(GraphExploreRequest graphExploreRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOExceptionExecutes an exploration request using the Graph API. See Graph API on elastic.co.- Throws:
java.io.IOException
-
exploreAsync
public final org.elasticsearch.client.Cancellable exploreAsync(GraphExploreRequest graphExploreRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GraphExploreResponse> listener)Asynchronously executes an exploration request using the Graph API. See Graph API on elastic.co.- Returns:
- cancellable that may be used to cancel the request
-