Class TableSelectExpression

java.lang.Object
com.mckoi.database.interpret.TableSelectExpression
All Implemented Interfaces:
StatementTreeObject, Serializable, Cloneable

public final class TableSelectExpression extends Object implements Serializable, StatementTreeObject, Cloneable
A container object for the a table select expression, eg.

               SELECT [columns]
                 FROM [tables]
                WHERE [search_clause]
             GROUP BY [column]
               HAVING [search_clause]
 [composite_function] [table_select_expression]
 

Note that a TableSelectExpression can be nested in the various clauses of this object.

Author:
Tobias Downer
See Also:
  • Field Details

    • distinct

      public boolean distinct
      True if we only search for distinct elements.
    • columns

      public ArrayList columns
      The list of columns to select from. (SelectColumn)
    • from_clause

      public FromClause from_clause
      The from clause.
    • where_clause

      public SearchExpression where_clause
      The where clause.
    • group_by

      public ArrayList group_by
      The list of columns to group by. (ByColumn)
    • group_max

      public Variable group_max
      The group max variable or null if no group max.
    • having_clause

      public SearchExpression having_clause
      The having clause.
  • Constructor Details

    • TableSelectExpression

      public TableSelectExpression()
      Constructor.
  • Method Details