Class Query
java.lang.Object
org.neo4j.driver.Query
The components of a Cypher query, containing the query text and parameter map.
- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Returns the parameter map.text()Returns the query text.toString()withParameters(Map<String, Object> newParameters) Returns a new Query object with updated parameters.withParameters(Value newParameters) Returns a new Query object with updated parameters.Returns a new Query object with updated text.withUpdatedParameters(Value updates) Create a new query with new parameters derived by updating this' query's parameters using the given updates.
-
Constructor Details
-
Query
-
Query
-
Query
-
-
Method Details
-
text
-
parameters
-
withText
-
withParameters
-
withParameters
-
withUpdatedParameters
Create a new query with new parameters derived by updating this' query's parameters using the given updates.Every update key that points to a null value will be removed from the new query's parameters. All other entries will just replace any existing parameter in the new query.
- Parameters:
updates- describing how to update the parameters- Returns:
- a new query with updated parameters
-
equals
-
hashCode
-
toString
-