Interface RedisGraphCommands

All Known Subinterfaces:
RedisModuleCommands
All Known Implementing Classes:
JedisCluster, JedisPooled, JedisSentineled, JedisSharding, UnifiedJedis

public interface RedisGraphCommands
  • Method Details

    • graphQuery

      ResultSet graphQuery(String name, String query)
      Execute a Cypher query.
      Parameters:
      name - a graph to perform the query on
      query - Cypher query
      Returns:
      a result set
    • graphReadonlyQuery

      ResultSet graphReadonlyQuery(String name, String query)
      Execute a Cypher read-only query.
      Parameters:
      name - a graph to perform the query on
      query - Cypher query
      Returns:
      a result set
    • graphQuery

      ResultSet graphQuery(String name, String query, long timeout)
      Execute a Cypher query with timeout.
      Parameters:
      name - a graph to perform the query on
      query - Cypher query
      timeout -
      Returns:
      a result set
    • graphReadonlyQuery

      ResultSet graphReadonlyQuery(String name, String query, long timeout)
      Execute a Cypher read-only query with timeout.
      Parameters:
      name - a graph to perform the query on
      query - Cypher query
      timeout -
      Returns:
      a result set
    • graphQuery

      ResultSet graphQuery(String name, String query, Map<String,Object> params)
      Executes a cypher query with parameters.
      Parameters:
      name - a graph to perform the query on.
      query - Cypher query.
      params - parameters map.
      Returns:
      a result set.
    • graphReadonlyQuery

      ResultSet graphReadonlyQuery(String name, String query, Map<String,Object> params)
      Executes a cypher read-only query with parameters.
      Parameters:
      name - a graph to perform the query on.
      query - Cypher query.
      params - parameters map.
      Returns:
      a result set.
    • graphQuery

      ResultSet graphQuery(String name, String query, Map<String,Object> params, long timeout)
      Executes a cypher query with parameters and timeout.
      Parameters:
      name - a graph to perform the query on.
      query - Cypher query.
      params - parameters map.
      timeout -
      Returns:
      a result set.
    • graphReadonlyQuery

      ResultSet graphReadonlyQuery(String name, String query, Map<String,Object> params, long timeout)
      Executes a cypher read-only query with parameters and timeout.
      Parameters:
      name - a graph to perform the query on.
      query - Cypher query.
      params - parameters map.
      timeout -
      Returns:
      a result set.
    • graphDelete

      String graphDelete(String name)
      Deletes the entire graph
      Parameters:
      name - graph to delete
      Returns:
      delete running time statistics
    • graphList

      List<String> graphList()
      Lists all graph keys in the keyspace.
      Returns:
      graph keys
    • graphProfile

      List<String> graphProfile(String graphName, String query)
      Executes a query and produces an execution plan augmented with metrics for each operation's execution.
    • graphExplain

      List<String> graphExplain(String graphName, String query)
      Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your query will get executed.
    • graphSlowlog

      List<List<String>> graphSlowlog(String graphName)
      Returns a list containing up to 10 of the slowest queries issued against the given graph ID.
    • graphConfigSet

      String graphConfigSet(String configName, Object value)
    • graphConfigGet

      Map<String,Object> graphConfigGet(String configName)