Package org.neo4j.cypherdsl.core
Class MapProjection
- 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
@NotNull MapProjection
and(Object... content)
Adds additional content.static MapProjection
create(SymbolicName name, Object... content)
Create a new map projection with the given, mixed content-
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.Expression
add, as, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, sorted, startsWith, subtract
-
-
-
-
Method Detail
-
create
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
@NotNull @Contract(pure=true) public @NotNull MapProjection and(Object... content)
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.
-
-