- AbstractDao<T,K> - Class in de.greenrobot.dao
-
Base class for all DAOs: Implements entity operations like insert, load, delete, and query.
- AbstractDao(DaoConfig) - Constructor for class de.greenrobot.dao.AbstractDao
-
- AbstractDao(DaoConfig, AbstractDaoSession) - Constructor for class de.greenrobot.dao.AbstractDao
-
- AbstractDaoMaster - Class in de.greenrobot.dao
-
The master of dao will guide you: start dao sessions with the master.
- AbstractDaoMaster(SQLiteDatabase, int) - Constructor for class de.greenrobot.dao.AbstractDaoMaster
-
- AbstractDaoSession - Class in de.greenrobot.dao
-
DaoSession gives you access to your DAOs, offers convenient persistence methods, and also serves as a session cache.
- AbstractDaoSession(SQLiteDatabase) - Constructor for class de.greenrobot.dao.AbstractDaoSession
-
- AbstractDaoSessionTest<T extends AbstractDaoMaster,S extends AbstractDaoSession> - Class in de.greenrobot.dao.test
-
Base class for DAO (master) related testing.
- AbstractDaoSessionTest(Class<T>) - Constructor for class de.greenrobot.dao.test.AbstractDaoSessionTest
-
- AbstractDaoSessionTest(Class<T>, boolean) - Constructor for class de.greenrobot.dao.test.AbstractDaoSessionTest
-
- AbstractDaoTest<D extends AbstractDao<T,K>,T,K> - Class in de.greenrobot.dao.test
-
Base class for DAO related testing.
- AbstractDaoTest(Class<D>) - Constructor for class de.greenrobot.dao.test.AbstractDaoTest
-
- AbstractDaoTest(Class<D>, boolean) - Constructor for class de.greenrobot.dao.test.AbstractDaoTest
-
- AbstractDaoTestLongPk<D extends AbstractDao<T,java.lang.Long>,T> - Class in de.greenrobot.dao.test
-
Base class for DAOs having a long/Long as a PK, which is quite common.
- AbstractDaoTestLongPk(Class<D>) - Constructor for class de.greenrobot.dao.test.AbstractDaoTestLongPk
-
- AbstractDaoTestSinglePk<D extends AbstractDao<T,K>,T,K> - Class in de.greenrobot.dao.test
-
Default tests for single-PK entities.
- AbstractDaoTestSinglePk(Class<D>) - Constructor for class de.greenrobot.dao.test.AbstractDaoTestSinglePk
-
- AbstractDaoTestStringPk<D extends AbstractDao<T,java.lang.String>,T> - Class in de.greenrobot.dao.test
-
Base class for DAOs having a String as a PK.
- AbstractDaoTestStringPk(Class<D>) - Constructor for class de.greenrobot.dao.test.AbstractDaoTestStringPk
-
- add(E) - Method in class de.greenrobot.dao.query.LazyList
-
- add(int, E) - Method in class de.greenrobot.dao.query.LazyList
-
- add(E) - Method in class de.greenrobot.dao.query.LazyList.LazyIterator
-
- addAll(Collection<? extends E>) - Method in class de.greenrobot.dao.query.LazyList
-
- addAll(int, Collection<? extends E>) - Method in class de.greenrobot.dao.query.LazyList
-
- and(WhereCondition, WhereCondition, WhereCondition...) - Method in class de.greenrobot.dao.query.Join
-
Creates a WhereCondition by combining the given conditions using AND.
- and(WhereCondition, WhereCondition, WhereCondition...) - Method in class de.greenrobot.dao.query.QueryBuilder
-
Creates a WhereCondition by combining the given conditions using AND.
- append(StringBuilder, Property) - Method in class de.greenrobot.dao.query.QueryBuilder
-
- appendTo(StringBuilder, String) - Method in interface de.greenrobot.dao.query.WhereCondition
-
- appendTo(StringBuilder, String) - Method in class de.greenrobot.dao.query.WhereCondition.PropertyCondition
-
- appendTo(StringBuilder, String) - Method in class de.greenrobot.dao.query.WhereCondition.StringCondition
-
- appendValuesTo(List<Object>) - Method in class de.greenrobot.dao.query.WhereCondition.AbstractCondition
-
- appendValuesTo(List<Object>) - Method in interface de.greenrobot.dao.query.WhereCondition
-
- ASSERT - Static variable in class de.greenrobot.dao.DaoLog
-
- assertSinglePk() - Method in class de.greenrobot.dao.AbstractDao
-
- AsyncDaoException - Exception in de.greenrobot.dao.async
-
- AsyncDaoException(AsyncOperation, Throwable) - Constructor for exception de.greenrobot.dao.async.AsyncDaoException
-
- AsyncOperation - Class in de.greenrobot.dao.async
-
An operation that will be enqueued for asynchronous execution.
- AsyncOperation.OperationType - Enum in de.greenrobot.dao.async
-
- AsyncOperationListener - Interface in de.greenrobot.dao.async
-
- AsyncSession - Class in de.greenrobot.dao.async
-
Asynchronous interface to entity operations.
- AsyncSession(AbstractDaoSession) - Constructor for class de.greenrobot.dao.async.AsyncSession
-
- attachEntity(K, T, boolean) - Method in class de.greenrobot.dao.AbstractDao
-
Attaches the entity to the identity scope.
- attachEntity(T) - Method in class de.greenrobot.dao.AbstractDao
-
Sub classes with relations additionally set the DaoMaster here.
- d(String) - Static method in class de.greenrobot.dao.DaoLog
-
- d(String, Throwable) - Static method in class de.greenrobot.dao.DaoLog
-
- dao - Variable in class de.greenrobot.dao.test.AbstractDaoTest
-
- daoAccess - Variable in class de.greenrobot.dao.test.AbstractDaoTest
-
- daoClass - Variable in class de.greenrobot.dao.test.AbstractDaoTest
-
- daoConfigMap - Variable in class de.greenrobot.dao.AbstractDaoMaster
-
- DaoException - Exception in de.greenrobot.dao
-
Exception thrown when something goes wrong in the DAO/ORM layer.
- DaoException() - Constructor for exception de.greenrobot.dao.DaoException
-
- DaoException(String) - Constructor for exception de.greenrobot.dao.DaoException
-
- DaoException(String, Throwable) - Constructor for exception de.greenrobot.dao.DaoException
-
- DaoException(Throwable) - Constructor for exception de.greenrobot.dao.DaoException
-
- DaoLog - Class in de.greenrobot.dao
-
Internal greenDAO logger class.
- DaoLog() - Constructor for class de.greenrobot.dao.DaoLog
-
- daoMaster - Variable in class de.greenrobot.dao.test.AbstractDaoSessionTest
-
- daoSession - Variable in class de.greenrobot.dao.test.AbstractDaoSessionTest
-
- db - Variable in class de.greenrobot.dao.AbstractDao
-
- db - Variable in class de.greenrobot.dao.AbstractDaoMaster
-
- db - Variable in class de.greenrobot.dao.test.DbTest
-
- DB_NAME - Static variable in class de.greenrobot.dao.test.DbTest
-
- DbTest - Class in de.greenrobot.dao.test
-
Base class for database related testing, which prepares an in-memory or an file-based DB (using the test Context
).
- DbTest() - Constructor for class de.greenrobot.dao.test.DbTest
-
- DbTest(boolean) - Constructor for class de.greenrobot.dao.test.DbTest
-
- DbUtils - Class in de.greenrobot.dao
-
Database utils, for example to execute SQL scripts
- DbUtils() - Constructor for class de.greenrobot.dao.DbUtils
-
- de.greenrobot.dao - package de.greenrobot.dao
-
- de.greenrobot.dao.async - package de.greenrobot.dao.async
-
- de.greenrobot.dao.converter - package de.greenrobot.dao.converter
-
- de.greenrobot.dao.identityscope - package de.greenrobot.dao.identityscope
-
- de.greenrobot.dao.query - package de.greenrobot.dao.query
-
- de.greenrobot.dao.test - package de.greenrobot.dao.test
-
- DEBUG - Static variable in class de.greenrobot.dao.DaoLog
-
- delete(T) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes the given entity from the database.
- delete(T) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- delete(Object) - Method in class de.greenrobot.dao.async.AsyncSession
-
- delete(Object, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteAll() - Method in class de.greenrobot.dao.AbstractDao
-
- deleteAll(Class<T>) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- deleteAll(Class<E>) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteAll(Class<E>, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteByKey(K) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes an entity with the given PK from the database.
- deleteByKey(Object) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteByKey(Object, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteByKeyInTx(Iterable<K>) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes all entities with the given keys in the database using a transaction.
- deleteByKeyInTx(K...) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes all entities with the given keys in the database using a transaction.
- deleteInTx(Iterable<T>) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes the given entities in the database using a transaction.
- deleteInTx(T...) - Method in class de.greenrobot.dao.AbstractDao
-
Deletes the given entities in the database using a transaction.
- deleteInTx(Class<E>, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteInTx(Class<E>, int, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteInTx(Class<E>, Iterable<E>) - Method in class de.greenrobot.dao.async.AsyncSession
-
- deleteInTx(Class<E>, Iterable<E>, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- DeleteQuery<T> - Class in de.greenrobot.dao.query
-
A repeatable query for deleting entities.
- detach(T) - Method in class de.greenrobot.dao.AbstractDao
-
Detaches an entity from the identity scope (session).
- detach(K, T) - Method in interface de.greenrobot.dao.identityscope.IdentityScope
-
- detach(Long, T) - Method in class de.greenrobot.dao.identityscope.IdentityScopeLong
-
- detach(K, T) - Method in class de.greenrobot.dao.identityscope.IdentityScopeObject
-
- distinct() - Method in class de.greenrobot.dao.query.QueryBuilder
-
Use a SELECT DISTINCT to avoid duplicate entities returned, e.g. when doing joins.
- i(String) - Static method in class de.greenrobot.dao.DaoLog
-
- i(String, Throwable) - Static method in class de.greenrobot.dao.DaoLog
-
- identityScope - Variable in class de.greenrobot.dao.AbstractDao
-
- IdentityScope<K,T> - Interface in de.greenrobot.dao.identityscope
-
Common interface for a identity scopes needed internally by greenDAO.
- identityScopeForDao - Variable in class de.greenrobot.dao.test.AbstractDaoTest
-
- identityScopeLong - Variable in class de.greenrobot.dao.AbstractDao
-
- IdentityScopeLong<T> - Class in de.greenrobot.dao.identityscope
-
The context for entity identities.
- IdentityScopeLong() - Constructor for class de.greenrobot.dao.identityscope.IdentityScopeLong
-
- IdentityScopeObject<K,T> - Class in de.greenrobot.dao.identityscope
-
The context for entity identities.
- IdentityScopeObject() - Constructor for class de.greenrobot.dao.identityscope.IdentityScopeObject
-
- IdentityScopeType - Enum in de.greenrobot.dao.identityscope
-
- in(Object...) - Method in class de.greenrobot.dao.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- in(Collection<?>) - Method in class de.greenrobot.dao.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- indexOf(Object) - Method in class de.greenrobot.dao.query.LazyList
-
- INFO - Static variable in class de.greenrobot.dao.DaoLog
-
- inMemory - Variable in class de.greenrobot.dao.test.DbTest
-
- insert(T) - Method in class de.greenrobot.dao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO.
- insert(T) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- insert(Object) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insert(Object, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertInTx(Iterable<T>) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(T...) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(Iterable<T>, boolean) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(Class<E>, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertInTx(Class<E>, int, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertInTx(Class<E>, Iterable<E>) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertInTx(Class<E>, Iterable<E>, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplace(T) - Method in class de.greenrobot.dao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO.
- insertOrReplace(T) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- insertOrReplace(Object) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplace(Object, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplaceInTx(Iterable<T>, boolean) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(Iterable<T>) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(T...) - Method in class de.greenrobot.dao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(Class<E>, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplaceInTx(Class<E>, int, E...) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplaceInTx(Class<E>, Iterable<E>) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertOrReplaceInTx(Class<E>, Iterable<E>, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- insertWithoutSettingPk(T) - Method in class de.greenrobot.dao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO without setting key property.
- internalCreate(AbstractDao<T2, ?>, String, Object[]) - Static method in class de.greenrobot.dao.query.CursorQuery
-
For internal use by greenDAO only.
- internalCreate(AbstractDao<T2, ?>, String, Object[]) - Static method in class de.greenrobot.dao.query.Query
-
For internal use by greenDAO only.
- internalCreate(AbstractDao<T2, ?>) - Static method in class de.greenrobot.dao.query.QueryBuilder
-
For internal use by greenDAO only.
- isClosed() - Method in class de.greenrobot.dao.query.LazyList
-
- isCompleted() - Method in class de.greenrobot.dao.async.AsyncOperation
-
- isCompleted() - Method in class de.greenrobot.dao.async.AsyncSession
-
- isCompletedSucessfully() - Method in class de.greenrobot.dao.async.AsyncOperation
-
- isEmpty() - Method in class de.greenrobot.dao.query.LazyList
-
- isEntityUpdateable() - Method in class de.greenrobot.dao.AbstractDao
-
Returns true if the Entity class can be updated, e.g. for setting the PK after insert.
- isFailed() - Method in class de.greenrobot.dao.async.AsyncOperation
-
- isLoadedCompletely() - Method in class de.greenrobot.dao.query.LazyList
-
- isLoggable(int) - Static method in class de.greenrobot.dao.DaoLog
-
- isMergeTx() - Method in class de.greenrobot.dao.async.AsyncOperation
-
- isNotNull() - Method in class de.greenrobot.dao.Property
-
Creates an "IS NOT NULL" condition for this property.
- isNull() - Method in class de.greenrobot.dao.Property
-
Creates an "IS NULL" condition for this property.
- iterator() - Method in class de.greenrobot.dao.query.LazyList
-
- lastIndexOf(Object) - Method in class de.greenrobot.dao.query.LazyList
-
- LazyList<E> - Class in de.greenrobot.dao.query
-
A thread-safe, unmodifiable list that reads entities once they are accessed from an underlying database cursor.
- LazyList.LazyIterator - Class in de.greenrobot.dao.query
-
- LazyList.LazyIterator(int, boolean) - Constructor for class de.greenrobot.dao.query.LazyList.LazyIterator
-
- le(Object) - Method in class de.greenrobot.dao.Property
-
Creates an "less or equal ('<=')" condition for this property.
- like(String) - Method in class de.greenrobot.dao.Property
-
Creates an "LIKE" condition for this property.
- limit(int) - Method in class de.greenrobot.dao.query.QueryBuilder
-
Limits the number of results returned by queries.
- list() - Method in class de.greenrobot.dao.query.Query
-
Executes the query and returns the result as a list containing all entities loaded into memory.
- list() - Method in class de.greenrobot.dao.query.QueryBuilder
-
- listIterator() - Method in class de.greenrobot.dao.query.LazyList
-
- listIterator(int) - Method in class de.greenrobot.dao.query.LazyList
-
- listIterator() - Method in class de.greenrobot.dao.query.Query
-
Executes the query and returns the result as a list iterator; make sure to close it to close the underlying
cursor.
- listIterator() - Method in class de.greenrobot.dao.query.QueryBuilder
-
- listIteratorAutoClose() - Method in class de.greenrobot.dao.query.LazyList
-
Closes this list's cursor once the iterator is fully iterated through.
- listLazy() - Method in class de.greenrobot.dao.query.Query
-
Executes the query and returns the result as a list that lazy loads the entities on first access.
- listLazy() - Method in class de.greenrobot.dao.query.QueryBuilder
-
- listLazyUncached() - Method in class de.greenrobot.dao.query.Query
-
Executes the query and returns the result as a list that lazy loads the entities on every access (uncached).
- listLazyUncached() - Method in class de.greenrobot.dao.query.QueryBuilder
-
- load(K) - Method in class de.greenrobot.dao.AbstractDao
-
Loads and entity for the given PK.
- load(Class<T>, K) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- load(Class<?>, Object) - Method in class de.greenrobot.dao.async.AsyncSession
-
- load(Class<?>, Object, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- loadAll() - Method in class de.greenrobot.dao.AbstractDao
-
Loads all available entities from the database.
- loadAll(Class<T>) - Method in class de.greenrobot.dao.AbstractDaoSession
-
- loadAll(Class<?>) - Method in class de.greenrobot.dao.async.AsyncSession
-
- loadAll(Class<?>, int) - Method in class de.greenrobot.dao.async.AsyncSession
-
- loadAllAndCloseCursor(Cursor) - Method in class de.greenrobot.dao.AbstractDao
-
- loadAllFromCursor(Cursor) - Method in class de.greenrobot.dao.AbstractDao
-
Reads all available rows from the given cursor and returns a list of entities.
- loadByRowId(long) - Method in class de.greenrobot.dao.AbstractDao
-
- loadCurrent(Cursor, int, boolean) - Method in class de.greenrobot.dao.AbstractDao
-
Internal use only.
- loadCurrentOther(AbstractDao<O, ?>, Cursor, int) - Method in class de.greenrobot.dao.AbstractDao
-
Internal use only.
- loadEntity(int) - Method in class de.greenrobot.dao.query.LazyList
-
Lock must be locked when entering this method.
- loadRemaining() - Method in class de.greenrobot.dao.query.LazyList
-
Loads the remaining entities (if any) that were not loaded before.
- loadUnique(Cursor) - Method in class de.greenrobot.dao.AbstractDao
-
- loadUniqueAndCloseCursor(Cursor) - Method in class de.greenrobot.dao.AbstractDao
-
- lock() - Method in interface de.greenrobot.dao.identityscope.IdentityScope
-
- lock() - Method in class de.greenrobot.dao.identityscope.IdentityScopeLong
-
- lock() - Method in class de.greenrobot.dao.identityscope.IdentityScopeObject
-
- LOG_SQL - Static variable in class de.greenrobot.dao.query.QueryBuilder
-
Set to true to debug the SQL.
- LOG_VALUES - Static variable in class de.greenrobot.dao.query.QueryBuilder
-
Set to see the given values.
- logTableDump(SQLiteDatabase, String) - Static method in class de.greenrobot.dao.DbUtils
-
- logTableDump() - Method in class de.greenrobot.dao.test.AbstractDaoTest
-
- logTableDump(String) - Method in class de.greenrobot.dao.test.DbTest
-
- lt(Object) - Method in class de.greenrobot.dao.Property
-
Creates an "less than ('<')" condition for this property.