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 voidDBAdaptor. createTableTriggersForMaterializedViews(Connection conn, BasicTable t)voidDBAdaptor. dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)abstract intDBAdaptor. getCurrentIdent(Connection conn, BasicTable t)Returns current identity value for the table.intFirebirdAdaptor. getCurrentIdent(Connection conn, BasicTable t)intH2Adaptor. getCurrentIdent(Connection conn, BasicTable t)intMSSQLAdaptor. getCurrentIdent(Connection conn, BasicTable t)intOraAdaptor. getCurrentIdent(Connection conn, BasicTable t)intPostgresAdaptor. getCurrentIdent(Connection conn, BasicTable t)abstract PreparedStatementDBAdaptor. 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.PreparedStatementFirebirdAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)PreparedStatementH2Adaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)PreparedStatementMSSQLAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)PreparedStatementOraAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)PreparedStatementPostgresAdaptor. getInsertRecordStatement(Connection conn, BasicTable t, boolean[] nullsMask, List<ParameterSetter> program)PreparedStatementDBAdaptor. getUpdateRecordStatement(Connection conn, BasicTable t, boolean[] equalsMask, boolean[] nullsMask, List<ParameterSetter> program, String where)Builds prepared statement for records UPDATE.
equalsMask[columnIndex]should containtruefor the column with index equal tocolumnIndexto take part in the evaluation.
IfnullsMask[columnIndex]containstrueIS NULLcheck 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 FieldsLookupFieldsLookup. 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 MaskedStatementHolderPreparedStatementHolderFactory. createInsertHolder(BasicTable meta, DBAdaptor dbAdaptor, Connection conn)static PreparedStmtHolderPreparedStatementHolderFactory. 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 WhereTermWhereTermsMaker. getHereWhereTerm(BasicTable t)Gets WHERE clause for single record with respect to other filters on a record.static WhereTermCsqlWhereTermsMaker. 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 classReadOnlyTableRead Only Table object in metadata.classTableTable 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 BasicTableForeignKey. getParentTable()Table that the foreign key is part of.BasicTableForeignKey. getReferencedTable()Table that is being referenced by the foreign key.BasicTableGrain. getTable(String name)Returns a table by its name or an exception with a message that the table was not found.BasicTableIndex. 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)
-