Package | Description |
---|---|
org.sormula.cache |
Fundamental classes used to implement caching that is specified by
Cached.type() . |
org.sormula.cache.readonly |
Implementation of
ReadOnlyCache . |
org.sormula.cache.readwrite |
Implementation of
ReadWriteCache . |
org.sormula.operation |
Classes that perform SQL operations such as select, update, insert, save, and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
Cache.close(SqlOperation<R> sqlOperation)
Notification that a
SqlOperation for the cached table is about to close. |
void |
Cache.execute(SqlOperation<R> sqlOperation)
Notification that a
SqlOperation for the cached table is about to execute. |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyCache.close(SqlOperation<R> sqlOperation)
Does nothing.
|
void |
ReadOnlyCache.execute(SqlOperation<R> sqlOperation)
Prepares cache for use.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadWriteCache.close(SqlOperation<R> sqlOperation)
Notification that a
SqlOperation for the cached table is about to close. |
void |
ReadWriteCache.execute(SqlOperation<R> sqlOperation)
Prepares cache for use.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayListSelectOperation<R>
|
class |
DeleteOperation<R>
SQL delete operation for row of type R.
|
class |
HashMapSelectOperation<K,R>
|
class |
InsertOperation<R>
SQL insert operation for row of type R.
|
class |
LinkedHashMapSelectOperation<K,R>
|
class |
ListSelectOperation<R>
|
class |
MapSelectOperation<K,R>
|
class |
ModifyOperation<R>
Base class for operations that modify database.
|
class |
SaveOperation<R>
SQL update or insert operation for row of type R.
|
class |
ScalarSelectOperation<R>
Select operation that reads one value at a time.
|
class |
SelectOperation<R,C>
SQL select operation returning a collection of rows.
|
class |
UpdateOperation<R>
SQL update operation for row of type R.
|
Modifier and Type | Class and Description |
---|---|
class |
SelectAggregateOperation<R,T>
Operation to select a value using an aggregate sql function like MIN, MAX, SUM, AVG, etc.
|
class |
SelectAvgOperation<R,T>
SQL AVG aggregate operation.
|
class |
SelectCountOperation<R,T>
SQL COUNT aggregate operation.
|
class |
SelectMaxOperation<R,T>
SQL MAX aggregate operation.
|
class |
SelectMinOperation<R,T>
SQL MIN aggregate operation.
|
class |
SelectSumOperation<R,T>
SQL SUM aggregate operation.
|
Modifier and Type | Method and Description |
---|---|
protected SqlOperation<?> |
UpdateCascadeOperation.createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeSqlOperationClass supplied in the
constructor. |
protected SqlOperation<?> |
SaveCascadeOperation.createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeSqlOperationClass supplied in the
constructor. |
protected SqlOperation<?> |
DeleteCascadeOperation.createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeSqlOperationClass supplied in the
constructor. |
protected SqlOperation<?> |
CascadeOperation.createOperation()
Creates new instance of sql operation from
CascadeOperation.cascadeSqlOperationClass supplied in the
constructor. |
SqlOperation<S> |
CascadeOperation.getSourceOperation()
Gets operation that triggered this cascade.
|
Constructor and Description |
---|
CascadeOperation(SqlOperation<S> sourceOperation,
RowField<S,?> targetField,
Table<T> targetTable,
java.lang.Class<?> cascadeSqlOperationClass)
Constructs from source operation and targets of the cascade.
|