- All Implemented Interfaces:
Visitable
,Expression
@API(status=STABLE,
since="1.0")
public final class MapExpression
extends TypedSubtree<Expression>
implements Expression
A dedicated map expression.
Most of the comparison methods on this expression will not result in a sensible query fragment.
A MapExpression
is be useful as a concrete parameter to functions or as properties on nodes
or relationships
.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Field Summary
Fields inherited from class org.neo4j.cypherdsl.core.ast.TypedSubtree
children
-
Method Summary
Modifier and TypeMethodDescriptionprotected Visitable
prepareVisit
(Expression child) A hook for interfere with the visitation of child elements.toString()
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname.Methods inherited from class org.neo4j.cypherdsl.core.ast.TypedSubtree
accept, separator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, hasSize, in, includesAll, includesAny, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, size, sorted, startsWith, subtract
-
Method Details
-
prepareVisit
Description copied from class:TypedSubtree
A hook for interfere with the visitation of child elements.- Overrides:
prepareVisit
in classTypedSubtree<Expression>
- Parameters:
child
- The current child element- Returns:
- The visitable that has been prepared
-
toString
Description copied from interface:Visitable
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname. The representation however is not cached - in contrast to the ones for full statements. UsingtoString
is recommended for debugging purposes mainly, and not for production use.The concrete classname has been prepended to help debugging and actually to discourage using fragments to build queries without explicitly rendering them, either as statement or going through the renderer on purpose.
-