Uses of Class
ru.curs.celesta.score.BasicTable
-
Packages that use BasicTable 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.filter.value Auxiliary filter 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 BasicTable in ru.curs.celesta.dbutils.adaptors
Methods in ru.curs.celesta.dbutils.adaptors with parameters of type BasicTable Modifier and Type Method Description void
DBAdaptor. createTableTriggersForMaterializedViews(Connection conn, BasicTable t)
void
DBAdaptor. dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)
abstract int
DBAdaptor. getCurrentIdent(Connection conn, BasicTable t)
Returns current identity value for the table.int
FirebirdAdaptor. getCurrentIdent(Connection conn, BasicTable t)
int
H2Adaptor. getCurrentIdent(Connection conn, BasicTable t)
int
MSSQLAdaptor. getCurrentIdent(Connection conn, BasicTable t)
int
OraAdaptor. getCurrentIdent(Connection conn, BasicTable t)
int
PostgresAdaptor. getCurrentIdent(Connection conn, BasicTable t)
abstract PreparedStatement
DBAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
Creates a PreparedStatement object for an INSERT statement to insert a record into a table.PreparedStatement
FirebirdAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
PreparedStatement
H2Adaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
PreparedStatement
MSSQLAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
PreparedStatement
OraAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
PreparedStatement
PostgresAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)
PreparedStatement
DBAdaptor. getUpdateRecordStatement(Connection conn, BasicTable t, boolean[] equalsMask, boolean[] nullsMask, List<ParameterSetter> program, String where)
Builds prepared statement for records UPDATE.
equalsMask[columnIndex]
should containtrue
for the column with index equal tocolumnIndex
to take part in the evaluation.
IfnullsMask[columnIndex]
containstrue
IS NULL
check has a priority aboveprogram[columnIndex]
check -column = ?
. -
Uses of BasicTable in ru.curs.celesta.dbutils.adaptors.ddl
-
Uses of BasicTable in ru.curs.celesta.dbutils.filter.value
Methods in ru.curs.celesta.dbutils.filter.value with parameters of type BasicTable Modifier and Type Method Description FieldsLookup
FieldsLookup. and(BasicTable filtering)
Constructors in ru.curs.celesta.dbutils.filter.value with parameters of type BasicTable Constructor Description FieldsLookup(BasicTable table, BasicTable otherTable, Runnable lookupChangeCallback, Function<FieldsLookup,Void> newLookupCallback)
This constructor is for tests and must be removed in future. -
Uses of BasicTable in ru.curs.celesta.dbutils.stmt
Methods in ru.curs.celesta.dbutils.stmt with parameters of type BasicTable Modifier and Type Method Description static MaskedStatementHolder
PreparedStatementHolderFactory. createInsertHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn)
static PreparedStmtHolder
PreparedStatementHolderFactory. createUpdateHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn, Supplier<boolean[]> updateMaskSupplier, Supplier<boolean[]> nullUpdateMaskSupplier)
-
Uses of BasicTable in ru.curs.celesta.dbutils.term
Methods in ru.curs.celesta.dbutils.term with parameters of type BasicTable Modifier and Type Method Description WhereTerm
WhereTermsMaker. getHereWhereTerm(BasicTable t)
Gets WHERE clause for single record with respect to other filters on a record.static WhereTerm
CsqlWhereTermsMaker. getPKWhereTerm(BasicTable t)
Gets WHERE clause for single record (by its primary key). -
Uses of BasicTable in ru.curs.celesta.score
Subclasses of BasicTable in ru.curs.celesta.score Modifier and Type Class Description class
ReadOnlyTable
Read Only Table object in metadata.class
Table
Table object in metadata.Methods in ru.curs.celesta.score with type parameters of type BasicTable Modifier and Type Method Description <T extends BasicTable>
TGrain. getTable(String name, Class<T> tableClass)
Returns a table by its name and a table class.<T extends BasicTable>
Map<String,T>Grain. getTables(Class<T> tableClass)
Returns a set of tables defined in the grain by a table class.Methods in ru.curs.celesta.score that return BasicTable Modifier and Type Method Description BasicTable
ForeignKey. getParentTable()
Table that the foreign key is part of.BasicTable
ForeignKey. getReferencedTable()
Table that is being referenced by the foreign key.BasicTable
Grain. getTable(String name)
Returns a table by its name or an exception with a message that the table was not found.BasicTable
Index. getTable()
Returns table of the index.Methods in ru.curs.celesta.score that return types with arguments of type BasicTable Modifier and Type Method Description Map<String,BasicTable>
Grain. getTables()
Returns a set of tables defined in the grain.Constructors in ru.curs.celesta.score with parameters of type BasicTable Constructor Description ForeignKey(BasicTable parentTable, BasicTable referencedTable, String[] columnNames)
Index(BasicTable t, String name, String[] columns)
-