| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.query |
Package to hold builders for SQL queries (
SELECT -statements). |
| org.sql.generation.api.grammar.factories |
This package provides factories to create various builders and SQL syntax elements.
|
| 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 |
|---|---|
QueryBuilder |
QueryBuilder.except(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
EXCEPT <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.except(QueryExpressionBody another)
Adds
EXCEPT <setQuantifier> between current query and the given query. |
QueryBuilder |
QueryBuilder.except(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
EXCEPT between current query and the given query. |
QueryBuilder |
QueryBuilder.except(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
EXCEPT <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.intersect(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
INTERSECT <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.intersect(QueryExpressionBody another)
Adds
INTERSECT between current query and the given query. |
QueryBuilder |
QueryBuilder.intersect(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
INTERSECT <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.intersect(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
INTERSECT <setQuantifier> between current query and the given query. |
QueryBuilder |
QueryBuilder.union(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
UNION <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.union(QueryExpressionBody another)
Adds
UNION between current query and the given query. |
QueryBuilder |
QueryBuilder.union(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
UNION <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
QueryBuilder.union(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
UNION <setQuantifier> between current query and the given query. |
| Modifier and Type | Method and Description |
|---|---|
QueryExpression |
QueryFactory.createQuery(QueryExpressionBody body)
Creates new query, which has the specified body as an actual query.
|
QueryBuilder |
QueryFactory.queryBuilder(QueryExpressionBody query)
Creates a builder to build queries with capability for
UNION, INTERSECT, and EXCEPT set
operations. |
| Modifier and Type | Interface and Description |
|---|---|
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 |
|---|---|
QueryExpressionBody |
QueryExpressionBodyBinary.getLeft()
Returns the query on the left side of the set operation.
|
QueryExpressionBody |
QueryExpression.getQueryExpressionBody()
Returns the body of this query.
|
QueryExpressionBody |
QueryExpressionBodyBinary.getRight()
Returns the query on the right side of the set operation.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends QueryExpressionBody> |
QueryExpressionBody.EmptyQueryExpressionBody.getImplementedType()
|
| 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.