Class ReactiveTransactionalGraphCommandsImpl<K>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
io.quarkus.redis.runtime.datasource.ReactiveTransactionalGraphCommandsImpl<K>
- All Implemented Interfaces:
ReactiveTransactionalGraphCommands<K>,ReactiveTransactionalRedisCommands
public class ReactiveTransactionalGraphCommandsImpl<K>
extends AbstractTransactionalCommands
implements ReactiveTransactionalGraphCommands<K>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
tx -
Constructor Summary
ConstructorsConstructorDescriptionReactiveTransactionalGraphCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveGraphCommandsImpl<K> reactive, TransactionHolder tx) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>graphDelete(K key) Execute the command GRAPH.DELETE.io.smallrye.mutiny.Uni<Void>graphExplain(K key, String query) Execute the command GRAPH.EXPLAIN.io.smallrye.mutiny.Uni<Void>Execute the command GRAPH.LIST.io.smallrye.mutiny.Uni<Void>graphQuery(K key, String query) Execute the command GRAPH.QUERY.io.smallrye.mutiny.Uni<Void>graphQuery(K key, String query, Duration timeout) Execute the command GRAPH.QUERY.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
getDataSource, queuedOrDiscardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
Constructor Details
-
ReactiveTransactionalGraphCommandsImpl
public ReactiveTransactionalGraphCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveGraphCommandsImpl<K> reactive, TransactionHolder tx)
-
-
Method Details
-
graphDelete
Description copied from interface:ReactiveTransactionalGraphCommandsExecute the command GRAPH.DELETE. Summary: Completely removes the graph and all of its entities. Group: graph- Specified by:
graphDeletein interfaceReactiveTransactionalGraphCommands<K>- Parameters:
key- the key, must not benull- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
graphExplain
Description copied from interface:ReactiveTransactionalGraphCommandsExecute 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 interfaceReactiveTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benull- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
graphList
Description copied from interface:ReactiveTransactionalGraphCommandsExecute the command GRAPH.LIST. Summary: Lists all graph keys in the keyspace. Group: graph- Specified by:
graphListin interfaceReactiveTransactionalGraphCommands<K>- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
graphQuery
Description copied from interface:ReactiveTransactionalGraphCommandsExecute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph- Specified by:
graphQueryin interfaceReactiveTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benull- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
graphQuery
Description copied from interface:ReactiveTransactionalGraphCommandsExecute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph- Specified by:
graphQueryin interfaceReactiveTransactionalGraphCommands<K>- Parameters:
key- the key, must not benullquery- the query, must not benulltimeout- a timeout, must not benull- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-