Package org.elasticsearch.client
Class GraphClient
- java.lang.Object
-
- org.elasticsearch.client.GraphClient
-
public class GraphClient extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphExploreResponseexplore(GraphExploreRequest graphExploreRequest, RequestOptions options)Executes an exploration request using the Graph API.CancellableexploreAsync(GraphExploreRequest graphExploreRequest, RequestOptions options, ActionListener<GraphExploreResponse> listener)Asynchronously executes an exploration request using the Graph API.
-
-
-
Method Detail
-
explore
public final GraphExploreResponse explore(GraphExploreRequest graphExploreRequest, RequestOptions options) throws IOException
Executes an exploration request using the Graph API. See Graph API on elastic.co.- Throws:
IOException
-
exploreAsync
public final Cancellable exploreAsync(GraphExploreRequest graphExploreRequest, RequestOptions options, 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
-
-