Interface RedisGraph

    • Method Detail

      • query

        ResultSet query​(String graphId,
                        String query)
        Execute a Cypher query.
        Parameters:
        graphId - a graph to perform the query on
        query - Cypher query
        Returns:
        a result set
      • readOnlyQuery

        ResultSet readOnlyQuery​(String graphId,
                                String query)
        Execute a Cypher read-only query.
        Parameters:
        graphId - a graph to perform the query on
        query - Cypher query
        Returns:
        a result set
      • query

        ResultSet query​(String graphId,
                        String query,
                        long timeout)
        Execute a Cypher query with timeout.
        Parameters:
        graphId - a graph to perform the query on
        query - Cypher query
        timeout -
        Returns:
        a result set
      • readOnlyQuery

        ResultSet readOnlyQuery​(String graphId,
                                String query,
                                long timeout)
        Execute a Cypher read-only query with timeout.
        Parameters:
        graphId - a graph to perform the query on
        query - Cypher query
        timeout -
        Returns:
        a result set
      • query

        ResultSet query​(String graphId,
                        String query,
                        Map<String,​Object> params)
        Executes a cypher query with parameters.
        Parameters:
        graphId - a graph to perform the query on.
        query - Cypher query.
        params - parameters map.
        Returns:
        a result set.
      • readOnlyQuery

        ResultSet readOnlyQuery​(String graphId,
                                String query,
                                Map<String,​Object> params)
        Executes a cypher read-only query with parameters.
        Parameters:
        graphId - a graph to perform the query on.
        query - Cypher query.
        params - parameters map.
        Returns:
        a result set.
      • query

        ResultSet query​(String graphId,
                        String query,
                        Map<String,​Object> params,
                        long timeout)
        Executes a cypher query with parameters and timeout.
        Parameters:
        graphId - a graph to perform the query on.
        query - Cypher query.
        params - parameters map.
        timeout -
        Returns:
        a result set.
      • readOnlyQuery

        ResultSet readOnlyQuery​(String graphId,
                                String query,
                                Map<String,​Object> params,
                                long timeout)
        Executes a cypher read-only query with parameters and timeout.
        Parameters:
        graphId - a graph to perform the query on.
        query - Cypher query.
        params - parameters map.
        timeout -
        Returns:
        a result set.
      • callProcedure

        ResultSet callProcedure​(String graphId,
                                String procedure)
        Invokes stored procedures without arguments
        Parameters:
        graphId - a graph to perform the query on
        procedure - procedure name to invoke
        Returns:
        result set with the procedure data
      • callProcedure

        ResultSet callProcedure​(String graphId,
                                String procedure,
                                List<String> args)
        Invokes stored procedure with arguments
        Parameters:
        graphId - a graph to perform the query on
        procedure - procedure name to invoke
        args - procedure arguments
        Returns:
        result set with the procedure data
      • callProcedure

        ResultSet callProcedure​(String graphId,
                                String procedure,
                                List<String> args,
                                Map<String,​List<String>> kwargs)
        Invoke a stored procedure
        Parameters:
        graphId - a graph to perform the query on
        procedure - - procedure to execute
        args - - procedure arguments
        kwargs - - procedure output arguments
        Returns:
        result set with the procedure data
      • deleteGraph

        String deleteGraph​(String graphId)
        Deletes the entire graph
        Parameters:
        graphId - graph to delete
        Returns:
        delete running time statistics