Class TemporalLiteral

  • All Implemented Interfaces:
    Expression, Literal<java.time.temporal.TemporalAccessor>, Visitable

    @API(status=EXPERIMENTAL,
         since="2021.1.0")
    public final class TemporalLiteral
    extends java.lang.Object
    Thrown when a QueryDSL operator cannot be used with the Cypher-DSL predicate converter.
    Since:
    2021.1.0
    Author:
    Michael J. Simons
    • Method Detail

      • asString

        public java.lang.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 T getContent()
        Returns:
        The content of this literal, may be null