Package org.neo4j.cypherdsl.core
Class StringLiteral
- java.lang.Object
-
- org.neo4j.cypherdsl.core.Literal<java.lang.CharSequence>
-
- org.neo4j.cypherdsl.core.StringLiteral
-
- All Implemented Interfaces:
Expression,Visitable
@API(status=EXPERIMENTAL, since="1.0") public final class StringLiteral extends Literal<java.lang.CharSequence>The string representation of a string literal will be a quoted Cypher string in single tickmarks with escaped reserved characters.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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.-
Methods inherited from class org.neo4j.cypherdsl.core.Literal
getContent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
asString
public java.lang.String asString()
Description copied from class: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.
-
-