java.lang.Object
org.datanucleus.store.query.expression.Expression
org.datanucleus.store.query.expression.Literal
All Implemented Interfaces:
Serializable

public class Literal extends Expression
Literal of some type (String, Double, Long, BigDecimal, etc).
See Also:
  • Field Details

  • Constructor Details

    • Literal

      public Literal(Object value)
  • Method Details

    • getLiteral

      public Object getLiteral()
    • negate

      public void negate()
    • bind

      public Symbol bind(SymbolTable symtbl)
      Method to bind the expression to the symbol table as appropriate.
      Specified by:
      bind in class Expression
      Parameters:
      symtbl - Symbol Table
      Returns:
      The symbol for this expression
    • toString

      public String toString()
      Overrides:
      toString in class Object