Package org.sql.generation.api.grammar.query

This package and its sub-package contain elements related to SQL queries (SELECT statements).

See:
          Description

Interface Summary
AsteriskSelect This syntax element represents the asterisk in expression SELECT *.
ColumnReference Common interface for columns in expression SELECT <column1>, <column2>, ....
ColumnReferenceByExpression This syntax element represents the column reference in SELECT <column reference> clause, where the column reference is some kind of expression (for example, a constant, or a query).
ColumnReferenceByName This syntax element represents the column reference in SELECT <column reference> clause, where the column reference is column name, either with table name or without.
ColumnReferences This syntax element represents the whole SELECT <column1>, <column2>, ... clause, up until FROM.
CorrespondingSpec This syntax element represents the CORRESPONDING BY clause in UNION, INTERSECT, and EXCEPT operations on queries.
FromClause This syntax element represents the FROM clause in SELECT statement.
GroupByClause This syntax element represents the GROUP BY clause in SELECT statement.
GroupingElement This is a common interface for a grouping element of the GROUP BY clause.
LimitSpecification This syntax element represents the FETCH FIRST <number> ROWS ONLY element of the query.
OffsetSpecification This syntax element represents the OFFSET <number> ROWS element of the query.
OrderByClause This syntax element represents the ORDER BY clause of SELECT statement.
OrdinaryGroupingSet This syntax element represents the ordinary grouping set specification.
QueryExpression This syntax element represents the QueryExpressionBody and, in future, the WithClause (WITH) to be used with query.
QueryExpressionBody This is common interface for a queries and joined tables.
QueryExpressionBodyActual This is common interface for a query, which is either one SELECT statement, or many SELECT statements joined together with SetOperations.
QueryExpressionBodyBinary This syntax element represents two queries which have a set operation (UNION, INTERSECT, or EXCEPT) between them.
QueryExpressionBodyQuery This syntax element represents the single query (currently only SELECT statement, represented by QuerySpecification.
QuerySpecification This syntax element represents the single SELECT statement.
RowDefinition This syntax element represents a comma-separated row value definition of VALUES expression in query.
RowSubQuery This syntax element represents subquery in VALUES expression in query.
RowValueConstructor This syntax elements represents either subquery or parenthesized row definition of VALUES expression in query.
SelectColumnClause This is common interface for columns of SELECT statement.
SortSpecification This syntax element represents the sort specification used in ORDER BY clause.
TableAlias This syntax element represents the alias for a table.
TableReference This is common interface for all table references in FROM clause.
TableReferenceByExpression This syntax element represents the sub-query which acts as a table in FROM clause.
TableReferenceByName This syntax element represents the reference to a table in FROM clause.
TableReferencePrimary This is common interface for non-joined table references.
TableValueConstructor This syntax element represents the VALUES expression in query.
 

Class Summary
ColumnReferences.ColumnReferenceInfo A helper class to encapsulate column reference along with its alias.
GroupingElement.GrandTotal This syntax element represents the grand total grouping element.
Ordering This is enum for what kind of order will be applied to each ordering column.
QueryExpressionBody.EmptyQueryExpressionBody This syntax element represents the empty query expression body.
SetOperation This enum represents the possible set operations to combine queries with.
 

Package org.sql.generation.api.grammar.query Description

This package and its sub-package contain elements related to SQL queries (SELECT statements).



Copyright © 2010-2012. All Rights Reserved.