Class BlockingTransactionalGraphCommandsImpl<K>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
-
- io.quarkus.redis.runtime.datasource.BlockingTransactionalGraphCommandsImpl<K>
-
- All Implemented Interfaces:
TransactionalGraphCommands<K>,TransactionalRedisCommands
public class BlockingTransactionalGraphCommandsImpl<K> extends AbstractTransactionalRedisCommandGroup implements TransactionalGraphCommands<K>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout
-
-
Constructor Summary
Constructors Constructor Description BlockingTransactionalGraphCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalGraphCommands<K> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgraphDelete(K key)Execute the command GRAPH.DELETE.voidgraphExplain(K key, String query)Execute the command GRAPH.EXPLAIN.voidgraphList()Execute the command GRAPH.LIST.voidgraphQuery(K key, String query)Execute the command GRAPH.QUERY.voidgraphQuery(K key, String query, Duration timeout)Execute the command GRAPH.QUERY.-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
BlockingTransactionalGraphCommandsImpl
public BlockingTransactionalGraphCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalGraphCommands<K> reactive, Duration timeout)
-
-
Method Detail
-
graphDelete
public void graphDelete(K key)
Description copied from interface:TransactionalGraphCommandsExecute the command GRAPH.DELETE. Summary: Completely removes the graph and all of its entities. Group: graph- Specified by:
graphDeletein interfaceTransactionalGraphCommands<K>- Parameters:
key- the key, must not benull
-
graphExplain
public void graphExplain(K key, String query)
Description copied from interface:TransactionalGraphCommandsExecute the command GRAPH.EXPLAIN. Summary: Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your query will get executed. Group: graph- Specified by:
graphExplainin interfaceTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benull
-
graphList
public void graphList()
Description copied from interface:TransactionalGraphCommandsExecute the command GRAPH.LIST. Summary: Lists all graph keys in the keyspace. Group: graph- Specified by:
graphListin interfaceTransactionalGraphCommands<K>
-
graphQuery
public void graphQuery(K key, String query)
Description copied from interface:TransactionalGraphCommandsExecute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph- Specified by:
graphQueryin interfaceTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benull
-
graphQuery
public void graphQuery(K key, String query, Duration timeout)
Description copied from interface:TransactionalGraphCommandsExecute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph- Specified by:
graphQueryin interfaceTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benulltimeout- a timeout, must not benull
-
-