Class ProcedureCall

    • Method Detail

      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
        Specified by:
        accept in interface Visitable
        Parameters:
        visitor - the visitor to notify, must not be null.
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.Object> getParameters()
        Description copied from interface: Statement
        After a statement has been build, all parameters that have been added to the statement can be retrieved through this method. The result will only contain parameters with a defined value. If you are interested in all parameter names, use Statement.getParameterNames().

        The map can be used for example as an argument with various methods on the Neo4j Java Driver that allow the execution of parameterized queries.

        This method is threadsafe

        Specified by:
        getParameters in interface Statement
        Returns:
        A map of all parameters with a bound value.
      • getParameterNames

        public java.util.Set<java.lang.String> getParameterNames()
        Description copied from interface: Statement
        After the statement has been build, this method returns a list of all parameter names used, regardless whether a value was bound to the parameter o not.

        This method is threadsafe

        Specified by:
        getParameterNames in interface Statement
        Returns:
        A set of parameter names being used.
      • getCypher

        public java.lang.String getCypher()
        Description copied from interface: Statement
        This method uses the default renderer to create a String representation of this statement. The generated Cypher will use escaped literals and correct placeholders like $param for parameters. The placeholders for parameters can be retrieved via Statement.getParameterNames(). Bounded values for paramters can be retrieved via Statement.getParameters().

        This method is threadsafe

        Specified by:
        getCypher in interface Statement
        Returns:
        A valid Cypher statement