| Package | Description |
|---|---|
| ru.curs.celesta.dbutils.adaptors | |
| ru.curs.celesta.dbutils.adaptors.ddl |
Root package of ddl adaptors.
|
| ru.curs.celesta.dbutils.adaptors.function | |
| ru.curs.celesta.dbutils.meta | |
| ru.curs.celesta.dbutils.stmt | |
| ru.curs.celesta.dbutils.term | |
| ru.curs.celesta.score |
Package containing metadata of table structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DBAdaptor.createPK(Connection conn,
TableElement t)
Creates primary key on a table.
|
void |
DBAdaptor.createTable(Connection conn,
TableElement te)
Creates a table "from scratch" in the database.
|
PreparedStatement |
OpenSourceDbAdaptor.deleteRecordSetStatement(Connection conn,
TableElement t,
String where) |
abstract PreparedStatement |
DBAdaptor.deleteRecordSetStatement(Connection conn,
TableElement t,
String where)
Creates a PreparedStatement object for a DELETE statement for deleting a set of records that
satisfy a condition.
|
PreparedStatement |
OraAdaptor.deleteRecordSetStatement(Connection conn,
TableElement t,
String where) |
PreparedStatement |
FirebirdAdaptor.deleteRecordSetStatement(Connection conn,
TableElement t,
String where) |
PreparedStatement |
MSSQLAdaptor.deleteRecordSetStatement(Connection conn,
TableElement t,
String where) |
void |
DBAdaptor.dropPk(Connection conn,
TableElement t,
String pkName)
Drops primary key from the table by using known name of the primary key.
|
void |
DBAdaptor.dropTable(Connection conn,
TableElement t)
Deletes table from RDBMS.
|
Set<String> |
OpenSourceDbAdaptor.getColumns(Connection conn,
TableElement t) |
Set<String> |
DBAdaptor.getColumns(Connection conn,
TableElement t)
Returns a set of column names for a specific table.
|
Set<String> |
OraAdaptor.getColumns(Connection conn,
TableElement t) |
Set<String> |
FirebirdAdaptor.getColumns(Connection conn,
TableElement t) |
PreparedStatement |
OpenSourceDbAdaptor.getDeleteRecordStatement(Connection conn,
TableElement t,
String where) |
abstract PreparedStatement |
DBAdaptor.getDeleteRecordStatement(Connection conn,
TableElement t,
String where)
Creates a PreparedStatement object for a DELETE statement for deleting a set of records that
satisfy a condition.
|
PreparedStatement |
OraAdaptor.getDeleteRecordStatement(Connection conn,
TableElement t,
String where) |
PreparedStatement |
FirebirdAdaptor.getDeleteRecordStatement(Connection conn,
TableElement t,
String where) |
PreparedStatement |
MSSQLAdaptor.getDeleteRecordStatement(Connection conn,
TableElement t,
String where) |
PreparedStatement |
OpenSourceDbAdaptor.getOneRecordStatement(Connection conn,
TableElement t,
String where,
Set<String> fields) |
abstract PreparedStatement |
DBAdaptor.getOneRecordStatement(Connection conn,
TableElement t,
String where,
Set<String> fields)
Creates a PreparedStatement object for a SELECT statement containing at most one record.
|
PreparedStatement |
OraAdaptor.getOneRecordStatement(Connection conn,
TableElement t,
String where,
Set<String> fields) |
PreparedStatement |
FirebirdAdaptor.getOneRecordStatement(Connection conn,
TableElement t,
String where,
Set<String> fields) |
PreparedStatement |
MSSQLAdaptor.getOneRecordStatement(Connection conn,
TableElement t,
String where,
Set<String> fields) |
DbPkInfo |
H2Adaptor.getPKInfo(Connection conn,
TableElement t) |
abstract DbPkInfo |
DBAdaptor.getPKInfo(Connection conn,
TableElement t)
Returns information on the primary key of a table.
|
DbPkInfo |
OraAdaptor.getPKInfo(Connection conn,
TableElement t) |
DbPkInfo |
FirebirdAdaptor.getPKInfo(Connection conn,
TableElement t) |
DbPkInfo |
MSSQLAdaptor.getPKInfo(Connection conn,
TableElement t) |
DbPkInfo |
PostgresAdaptor.getPKInfo(Connection conn,
TableElement t) |
String |
DBAdaptor.pkConstraintString(TableElement tableElement)
Returns DB specific PK constraint name for a table element.
|
String |
OraAdaptor.pkConstraintString(TableElement tableElement) |
String |
FirebirdAdaptor.pkConstraintString(TableElement tableElement) |
void |
DBAdaptor.updateVersioningTrigger(Connection conn,
TableElement t) |
| Modifier and Type | Method and Description |
|---|---|
void |
DdlAdaptor.createPk(Connection conn,
TableElement t)
Creates primary key in the table according to meta description.
|
void |
DdlAdaptor.createTable(Connection conn,
TableElement te)
Creates a table "from scratch" in the database.
|
void |
DdlAdaptor.dropPk(Connection conn,
TableElement t,
String pkName)
Drops primary key from the table by using known name of the primary key.
|
String |
H2DdlGenerator.dropPk(TableElement t,
String pkName) |
String |
FirebirdDdlGenerator.dropPk(TableElement t,
String pkName) |
String |
PostgresDdlGenerator.dropPk(TableElement t,
String pkName) |
String |
MsSqlDdlGenerator.dropPk(TableElement t,
String pkName) |
abstract String |
DdlGenerator.dropPk(TableElement t,
String pkName)
Generates SQL for dropping primary key from the table by using
known name of the primary key.
|
String |
OraDdlGenerator.dropPk(TableElement t,
String pkName) |
void |
DdlAdaptor.dropTable(Connection conn,
TableElement t)
Deletes table from RDBMS.
|
void |
DdlAdaptor.updateVersioningTrigger(Connection conn,
TableElement t) |
| Modifier and Type | Method and Description |
|---|---|
static String |
SchemalessFunctions.getIncrementSequenceName(TableElement table) |
static String |
SchemalessFunctions.getUpdTriggerName(TableElement table) |
static String |
SchemalessFunctions.getVersionCheckTriggerName(TableElement table) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DbPkInfo.reflects(TableElement t) |
| Modifier and Type | Method and Description |
|---|---|
static PreparedStmtHolder |
PreparedStatementHolderFactory.createGetHolder(TableElement meta,
DBAdaptor dbAdaptor,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
static WhereTerm |
CsqlWhereTermsMaker.getPKWhereTermForGet(TableElement t) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTable
Super class for
Table and ReadOnlyTable that encompasses common logic
for both table types. |
class |
MaterializedView
Materialized view data element.
|
class |
ReadOnlyTable
Read Only Table object in metadata.
|
class |
Table
Table object in metadata.
|
| Modifier and Type | Method and Description |
|---|---|
TableElement |
Column.getParentTable()
Returns table that current column belongs to.
|
| Constructor and Description |
|---|
BinaryColumn(TableElement table,
String name) |
BooleanColumn(TableElement table,
String name) |
DateTimeColumn(TableElement table,
String name) |
DecimalColumn(TableElement table,
String name,
int precision,
int scale) |
FloatingColumn(TableElement table,
String name) |
IntegerColumn(TableElement table,
String name) |
StringColumn(TableElement table,
String name) |
ZonedDateTimeColumn(TableElement table,
String name) |
Copyright © 2020 CURS. All rights reserved.