Package redis.clients.jedis.graph
Interface RedisGraphCommands
- All Known Subinterfaces:
RedisModuleCommands
- All Known Implementing Classes:
JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface RedisGraphCommands
-
Method Summary
Modifier and TypeMethodDescriptiongraphConfigGet(String configName) graphConfigSet(String configName, Object value) graphDelete(String name) Deletes the entire graphgraphExplain(String graphName, String query) Constructs a query execution plan but does not run it.Lists all graph keys in the keyspace.graphProfile(String graphName, String query) Executes a query and produces an execution plan augmented with metrics for each operation's execution.graphQuery(String name, String query) Execute a Cypher query.graphQuery(String name, String query, long timeout) Execute a Cypher query with timeout.Executes a cypher query with parameters.Executes a cypher query with parameters and timeout.graphReadonlyQuery(String name, String query) Execute a Cypher read-only query.graphReadonlyQuery(String name, String query, long timeout) Execute a Cypher read-only query with timeout.Executes a cypher read-only query with parameters.Executes a cypher read-only query with parameters and timeout.graphSlowlog(String graphName) Returns a list containing up to 10 of the slowest queries issued against the given graph ID.
-
Method Details
-
graphQuery
Execute a Cypher query.- Parameters:
name- a graph to perform the query onquery- Cypher query- Returns:
- a result set
-
graphReadonlyQuery
Execute a Cypher read-only query.- Parameters:
name- a graph to perform the query onquery- Cypher query- Returns:
- a result set
-
graphQuery
Execute a Cypher query with timeout.- Parameters:
name- a graph to perform the query onquery- Cypher querytimeout-- Returns:
- a result set
-
graphReadonlyQuery
Execute a Cypher read-only query with timeout.- Parameters:
name- a graph to perform the query onquery- Cypher querytimeout-- Returns:
- a result set
-
graphQuery
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
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
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
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
Deletes the entire graph- Parameters:
name- graph to delete- Returns:
- delete running time statistics
-
graphList
Lists all graph keys in the keyspace.- Returns:
- graph keys
-
graphProfile
Executes a query and produces an execution plan augmented with metrics for each operation's execution. -
graphExplain
Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your query will get executed. -
graphSlowlog
Returns a list containing up to 10 of the slowest queries issued against the given graph ID. -
graphConfigSet
-
graphConfigGet
-