Class ReactiveTransactionalGraphCommandsImpl<K>

    • Method Detail

      • graphDelete

        public io.smallrye.mutiny.Uni<Void> graphDelete​(K key)
        Description copied from interface: ReactiveTransactionalGraphCommands
        Execute the command GRAPH.DELETE. Summary: Completely removes the graph and all of its entities. Group: graph
        Specified by:
        graphDelete in interface ReactiveTransactionalGraphCommands<K>
        Parameters:
        key - the key, must not be null
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • graphExplain

        public io.smallrye.mutiny.Uni<Void> graphExplain​(K key,
                                                         String query)
        Description copied from interface: ReactiveTransactionalGraphCommands
        Execute 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:
        graphExplain in interface ReactiveTransactionalGraphCommands<K>
        Parameters:
        key - the key, must not be null
        query - the query, must not be null
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • graphList

        public io.smallrye.mutiny.Uni<Void> graphList()
        Description copied from interface: ReactiveTransactionalGraphCommands
        Execute the command GRAPH.LIST. Summary: Lists all graph keys in the keyspace. Group: graph

        Specified by:
        graphList in interface ReactiveTransactionalGraphCommands<K>
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • graphQuery

        public io.smallrye.mutiny.Uni<Void> graphQuery​(K key,
                                                       String query)
        Description copied from interface: ReactiveTransactionalGraphCommands
        Execute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph

        Specified by:
        graphQuery in interface ReactiveTransactionalGraphCommands<K>
        Parameters:
        key - the key, must not be null
        query - the query, must not be null
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • graphQuery

        public io.smallrye.mutiny.Uni<Void> graphQuery​(K key,
                                                       String query,
                                                       Duration timeout)
        Description copied from interface: ReactiveTransactionalGraphCommands
        Execute the command GRAPH.QUERY. Summary: Executes the given query against a specified graph. Group: graph

        Specified by:
        graphQuery in interface ReactiveTransactionalGraphCommands<K>
        Parameters:
        key - the key, must not be null
        query - the query, must not be null
        timeout - a timeout, must not be null
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.