Class ArrayExpression

  • Direct Known Subclasses:
    ArrayLiteral

    public class ArrayExpression
    extends SQLExpression
    Representation of array expression.
    • Field Detail

      • elementExpressions

        protected List<SQLExpression> elementExpressions
        Expressions for all elements in the array.
    • Constructor Detail

      • ArrayExpression

        public ArrayExpression​(SQLStatement stmt,
                               SQLTable table,
                               JavaTypeMapping mapping)
        Constructor for an SQL expression for a (field) mapping in a specified table.
        Parameters:
        stmt - The statement
        table - The table in the statement
        mapping - The mapping for the field
      • ArrayExpression

        public ArrayExpression​(SQLStatement stmt,
                               JavaTypeMapping mapping,
                               SQLExpression[] exprs)
        Constructor for an SQL expression for an array expression specified in the query.
        Parameters:
        stmt - The statement
        mapping - The mapping for the field
        exprs - element expressions