|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Table | |
---|---|
org.sormula | Fundamental classes. |
org.sormula.active.operation | Thread-safe and transaction-compliant database operations used by ActiveTable . |
org.sormula.operation | Classes that perform SQL operations such as select, update, insert, delete. |
org.sormula.operation.aggregate | Classes that perform SQL aggregate operations such as MIN, MAX, AVG, COUNT. |
org.sormula.operation.cascade | Classes that perform cascade (one-to-many and one-to-one) operations that are defined by cascade annotations. |
org.sormula.translator | Classes that provide mapping between columns and Java class members. |
Uses of Table in org.sormula |
---|
Methods in org.sormula that return Table | ||
---|---|---|
|
Database.getTable(java.lang.Class<R> rowClass)
Gets table object for reading/writing row objects of type R from/to table. |
|
|
Database.getTable(java.lang.Class<R> rowClass,
boolean create)
Gets table object for reading/writing row objects of type R from/to table. |
Methods in org.sormula with parameters of type Table | |
---|---|
void |
Database.addTable(Table<?> table)
Adds a table object to cache to be used for row objects of type Object.getClass() . |
Uses of Table in org.sormula.active.operation |
---|
Subclasses of Table in org.sormula.active.operation | |
---|---|
class |
OperationTable<R extends ActiveRecord>
A Table for use by one transaction within an ActiveOperation . |
Methods in org.sormula.active.operation that return Table | ||
---|---|---|
protected Table<R> |
ActiveOperation.getTable()
Gets the table used in ActiveOperation.execute() . |
|
|
OperationDatabase.getTable(java.lang.Class<R> rowClass)
Gets table object for reading/writing row objects of type R from/to table. Cascade operations for Table |
Uses of Table in org.sormula.operation |
---|
Methods in org.sormula.operation that return Table | |
---|---|
Table<R> |
SqlOperation.getTable()
Gets the table provided in the constructor. |
protected Table<?> |
SqlOperation.getTargetTable(java.lang.Class<?> targetClass,
java.lang.reflect.Field targetField)
Gets a table object from database associated with this operation. |
Constructors in org.sormula.operation with parameters of type Table | |
---|---|
ArrayListSelectOperation(Table<R> table)
Constructs for a table. |
|
ArrayListSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition. |
|
DeleteOperation(Table<R> table)
Constructs standard sql delete for primary key as: DELETE FROM table WHERE primary key clause |
|
DeleteOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for standard sql delete statement as: DELETE FROM table WHERE ... |
|
FullDelete(Table<R> table)
Deprecated. Constructs for a Table to delete by primary key. |
|
FullDelete(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table . |
|
FullInsert(Table<R> table)
Deprecated. Constructs for a Table to insert into table. |
|
FullListSelect(Table<R> table)
Deprecated. Constructs for a Table to select all rows in table. |
|
FullListSelect(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to select by a where condition. |
|
FullListSelect(Table<R> table,
java.lang.String whereConditionName,
java.lang.String orderByName)
Deprecated. Constructs for a Table to select by a where condition, and order by order condition. |
|
FullSave(Table<R> table)
Deprecated. Constructs for a Table to insert new rows and update exitsting rows by primary key. |
|
FullSave(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to insert new rows and update exitsting rows by
using where condition. |
|
FullScalarSelect(Table<R> table)
Deprecated. Constructs for a Table to select by primary key. |
|
FullScalarSelect(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table to select by a where condition. |
|
FullUpdate(Table<R> table)
Deprecated. Constructs for a Table to update by primary key. |
|
FullUpdate(Table<R> table,
java.lang.String whereConditionName)
Deprecated. Constructs for a Table . |
|
HashMapSelectOperation(Table<R> table)
Constructs for a table. |
|
HashMapSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition. |
|
InsertOperation(Table<R> table)
Constructs for standard sql insert statement as: INSERT INTO table (c1, c2, c3, ...) VALUES (?, ?, ?, ...) |
|
LinkedHashMapSelectOperation(Table<R> table)
Constructs for a table. |
|
LinkedHashMapSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition. |
|
ListSelectOperation(Table<R> table)
Constructs for a table to select by primary key. |
|
ListSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition. |
|
MapSelectOperation(Table<R> table)
Constructs for a table. |
|
MapSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition. |
|
ModifyOperation(Table<R> table)
Constructs for a table. |
|
SaveOperation(Table<R> table)
Constructs to update by primary key or insert if update fails. |
|
SaveOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs to update by where condition or insert if update fails. |
|
ScalarSelectOperation(Table<R> table)
Constructs standard sql select by primary key as: SELECT c1, c2, c3, ... |
|
ScalarSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs standard sql select by primary key as: SELECT c1, c2, c3, ... |
|
SelectCountOperation(Table<R> table)
Constructs standard sql select by primary key as: SELECT COUNT(*), ... |
|
SelectCountOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs standard sql select as: SELECT COUNT(*), ... |
|
SelectOperation(Table<R> table)
Constructs standard sql to select by primary key as: SELECT c1, c2, c3, ... |
|
SelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs standard sql to by a where condition: SELECT c1, c2, c3, ... |
|
SqlOperation(Table<R> table)
Constructs for a table. |
|
UpdateOperation(Table<R> table)
Constructs standard sql update for primary key as: UPDATE table SET c1=?, c2=?, c3... |
|
UpdateOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for standard sql update statement as: UPDATE table SET c1=?, c2=?, c3... |
Uses of Table in org.sormula.operation.aggregate |
---|
Constructors in org.sormula.operation.aggregate with parameters of type Table | |
---|---|
SelectAggregateOperation(Table<R> table,
java.lang.String function,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT f(e), ... |
|
SelectAvgOperation(Table<R> table,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT AVG(e), ... |
|
SelectCountOperation(Table<R> table,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT COUNT(e), ... |
|
SelectMaxOperation(Table<R> table,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT MAX(e), ... |
|
SelectMinOperation(Table<R> table,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT MIN(e), ... |
|
SelectSumOperation(Table<R> table,
java.lang.String expression)
Constructs for standard sql select statement as: SELECT SUM(e), ... |
Uses of Table in org.sormula.operation.cascade |
---|
Methods in org.sormula.operation.cascade that return Table | |
---|---|
Table<T> |
CascadeOperation.getTargetTable()
|
Constructors in org.sormula.operation.cascade with parameters of type Table | |
---|---|
CascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
java.lang.Class<?> cascadeOperationClass,
boolean post)
Constructs for field and table to be affected by cascade. |
|
DeleteCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
DeleteCascade deleteCascadeAnnotation)
Constructor used by InsertOperation . |
|
InsertCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
InsertCascade insertCascadeAnnotation)
Constructor used by InsertOperation . |
|
ModifyCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
java.lang.Class<?> cascadeOperationClass,
boolean post)
Constructs. |
|
SaveCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
SaveCascade saveCascadeAnnotation)
Constructor used by SaveOperation . |
|
SelectCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
SelectCascade selectCascadeAnnotation)
Constructor used by SelectOperation . |
|
UpdateCascadeOperation(SormulaField<S,?> targetField,
Table<T> targetTable,
UpdateCascade updateCascadeAnnotation)
Constructor used by UpdateOperation . |
Uses of Table in org.sormula.translator |
---|
Constructors in org.sormula.translator with parameters of type Table | |
---|---|
RowTranslator(Table<R> table)
Constructs for a table. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |