|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
| Interface Summary | |
|---|---|
| ByteEnum | An enum value can be used as a field in a persistent object if it implements this interface and
also declares a public static method with the following signature:
public static YourEnum fromByte (byte value)
which must return the appropriate instance of your enum for the supplied byte. |
| CacheAdapter | Implementations of this interface are responsible for all the caching needs of Depot. |
| CacheAdapter.CacheBin<T> | A reference to a specific bin within the cache; this is the type where most of the actual caching functionality occurs. |
| CacheAdapter.CachedValue<T> | The encapsulated result of a cache lookup. |
| CacheInvalidator | Implementors of this interface performs perform cache invalidation for calls to
DepotRepository.updateLiteral(java.lang.Class, DepotRepository.updatePartial(java.lang.Class and
{@link DepotRepository#deleteAll). |
| CacheKey | This interface uniquely identifies a single persistent entry for caching purposes. |
| PersistenceContext.CacheListener<T> | A cache listener is notified when cache entries change. |
| PersistenceContext.CacheTraverser<T extends Serializable> | The callback for PersistenceContext.cacheTraverse(java.lang.Class extends com.samskivert.jdbc.depot.PersistentRecord>, com.samskivert.jdbc.depot.PersistenceContext.CacheTraverser; this is called for each entry in a given cache. |
| Query<T> | The base of all read-only queries. |
| ValidatingCacheInvalidator | An augmented cache invalidator interface for invalidators that can ensure that they are operating on the proper persistent record class. |
| Class Summary | |
|---|---|
| BindVisitor | Implements the base functionality of the argument-binding pass of SQLBuilder. |
| BuildVisitor | Implements the base functionality of the SQL-building pass of SQLBuilder. |
| CacheInvalidator.TraverseWithFilter<T extends Serializable> | |
| DepotMarshaller<T extends PersistentRecord> | Handles the marshalling and unmarshalling of persistent instances to JDBC primitives (PreparedStatement and ResultSet). |
| DepotMarshaller.TableMetaData | |
| DepotRepository | Provides a base for classes that provide access to persistent objects. |
| DepotTypes | Maintains a record of the persistent classes brought into the context of the associated SQL, i.e. any class associated with a concrete table that would appear in FROM or JOIN clauses or as the target of an UPDATE or an INSERT or any other place where a table abbreviation could be constructed. |
| EHCacheAdapter | An implementation of CacheAdapter for ehcache. |
| EHCacheAdapter.NullValue | A class to represent an explicitly Serializable concept of null for EHCache. |
| EntityMigration | These can be registered with the PersistenceContext to effect hand-coded migrations
between entity versions. |
| EntityMigration.Drop | A convenient migration for dropping a column from an entity. |
| EntityMigration.Rename | A convenient migration for renaming a column in an entity. |
| EntityMigration.Retype | A convenient migration for changing the type of an existing field. |
| FieldMarshaller<T> | Handles the marshalling and unmarshalling of a particular field of a persistent object. |
| FieldMarshaller.BooleanMarshaller | |
| FieldMarshaller.ByteArrayMarshaller | |
| FieldMarshaller.ByteEnumMarshaller | |
| FieldMarshaller.ByteMarshaller | |
| FieldMarshaller.DoubleMarshaller | |
| FieldMarshaller.FloatMarshaller | |
| FieldMarshaller.IntArrayMarshaller | |
| FieldMarshaller.IntMarshaller | |
| FieldMarshaller.LongMarshaller | |
| FieldMarshaller.ObjectMarshaller | |
| FieldMarshaller.ShortMarshaller | |
| FindAllQuery<T extends PersistentRecord> | This class implements the functionality required by {@link DepotRepository#findAll): fetch a collection of persistent objects using one of two included strategies. |
| FindAllQuery.Explicitly<T extends PersistentRecord> | The single-pass collection query implementation. |
| FindAllQuery.WithCache<T extends PersistentRecord> | The two-pass collection query implementation. |
| FindOneQuery<T extends PersistentRecord> | The implementation of {@link DepotRepository#find) functionality. |
| IdentityValueGenerator | Generates primary keys using an identity column. |
| Key<T extends PersistentRecord> | A special form of WhereClause that uniquely specifies a single database row and
thus also a single persistent object. |
| Key.WhereCondition<U extends PersistentRecord> | An expression that contains our key columns and values. |
| Log | Contains a reference to the log object used by this package. |
| Modifier | Encapsulates a modification of persistent objects. |
| Modifier.CachingModifier<T extends PersistentRecord> | A convenience modifier that can perform cache updates in addition to invalidation:
- Before #invoke(Connection), the CacheInvalidator is run, if given |
| Modifier.Simple | A simple modifier that executes a single SQL statement. |
| MultiKey<T extends PersistentRecord> | A special form of Where clause that specifies an explicit range of database rows. |
| MySQLBuilder | |
| PersistenceContext | Defines a scope in which global annotations are shared. |
| PersistenceContext.CacheEvictionFilter<T extends Serializable> | A simple implementation of PersistenceContext.CacheTraverser that selectively deletes entries in
a cache depending on the return value of #testCacheEntry. |
| PersistentRecord | The base class for all persistent records used in Depot. |
| PostgreSQLBuilder | |
| Query.TrivialQuery<T> | A simple base class for non-complex queries. |
| SimpleCacheKey | Convenience class that implements CacheKey as simply as possibly. |
| SQLBuilder | At the heart of Depot's SQL generation, this object constructs two ExpressionVisitor
objects and executes them, one after another; the first one constructs SQL as it recurses, the
other binds arguments in the PreparedStatement. |
| TableValueGenerator | Generates primary keys using an external table . |
| ValueGenerator | Defines the interface to our value generators. |
| WhereClause | Currently only exists as a type without any functionality of its own. |
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||