Package org.neo4j.cypherdsl.core
Interface Literal<T>
-
- Type Parameters:
T
- type of content
- All Superinterfaces:
Expression
,Visitable
- All Known Implementing Classes:
Asterisk
,BooleanLiteral
,ListLiteral
,Namespace
,NullLiteral
,NumberLiteral
,StringLiteral
,TemporalLiteral
@API(status=EXPERIMENTAL, since="1.0") public interface Literal<T> extends Expression
Represents a literal with an optional content.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
asString()
The string representation should be designed in such a way the a renderer can use it correctly in the given context of the literal, i.e.-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, 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, startsWith, subtract
-
-
-
-
Method Detail
-
asString
java.lang.String asString()
The string representation should be designed in such a way the a renderer can use it correctly in the given context of the literal, i.e. a literal containing a string should quote that string and escape all reserved characters.- Returns:
- A string representation to be used literally in a cypher statement.
-
-