Class VariableExpression

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

public class VariableExpression extends Expression
Expression representing a variable. The variable can be explicit (declared as input to the query) or implicit (implied based on the query).
See Also:
  • Field Details

  • Constructor Details

    • VariableExpression

      public VariableExpression(String name)
    • VariableExpression

      public VariableExpression(String name, Class type)
  • Method Details

    • getId

      public String getId()
    • 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