All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
| Class |
Description |
| AbstractDao<T,K> |
Base class for all DAOs: Implements entity operations like insert, load, delete, and query.
|
| AbstractDaoMaster |
The master of dao will guide you: start dao sessions with the master.
|
| AbstractDaoSession |
DaoSession gives you access to your DAOs, offers convenient persistence methods, and also serves as a session cache.
To access the DAOs, call the get{entity}Dao methods by the generated DaoSession sub class.
DaoSession offers many of the available persistence operations on entities as a convenience.
|
| AbstractDaoSessionTest<T extends AbstractDaoMaster,S extends AbstractDaoSession> |
Base class for DAO (master) related testing.
|
| AbstractDaoTest<D extends AbstractDao<T,K>,T,K> |
Base class for DAO related testing without any tests.
|
| AbstractDaoTestLongPk<D extends AbstractDao<T,java.lang.Long>,T> |
Base class for DAOs having a long/Long as a PK, which is quite common.
|
| AbstractDaoTestSinglePk<D extends AbstractDao<T,K>,T,K> |
Default tests for single-PK entities.
|
| AbstractDaoTestStringPk<D extends AbstractDao<T,java.lang.String>,T> |
Base class for DAOs having a String as a PK.
|
| AsyncDaoException |
|
| AsyncOperation |
An operation that will be enqueued for asynchronous execution.
|
| AsyncOperation.OperationType |
|
| AsyncOperationListener |
|
| AsyncSession |
Asynchronous interface to entity operations.
|
| Beta |
APIs annotated with @Beta may change and may be even removed in a future release (but is somewhat less likely
compared to Experimental).
|
| CloseableListIterator<T> |
A list iterator that needs to be closed (or the associated list) to free underlying resources like a database cursor.
|
| Convert |
|
| CountQuery<T> |
|
| CursorQuery<T> |
A repeatable query returning a raw android.database.Cursor.
|
| DaoConfig |
Internal class used by greenDAO.
|
| DaoException |
Exception thrown when something goes wrong in the DAO/ORM layer.
|
| DaoLog |
Internal greenDAO logger class.
|
| Database |
Database abstraction used internally by greenDAO.
|
| DatabaseOpenHelper |
SQLiteOpenHelper to allow working with greenDAO's Database abstraction to create and update database schemas.
|
| DatabaseStatement |
|
| DbTest |
Base class for database related testing, which prepares an in-memory or an file-based DB (using the test Context).
|
| DbUtils |
Database utils, for example to execute SQL scripts
|
| DeleteQuery<T> |
A repeatable query for deleting entities.
New API note: this is more likely to change.
|
| EncryptedDatabase |
|
| EncryptedDatabaseStatement |
|
| Entity |
Annotation for entities
greenDAO only persist objects of classes which are marked with this annotation
|
| Experimental |
APIs annotated with @Experimental are likely to change and may be even removed in a future release.
|
| FastCursor |
Internal class used by greenDAO.
|
| Generated |
Marks that a field, constructor or method was generated by greenDAO
All the code elements that are marked with this annotation can be changed/removed during next run of generation in
respect of model changes.
|
| Id |
Marks field is the primary key of the entity's table
|
| IdentityScope<K,T> |
Common interface for a identity scopes needed internally by greenDAO.
|
| IdentityScopeLong<T> |
The context for entity identities.
|
| IdentityScopeObject<K,T> |
The context for entity identities.
|
| IdentityScopeType |
|
| Index |
Can be used to:
- specifies that the property should be indexed
- define multi-column index through Entity.indexes()
|
| Internal |
APIs annotated with @Internal must NOT be used.
|
| InternalQueryDaoAccess<T> |
For internal use by greenDAO only.
|
| InternalUnitTestDaoAccess<T,K> |
Reserved for internal unit tests that want to access some non-public methods.
|
| Join<SRC,DST> |
A Join lets you relate to other entity types for queries, and allows using WHERE statements on the joined entity
type.
|
| JoinEntity |
Defines *-to-* relation with join table
|
| JoinProperty |
Defines name and referencedName properties for relations
|
| Keep |
Specifies that the target should be kept during next run of greenDAO generation.
|
| LazyList<E> |
A thread-safe, unmodifiable list that reads entities once they are accessed from an underlying database cursor.
|
| LongHashMap<T> |
An minimalistic hash map optimized for long keys.
|
| NotNull |
Specifies that property is not null
|
| OrderBy |
Specifies ordering of related collection of ToMany relation
E.g.: @OrderBy("name, age DESC") List collection;
If used as marker (@OrderBy List collection), then collection is ordered by primary key
|
| Property |
Optional: configures the mapped column for a persistent field.
|
| Property |
Meta data describing a property mapped to a database column; used to create WhereCondition object used by the query builder.
|
| PropertyConverter<P,D> |
To use custom types in your entity, implement this to convert db values to entity values and back.
|
| Query<T> |
A repeatable query returning entities.
|
| QueryBuilder<T> |
Builds custom entity queries using constraints and parameters and without SQL (QueryBuilder creates SQL for you).
|
| RxDao<T,K> |
|
| RxQuery<T> |
Gets Query results in Rx fashion.
|
| RxTransaction |
Allows to do transactions using Rx Observable.
|
| SqlUtils |
Helper class to create SQL statements as used by greenDAO internally.
|
| StandardDatabase |
|
| StandardDatabaseStatement |
|
| TableStatements |
Helper class to create SQL statements for specific tables (used by greenDAO internally).
|
| ToMany |
Defines *-to-N relation
|
| ToOne |
Defines *-to-1 relation with base on existing property as foreign key or with base on
automatically created backing column
In case foreignKey is not specified, the following annotations can be applied together with @ToOne:
- Property to specify backing column name
- Unique to put the unique constraint on backing column during table creation
- NotNull to put the NOT NULL constraint on backing column during table creation
|
| Transient |
Transient fields are not persisted in the database.
|
| Unique |
Marks property should have a UNIQUE constraint during table creation.
|
| WhereCondition |
Internal interface to model WHERE conditions used in queries.
|
| WhereCondition.AbstractCondition |
|
| WhereCondition.PropertyCondition |
|
| WhereCondition.StringCondition |
|