Class ArrayExpression

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

public class ArrayExpression extends Expression
Expression representing an input array of expressions (or at least some of the array is of expressions).
See Also:
  • Field Details

  • Constructor Details

    • ArrayExpression

      public ArrayExpression(Expression[] elements)
  • Method Details

    • getElement

      public Expression getElement(int index)
      Accessor for an element of the array.
      Parameters:
      index - The index of the element in the array
      Returns:
      Element
    • getArraySize

      public int getArraySize()
    • 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