Package org.neo4j.cypherdsl.core
Class NumberLiteral
- java.lang.Object
-
- org.neo4j.cypherdsl.core.internal.LiteralBase<Number>
-
- org.neo4j.cypherdsl.core.NumberLiteral
-
- All Implemented Interfaces:
Visitable
,Expression
,Literal<Number>
@API(status=STABLE, since="1.0") public final class NumberLiteral extends LiteralBase<Number>
- Since:
- 1.0
- Author:
- Gerrit Meier, Michael J. Simons
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.cypherdsl.core.Literal
Literal.UnsupportedLiteralException
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 class org.neo4j.cypherdsl.core.internal.LiteralBase
getContent
-
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, hasSize, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, size, sorted, startsWith, subtract
-
-
-
-
Method Detail
-
asString
public String asString()
Description copied from interface:Literal
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.
-
-