Class ParameterExpression

  • All Implemented Interfaces:

    public class ParameterExpression
    extends Expression
    Expression representing a parameter. The parameter can be explicit (declared as input to the query) or implicit (implied based on the syntax in the query).
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterExpression

        public ParameterExpression​(String name,
                                   int position)
      • ParameterExpression

        public ParameterExpression​(String name,
                                   Class type)
        Constructor for when we know the name and the type (e.g via criteria queries).
        name - The name
        type - The type
    • Method Detail

      • getId

        public String getId()
      • getPosition

        public int getPosition()
      • setType

        public void setType​(Class type)
      • getType

        public Class getType()
      • setName

        public void setName​(String name)
      • bind

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