java.lang.Object
org.neo4j.cypherdsl.core.MapProjection
- All Implemented Interfaces:
Visitable
,Expression
@API(status=STABLE,
since="1.0")
public final class MapProjection
extends Object
implements Expression
Represents a map projection as described here.
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoid
@NotNull MapProjection
Adds additional content.static MapProjection
create
(SymbolicName name, Object... content) Create a new map projection with the given, mixed contenttoString()
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname.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
-
create
@API(status=INTERNAL, since="2023.9.0") public static MapProjection create(SymbolicName name, Object... content) Create a new map projection with the given, mixed content- Parameters:
name
- The symbolic name of this projectcontent
- The projected content- Returns:
- A new map projection
- Since:
- 2021.2.3
-
and
Adds additional content. The current projection is left unchanged and a new one is returned.- Parameters:
content
- The additional content for a new projection.- Returns:
- A new map projection with additional content.
-
accept
Description copied from interface:Visitable
-
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.
-