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, RequestOptions options)
Executes an exploration request using the Graph API.Cancellable
exploreAsync(GraphExploreRequest graphExploreRequest, RequestOptions options, ActionListener<GraphExploreResponse> listener)
Asynchronously executes an exploration request using the Graph API.
-
Method Details
-
explore
public final GraphExploreResponse explore(GraphExploreRequest graphExploreRequest, 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 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
-