Uses of Interface
ru.curs.celesta.score.TableElement
-
Packages that use TableElement Package Description ru.curs.celesta.dbutils.adaptors Adaptors for various RDBMS.ru.curs.celesta.dbutils.adaptors.ddl Root package of ddl adaptors.ru.curs.celesta.dbutils.adaptors.function Utility classes for RDBMS adaptors.ru.curs.celesta.dbutils.meta Database meta information DTO classes.ru.curs.celesta.dbutils.stmt Classes for work with prepared statements.ru.curs.celesta.dbutils.term Terms that constitute cursor's WHERE condition.ru.curs.celesta.score Package containing metadata of table structure. -
-
Uses of TableElement in ru.curs.celesta.dbutils.adaptors
Methods in ru.curs.celesta.dbutils.adaptors with parameters of type TableElement Modifier and Type Method 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.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
FirebirdAdaptor. deleteRecordSetStatement(Connection conn, TableElement t, String where)
PreparedStatement
MSSQLAdaptor. deleteRecordSetStatement(Connection conn, TableElement t, String where)
PreparedStatement
OpenSourceDbAdaptor. deleteRecordSetStatement(Connection conn, TableElement t, String where)
PreparedStatement
OraAdaptor. 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>
DBAdaptor. getColumns(Connection conn, TableElement t)
Returns a set of column names for a specific table.Set<String>
FirebirdAdaptor. getColumns(Connection conn, TableElement t)
Set<String>
OpenSourceDbAdaptor. getColumns(Connection conn, TableElement t)
Set<String>
OraAdaptor. getColumns(Connection conn, TableElement t)
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
FirebirdAdaptor. getDeleteRecordStatement(Connection conn, TableElement t, String where)
PreparedStatement
MSSQLAdaptor. getDeleteRecordStatement(Connection conn, TableElement t, String where)
PreparedStatement
OpenSourceDbAdaptor. getDeleteRecordStatement(Connection conn, TableElement t, String where)
PreparedStatement
OraAdaptor. getDeleteRecordStatement(Connection conn, TableElement t, String where)
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
FirebirdAdaptor. getOneRecordStatement(Connection conn, TableElement t, String where, Set<String> fields)
PreparedStatement
MSSQLAdaptor. getOneRecordStatement(Connection conn, TableElement t, String where, Set<String> fields)
PreparedStatement
OpenSourceDbAdaptor. getOneRecordStatement(Connection conn, TableElement t, String where, Set<String> fields)
PreparedStatement
OraAdaptor. getOneRecordStatement(Connection conn, TableElement t, String where, Set<String> fields)
abstract DbPkInfo
DBAdaptor. getPKInfo(Connection conn, TableElement t)
Returns information on the primary key of a table.DbPkInfo
FirebirdAdaptor. getPKInfo(Connection conn, TableElement t)
DbPkInfo
H2Adaptor. getPKInfo(Connection conn, TableElement t)
DbPkInfo
MSSQLAdaptor. getPKInfo(Connection conn, TableElement t)
DbPkInfo
OraAdaptor. 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
FirebirdAdaptor. pkConstraintString(TableElement tableElement)
String
OraAdaptor. pkConstraintString(TableElement tableElement)
void
DBAdaptor. updateVersioningTrigger(Connection conn, TableElement t)
-
Uses of TableElement in ru.curs.celesta.dbutils.adaptors.ddl
Methods in ru.curs.celesta.dbutils.adaptors.ddl with parameters of type TableElement Modifier and Type Method 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.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
FirebirdDdlGenerator. dropPk(TableElement t, String pkName)
String
H2DdlGenerator. dropPk(TableElement t, String pkName)
String
MsSqlDdlGenerator. dropPk(TableElement t, String pkName)
String
OraDdlGenerator. dropPk(TableElement t, String pkName)
String
PostgresDdlGenerator. dropPk(TableElement t, String pkName)
void
DdlAdaptor. dropTable(Connection conn, TableElement t)
Deletes table from RDBMS.void
DdlAdaptor. updateVersioningTrigger(Connection conn, TableElement t)
-
Uses of TableElement in ru.curs.celesta.dbutils.adaptors.function
Methods in ru.curs.celesta.dbutils.adaptors.function with parameters of type TableElement Modifier and Type Method Description static String
SchemalessFunctions. getIncrementSequenceName(TableElement table)
static String
SchemalessFunctions. getUpdTriggerName(TableElement table)
static String
SchemalessFunctions. getVersionCheckTriggerName(TableElement table)
-
Uses of TableElement in ru.curs.celesta.dbutils.meta
Methods in ru.curs.celesta.dbutils.meta with parameters of type TableElement Modifier and Type Method Description boolean
DbPkInfo. reflects(TableElement t)
-
Uses of TableElement in ru.curs.celesta.dbutils.stmt
Methods in ru.curs.celesta.dbutils.stmt with parameters of type TableElement Modifier and Type Method Description static PreparedStmtHolder
PreparedStatementHolderFactory. createGetHolder(TableElement meta, DBAdaptor dbAdaptor, Connection conn)
-
Uses of TableElement in ru.curs.celesta.dbutils.term
Methods in ru.curs.celesta.dbutils.term with parameters of type TableElement Modifier and Type Method Description static WhereTerm
CsqlWhereTermsMaker. getPKWhereTermForGet(TableElement t)
-
Uses of TableElement in ru.curs.celesta.score
Classes in ru.curs.celesta.score that implement TableElement Modifier and Type Class Description class
BasicTable
Super class forTable
andReadOnlyTable
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.Methods in ru.curs.celesta.score that return TableElement Modifier and Type Method Description TableElement
Column. getParentTable()
Returns table that current column belongs to.TableElement
TableRef. getTable()
Returns table.Constructors in ru.curs.celesta.score with parameters of type TableElement Constructor 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)
TableRef(TableElement table, String alias)
ZonedDateTimeColumn(TableElement table, String name)
-