Class NullLiteral

java.lang.Object
org.neo4j.cypherdsl.core.NullLiteral
All Implemented Interfaces:
Visitable, Expression, Literal<Void>

@API(status=STABLE, since="1.0") public final class NullLiteral extends Object
Represents the literal value null.
Since:
1.0
Author:
Gerrit Meier, Michael J. Simons
  • Method Details

    • 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.
    • getContent

      public final Void getContent()
      Returns:
      The content of this literal, may be null