| Package | Description |
|---|---|
| org.sql.generation.api.grammar.booleans |
This package provides interfaces for syntax elements of boolean expressions in SQL language.
|
| org.sql.generation.api.grammar.builders.booleans |
This package contains builders for various boolean expressions.
|
| org.sql.generation.api.grammar.builders.query |
Package to hold builders for SQL queries (
SELECT -statements). |
| org.sql.generation.api.grammar.common |
This package contains interfaces and classes common for most parts of SQL generator.
|
| org.sql.generation.api.grammar.factories |
This package provides factories to create various builders and SQL syntax elements.
|
| org.sql.generation.api.grammar.literals |
The package for syntax elements representing various literals.
|
| org.sql.generation.api.grammar.query |
This package and its sub-package contain elements related to SQL queries (
SELECT statements). |
| org.sql.generation.api.grammar.query.joins |
This package provides syntax interfaces for joined tables, mostly used in
FROM clause. |
| Modifier and Type | Method and Description |
|---|---|
NonBooleanExpression |
MultiPredicate.getLeft()
Returns the expression on the left side (the first expression).
|
NonBooleanExpression |
BinaryPredicate.getLeft()
Returns the expression on the left side of the operator.
|
NonBooleanExpression |
NotBetweenPredicate.getMaximum()
Returns the maxmimum value (the expression on the right side of
AND). |
NonBooleanExpression |
BetweenPredicate.getMaximum()
Returns the maxmimum value (the expression on the right side of
AND). |
NonBooleanExpression |
NotBetweenPredicate.getMinimum()
Returns the minimum value (the expression on the left side of
AND). |
NonBooleanExpression |
BetweenPredicate.getMinimum()
Returns the minimum value (the expression on the left side of
AND). |
NonBooleanExpression |
BinaryPredicate.getRight()
Returns the expression on the right side of the operator.
|
NonBooleanExpression |
UnaryPredicate.getValueExpression()
Returns the value expression for this predicate.
|
| Modifier and Type | Method and Description |
|---|---|
List<NonBooleanExpression> |
MultiPredicate.getRights()
Returns the remaining expressions after the first one.
|
| Modifier and Type | Method and Description |
|---|---|
InBuilder |
InBuilder.addValues(NonBooleanExpression... expressions) |
| Modifier and Type | Method and Description |
|---|---|
SimpleQueryBuilder |
SimpleQueryBuilder.limit(NonBooleanExpression max) |
QuerySpecificationBuilder |
QuerySpecificationBuilder.limit(NonBooleanExpression max) |
AbstractQueryBuilder<ExpressionType> |
AbstractQueryBuilder.limit(NonBooleanExpression max)
Adds the
FETCH FIRST <number> ROWS ONLY expression for this query. |
SimpleQueryBuilder |
SimpleQueryBuilder.offset(NonBooleanExpression skip) |
QuerySpecificationBuilder |
QuerySpecificationBuilder.offset(NonBooleanExpression skip) |
AbstractQueryBuilder<ExpressionType> |
AbstractQueryBuilder.offset(NonBooleanExpression skip)
Adds the
OFFSET <number> ROWS expression for this query. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ColumnNameList
This interface presents a non-empty list of plain-text column names.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DirectLiteral
This syntax element encapsulates text to be inserted directly into SQL statement.
|
interface |
LiteralExpression
This is common interface for all literal expressions.
|
interface |
NumericLiteral
This syntax element encapsulates reference to some number to be inserted into SQL statement.
|
interface |
SQLFunctionLiteral
This syntax element encapsulates reference to some SQL function to be inserted into SQL statement.
|
interface |
StringLiteral
This syntax element encapsulates reference to SQL string, that is, some element between
' and '
characters. |
interface |
TemporalLiteral
This syntax element represents any literal that represents some kind of time.
|
interface |
TimestampTimeLiteral
This syntax element encapsulates reference to some time stamp to be inserted into SQL statement.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ColumnReference
Common interface for columns in expression
SELECT <column1>, <column2>, .... |
interface |
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). |
interface |
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. |
interface |
QueryExpression
This syntax element represents the
QueryExpressionBody and, in future, the WithClause (WITH) to be
used with query. |
interface |
QueryExpressionBody
This is common interface for a queries and joined tables.
|
interface |
QueryExpressionBodyActual
This is common interface for a query, which is either one
SELECT statement, or many SELECT statements
joined together with SetOperations. |
interface |
QueryExpressionBodyBinary
This syntax element represents two queries which have a set operation (
UNION, INTERSECT, or
EXCEPT) between them. |
interface |
QueryExpressionBodyQuery
This syntax element represents the single query (currently only
SELECT statement, represented by
QuerySpecification. |
interface |
QuerySpecification
This syntax element represents the single
SELECT statement. |
interface |
TableValueConstructor
This syntax element represents the
VALUES expression in query. |
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryExpressionBody.EmptyQueryExpressionBody
This syntax element represents the empty query expression body.
|
| Modifier and Type | Method and Description |
|---|---|
NonBooleanExpression |
LimitSpecification.getCount()
Returns the
<number> element in the FETCH FIRST <number> ROWS ONLY expression. |
NonBooleanExpression |
OffsetSpecification.getSkip()
Returns the
<number> element in the OFFSET <number> ROWS expression. |
| Modifier and Type | Method and Description |
|---|---|
List<NonBooleanExpression> |
OrdinaryGroupingSet.getColumns()
Returns the grouping column reference expressions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CrossJoinedTable
This syntax element represents the cross join (
CROSS JOIN between two tables. |
interface |
JoinedTable
This is common interface for joined tables.
|
interface |
NaturalJoinedTable
This syntax element represents the
NATURAL JOIN between two tables. |
interface |
QualifiedJoinedTable
This syntax element represents the qualified join (
JOIN between two tables. |
interface |
UnionJoinedTable
This syntax element represents the
UNION JOIN between two tables. |
Copyright © 2010-2012. All Rights Reserved.