| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.query |
Package to hold builders for 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.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. |
| Modifier and Type | Field and Description |
|---|---|
static JoinType |
JoinType.FULL_OUTER
The
FULL OUTER join. |
static JoinType |
JoinType.INNER
The
INNER join, typically default. |
static JoinType |
JoinType.LEFT_OUTER
The
LEFT OUTER join. |
static JoinType |
JoinType.RIGHT_OUTER
The
RIGHT OUTER join. |
| Modifier and Type | Method and Description |
|---|---|
JoinType |
QualifiedJoinedTable.getJoinType()
Returns the join type for this
JOIN. |
JoinType |
NaturalJoinedTable.getJoinType()
Returns the join type for this
NATURAL JOIN. |
Copyright © 2010-2012. All Rights Reserved.