| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.query |
Package to hold builders for SQL queries (
SELECT -statements). |
| 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 |
|---|---|
TableReferenceBuilder |
TableReferenceBuilder.addCrossJoin(TableReference right)
Adds a cross join (
CROSS JOIN) to whatever current table of builder, and overwrites the current table
with the result. |
TableReferenceBuilder |
TableReferenceBuilder.addNaturalJoin(JoinType joinType,
TableReference right)
Adds a natural join (
NATURAL JOIN) to whatever current table of builder, and overwrites the current table
with the result. |
TableReferenceBuilder |
TableReferenceBuilder.addQualifiedJoin(JoinType joinType,
TableReference right,
JoinSpecification joinSpec)
Adds a qualified join (
JOIN) to whatever current table of builder, and overwrites the current table with
the result. |
TableReferenceBuilder |
TableReferenceBuilder.addUnionJoin(TableReference right)
Adds an union join (
UNION JOIN) to whatever current table of builder, and overwrites the current table
with the result. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TableReferenceByExpression
This syntax element represents the sub-query which acts as a table in
FROM clause. |
interface |
TableReferenceByName
This syntax element represents the reference to a table in
FROM clause. |
interface |
TableReferencePrimary
This is common interface for non-joined table references.
|
| Modifier and Type | Method and Description |
|---|---|
List<TableReference> |
FromClause.getTableReferences()
Gets all the table references.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
TableReference |
JoinedTable.getLeft()
Returns the table on the left side of the join.
|
TableReference |
JoinedTable.getRight()
Gets the table on the right side of the join.
|
Copyright © 2010-2012. All Rights Reserved.