| Package | Description |
|---|---|
| org.bridje.sql | |
| org.bridje.sql.dialects | |
| org.bridje.sql.impl |
| Modifier and Type | Method and Description |
|---|---|
Table |
BuildTableFKsStep.build()
Builds the table.
|
Table |
ForeignKey.getReferences()
The references for the foreign key.
|
Table |
Index.getTable()
The table that the index belongs to.
|
Table |
ForeignKey.getTable()
The table of the foreign key.
|
Table |
Column.getTable()
The table that this column belongs to.
|
Table[] |
Schema.getTables()
The tables that this schema contains.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,E> Column<T,E> |
SQL.buildColumn(String name,
Table table,
SQLType<T,E> type,
boolean allowNull,
T defValue)
Create a new SQL column that can be use for creating a SQL table.
|
static BuildForeignKeyStep |
SQL.buildForeignKey(String name,
Table table,
Column<?,?>... columns)
Creates a new builder that can be use to create a foreign key.
|
static BuildForeignKeyStep |
SQL.buildForeignKey(Table table,
Column<?,?>... columns)
Creates a new builder that can be use to create a foreign key.
|
static Index |
SQL.buildIndex(String name,
Table table,
Column<?,?>... columns)
Create a new index.
|
static Index |
SQL.buildIndex(Table table,
Column<?,?>... columns)
Create a new index.
|
static Index |
SQL.buildUnique(String name,
Table table,
Column<?,?>... columns)
Create a new unique index.
|
static Index |
SQL.buildUnique(Table table,
Column<?,?>... columns)
Create a new unique index.
|
String |
SQLDialect.createTable(Table table,
List<Object> params)
Creates the given table DDLs.
|
static DeleteStep |
SQL.delete(Table... tables)
Creates a new "delete" SQL query.
|
static InsertIntoStep |
SQL.insertInto(Table table)
Creates a new "insert" SQL query.
|
BuildFkReferencesStep |
BuildForeignKeyStep.references(Table table)
Especify the references table for the foreign key.
|
BuildSchemaStep |
BuildSchemaStep.table(Table table)
Adds a table to the schema.
|
static UpdateStep |
SQL.update(Table table)
Creates a new "update" SQL query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MySQLDialect.alterTable(StringBuilder builder,
Table table) |
void |
DerbyDialect.alterTable(StringBuilder builder,
Table table) |
void |
MySQLDialect.createIndex(StringBuilder builder,
String name,
Table table,
Column<?,?>[] columns,
boolean unique) |
void |
DerbyDialect.createIndex(StringBuilder builder,
String name,
Table table,
Column<?,?>[] columns,
boolean unique) |
void |
MySQLDialect.createTable(StringBuilder builder,
Table table) |
void |
DerbyDialect.createTable(StringBuilder builder,
Table table) |
String |
MySQLDialect.createTable(Table table,
List<Object> params) |
String |
DerbyDialect.createTable(Table table,
List<Object> params) |
void |
MySQLDialect.createUniqueIndex(StringBuilder builder,
String name,
Table table,
Column<?,?>[] columns) |
void |
DerbyDialect.createUniqueIndex(StringBuilder builder,
String name,
Table table,
Column<?,?>[] columns) |
void |
MySQLDialect.dropIndex(StringBuilder builder,
String name,
Table table) |
void |
DerbyDialect.dropIndex(StringBuilder builder,
String name,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
<T,E> Column<T,E> |
SQLFactory.buildColumn(String name,
Table table,
SQLType<T,E> type,
boolean allowNull,
T defValue) |
BuildForeignKeyStep |
SQLFactory.buildForeignKey(String name,
Table table,
Column<?,?>[] columns) |
BuildForeignKeyStep |
SQLFactory.buildForeignKey(Table table,
Column<?,?>[] columns) |
Index |
SQLFactory.buildIndex(String name,
Table table,
Column<?,?>[] columns) |
Index |
SQLFactory.buildIndex(Table table,
Column<?,?>... columns) |
Index |
SQLFactory.buildUnique(String name,
Table table,
Column<?,?>... columns) |
Index |
SQLFactory.buildUnique(Table table,
Column<?,?>... columns) |
DeleteStep |
SQLFactory.delete(Table... tables) |
InsertIntoStep |
SQLFactory.insertInto(Table table) |
UpdateStep |
SQLFactory.update(Table table) |
Copyright © 2015–2018 Bridje Framework. All rights reserved.