| Modifier and Type | Interface and Description |
|---|---|
interface |
SqlStatement
This interface represents an SQL statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFragment
Common base class for SQL statement fragments
|
class |
Column
This class represents a column in an SQL statement
|
class |
ColumnsDefinition
This class represents a list of column definitions in an SQL statement.
|
class |
DerivedColumn
This class represents a derived column in an SQL query.
|
class |
Table
Represents a
Table in an SQL Statement. |
class |
ValueTable
Value tables are pseudo-tables constructed from rows and columns of expressions (e.g.
|
class |
ValueTableRow
This class represents a row in a
ValueTable. |
| Modifier and Type | Field and Description |
|---|---|
protected Fragment |
AbstractFragment.root |
| Modifier and Type | Method and Description |
|---|---|
Fragment |
Fragment.getRoot()
Get the root statement of this SQL fragment.
|
Fragment |
AbstractFragment.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
static ValueTableRow.Builder |
ValueTableRow.builder(Fragment root)
Get a
ValueTableRow.Builder for a ValueTableRow. |
| Constructor and Description |
|---|
AbstractFragment(Fragment root)
Create an instance of an SQL fragment
|
Builder(Fragment root) |
Column(Fragment root,
String columnName,
DataType dataType)
Create a new instance of a
Column |
DerivedColumn(Fragment root,
ValueExpression valueExpression)
Create a new instance of a
DerivedColumn. |
DerivedColumn(Fragment root,
ValueExpression valueExpression,
String derivedColumnName)
Create a new instance of a
DerivedColumn. |
Table(Fragment root,
String name)
Create a new
Table with a name and an alias. |
Table(Fragment root,
String name,
String alias)
Create a new
Table with a name and an alias. |
ValueTable(Fragment root)
Create a new
ValueTable. |
ValueTableRow(Fragment root,
String... values)
Create a value table row from a list of string literals.
|
ValueTableRow(Fragment root,
ValueExpression... expressions)
Create a value table row from a list of expressions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Schema
This class represents a
Schema in an SQL Statement |
| Constructor and Description |
|---|
Schema(Fragment root,
String schemaName)
Create a new
Schema |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CreateSchemaFragment
This is the common interface for all fragments of a CREATE SCHEMA statement.
|
interface |
CreateTableFragment
This is the common interface for all fragments of a CREATE TABLE statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateSchema
This class implements an SQL
CreateSchema statement. |
class |
CreateTable
This class implements an SQL
CreateTable statement |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DropSchemaFragment
This is the common interface for all fragments of a DROP SCHEMA statement.
|
interface |
DropTableFragment
This is the common interface for all fragments of a DROP TABLE statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Cascade
This class represents CASCADE clause in DROP SCHEMA SQL statement
|
class |
CascadeConstraints
This class represents CASCADE CONSTRAINTS clause in the DROP TABLE SQL statement
|
class |
DropSchema
This class implements an SQL
DropSchema statement. |
class |
DropTable
This class implements an SQL
DropTable statement. |
class |
Restrict
This class represents RESTRICT clause in DROP SCHEMA SQL statement
|
| Constructor and Description |
|---|
Cascade(Fragment root)
Create an instance of
Cascade class |
CascadeConstraints(Fragment root)
Create an instance of
CascadeConstraints class |
Restrict(Fragment root)
Create an instance of
Restrict class |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InsertFragment
This is the common interface for all fragments of a INSERT statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInsertValueTable<T extends AbstractInsertValueTable<T>>
Abstract base class for SQL fragments that contain a insert value table (for example
INSERT, MERGE). |
class |
Insert
This class implements an SQL
Insert statement. |
class |
InsertFields
Field list that defines the fields data is being inserted into.
|
| Constructor and Description |
|---|
AbstractInsertValueTable(Fragment root)
Create the abstract base for a fragment containing a value table.
|
InsertFields(Fragment root)
Create an new instance of
InsertFields |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MergeFragment
This is the common interface for all fragments of a
MERGE statement. |
| Modifier and Type | Class and Description |
|---|---|
class |
MatchedClause
Representation of the
WHEN MATCHED part of an SQL MERGE statement. |
class |
Merge
|
class |
MergeColumnUpdate
Update of a value in a column caused by a
MERGE command. |
class |
MergeDeleteClause
This class represents the
MERGE strategy of deleting matched rows. |
class |
MergeInsertClause
Represents the
MERGE strategy of inserting rows from the source that do not match any row in the destination. |
class |
MergeMethodDefinition
Abstract base class for merge method definitions like
WHEN MATCHED THEN UPDATE. |
class |
MergeUpdateClause
Represents the
MERGE strategy of updating matched rows. |
class |
NotMatchedClause
Representation of the
WHEN NOT MATCHED part of an SQL MERGE statement. |
class |
OnClause
The
ON clause of an SQL MERGE statement. |
class |
UsingClause
The
USING clause of an SQL MERGE statement. |
| Constructor and Description |
|---|
MatchedClause(Fragment root)
Create a new instance of a
MatchedClause. |
MergeColumnUpdate(Fragment root,
String column,
ValueExpression expression)
Create a new instance of a
MergeColumnUpdate. |
MergeDeleteClause(Fragment root)
Create a new instance of a
MergeDeleteClause. |
MergeInsertClause(Fragment root)
Create a new instance of a
MergeInsertClause. |
MergeMethodDefinition(Fragment root)
Create the abstract base for a merge method definition.
|
MergeUpdateClause(Fragment root)
Create a new instance of a
MergeUpdateClause. |
NotMatchedClause(Fragment root)
Create a new instance of a
NotMatchedClause. |
OnClause(Fragment root,
BooleanExpression condition)
Create a new instance of a
OnClause. |
UsingClause(Fragment root,
String sourceTable)
Create a new instance of a
UsingClause. |
UsingClause(Fragment root,
String sourceTable,
String as)
Create a new instance of a
UsingClause. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SelectFragment
This is the common interface for all fragments of a SELECT statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FromClause
This class represents the
FROM clause of an SQL SELECT statement. |
class |
GroupByClause
This class represents the GROUP BY clause of an SQL statement.
|
class |
Join
This class implements the
Join part of a WHERE clause. |
class |
LimitClause
This class represents the limit clause of an SQL statement.
|
class |
OrderByClause
This class represents the
ORDER BY clause of an SQL statement. |
class |
Select
This class implements an SQL
Select statement. |
class |
WhereClause
This class represents the where clause of an SQL statement.
|
| Constructor and Description |
|---|
FromClause(Fragment root)
Create a new instance of a
FromClause. |
Join(Fragment root,
JoinType type,
String name,
String specification)
Create a new
Join instance |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFragmentRenderer.appendCommaWhenNeeded(Fragment fragment) |
protected void |
AbstractFragmentRenderer.setLastVisited(Fragment fragment) |
Copyright © 2018–2021. All rights reserved.