public interface RedisGraphCommands
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
graphConfigGet(java.lang.String configName) |
java.lang.String |
graphConfigSet(java.lang.String configName,
java.lang.Object value) |
java.lang.String |
graphDelete(java.lang.String name)
Deletes the entire graph
|
java.util.List<java.lang.String> |
graphExplain(java.lang.String graphName,
java.lang.String query)
Constructs a query execution plan but does not run it.
|
java.util.List<java.lang.String> |
graphList()
Lists all graph keys in the keyspace.
|
java.util.List<java.lang.String> |
graphProfile(java.lang.String graphName,
java.lang.String query)
Executes a query and produces an execution plan augmented with metrics for each operation's execution.
|
ResultSet |
graphQuery(java.lang.String name,
java.lang.String query)
Execute a Cypher query.
|
ResultSet |
graphQuery(java.lang.String name,
java.lang.String query,
long timeout)
Execute a Cypher query with timeout.
|
ResultSet |
graphQuery(java.lang.String name,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params)
Executes a cypher query with parameters.
|
ResultSet |
graphQuery(java.lang.String name,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params,
long timeout)
Executes a cypher query with parameters and timeout.
|
ResultSet |
graphReadonlyQuery(java.lang.String name,
java.lang.String query)
Execute a Cypher read-only query.
|
ResultSet |
graphReadonlyQuery(java.lang.String name,
java.lang.String query,
long timeout)
Execute a Cypher read-only query with timeout.
|
ResultSet |
graphReadonlyQuery(java.lang.String name,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params)
Executes a cypher read-only query with parameters.
|
ResultSet |
graphReadonlyQuery(java.lang.String name,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params,
long timeout)
Executes a cypher read-only query with parameters and timeout.
|
java.util.List<java.util.List<java.lang.String>> |
graphSlowlog(java.lang.String graphName)
Returns a list containing up to 10 of the slowest queries issued against the given graph ID.
|
ResultSet graphQuery(java.lang.String name, java.lang.String query)
name
- a graph to perform the query onquery
- Cypher queryResultSet graphReadonlyQuery(java.lang.String name, java.lang.String query)
name
- a graph to perform the query onquery
- Cypher queryResultSet graphQuery(java.lang.String name, java.lang.String query, long timeout)
name
- a graph to perform the query onquery
- Cypher querytimeout
- ResultSet graphReadonlyQuery(java.lang.String name, java.lang.String query, long timeout)
name
- a graph to perform the query onquery
- Cypher querytimeout
- ResultSet graphQuery(java.lang.String name, java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params)
name
- a graph to perform the query on.query
- Cypher query.params
- parameters map.ResultSet graphReadonlyQuery(java.lang.String name, java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params)
name
- a graph to perform the query on.query
- Cypher query.params
- parameters map.ResultSet graphQuery(java.lang.String name, java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, long timeout)
name
- a graph to perform the query on.query
- Cypher query.params
- parameters map.timeout
- ResultSet graphReadonlyQuery(java.lang.String name, java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, long timeout)
name
- a graph to perform the query on.query
- Cypher query.params
- parameters map.timeout
- java.lang.String graphDelete(java.lang.String name)
name
- graph to deletejava.util.List<java.lang.String> graphList()
java.util.List<java.lang.String> graphProfile(java.lang.String graphName, java.lang.String query)
java.util.List<java.lang.String> graphExplain(java.lang.String graphName, java.lang.String query)
java.util.List<java.util.List<java.lang.String>> graphSlowlog(java.lang.String graphName)
java.lang.String graphConfigSet(java.lang.String configName, java.lang.Object value)
java.util.Map<java.lang.String,java.lang.Object> graphConfigGet(java.lang.String configName)
Copyright © 2023. All rights reserved.