Package org.neo4j.cypherdsl.core
Class ProcedureCall
- java.lang.Object
-
- org.neo4j.cypherdsl.core.ProcedureCall
-
public final class ProcedureCall extends java.lang.Object implements Statement
See StandaloneCall.- Since:
- 2020.0.1
- Author:
- Michael J. Simons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProcedureCall.OngoingInQueryCallWithArgumentsThe union of an in-query call exposing yields.static interfaceProcedureCall.OngoingInQueryCallWithoutArgumentsThe union of an in-query call exposing new arguments and yields.static interfaceProcedureCall.OngoingInQueryCallWithReturnFieldsAn in-query call exposing where and return clauses.static interfaceProcedureCall.OngoingStandaloneCallWithArgumentsThe union of a buildable statement and call exposing yields.static interfaceProcedureCall.OngoingStandaloneCallWithoutArgumentsThe union of a buildable statement and call exposing new arguments and yields.static interfaceProcedureCall.OngoingStandaloneCallWithReturnFieldsA buildable statement exposing where and return clauses.-
Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.Statement
Statement.RegularQuery, Statement.SingleQuery
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)java.lang.StringgetCypher()This method uses the default renderer to create a String representation of this statement.java.util.Set<java.lang.String>getParameterNames()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.java.util.Map<java.lang.String,java.lang.Object>getParameters()After a statement has been build, all parameters that have been added to the statement can be retrieved through this method.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.cypherdsl.core.Statement
getCypher, getParameterNames, getParameters
-
-
-
-
Method Detail
-
getParameters
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
Description copied from interface:StatementAfter 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, useStatement.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:
getParametersin interfaceStatement- Returns:
- A map of all parameters with a bound value.
-
getParameterNames
public java.util.Set<java.lang.String> getParameterNames()
Description copied from interface:StatementAfter 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:
getParameterNamesin interfaceStatement- Returns:
- A set of parameter names being used.
-
getCypher
public java.lang.String getCypher()
Description copied from interface:StatementThis method uses the default renderer to create a String representation of this statement. The generated Cypher will use escaped literals and correct placeholders like$paramfor parameters. The placeholders for parameters can be retrieved viaStatement.getParameterNames(). Bounded values for paramters can be retrieved viaStatement.getParameters().This method is threadsafe
-
-