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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • explore

      public final GraphExploreResponse explore​(GraphExploreRequest graphExploreRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Executes 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