java.lang.Object
org.neo4j.cypherdsl.core.TemporalLiteral
- All Implemented Interfaces:
Visitable,Expression,Literal<TemporalAccessor>
A literal representing a temporal value to be formatted in a way that Neo4j's Cypher understands it.
- Since:
- 2021.1.0
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.Literal
Literal.UnsupportedLiteralException -
Method Summary
Modifier and TypeMethodDescription@NotNull StringasString()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.final TemporalAccessorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
asString
Description copied from interface:LiteralThe 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.
-
getContent
- Returns:
- The content of this literal, may be null
-