A B C D E F G H I J K L M N O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCondition() - Constructor for class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- AbstractCondition(Object) - Constructor for class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- AbstractCondition(Object[]) - Constructor for class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- AbstractDao<T,K> - Class in org.greenrobot.greendao
-
Base class for all DAOs: Implements entity operations like insert, load, delete, and query.
- AbstractDao(DaoConfig) - Constructor for class org.greenrobot.greendao.AbstractDao
- AbstractDao(DaoConfig, AbstractDaoSession) - Constructor for class org.greenrobot.greendao.AbstractDao
- AbstractDaoMaster - Class in org.greenrobot.greendao
-
The master of dao will guide you: start dao sessions with the master.
- AbstractDaoMaster(Database, int) - Constructor for class org.greenrobot.greendao.AbstractDaoMaster
- AbstractDaoSession - Class in org.greenrobot.greendao
-
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. - AbstractDaoSession(Database) - Constructor for class org.greenrobot.greendao.AbstractDaoSession
- AbstractDaoSessionTest<T extends AbstractDaoMaster,S extends AbstractDaoSession> - Class in org.greenrobot.greendao.test
-
Base class for DAO (master) related testing.
- AbstractDaoSessionTest(Class<T>) - Constructor for class org.greenrobot.greendao.test.AbstractDaoSessionTest
- AbstractDaoSessionTest(Class<T>, boolean) - Constructor for class org.greenrobot.greendao.test.AbstractDaoSessionTest
- AbstractDaoTest<D extends AbstractDao<T,K>,T,K> - Class in org.greenrobot.greendao.test
-
Base class for DAO related testing without any tests.
- AbstractDaoTest(Class<D>) - Constructor for class org.greenrobot.greendao.test.AbstractDaoTest
- AbstractDaoTest(Class<D>, boolean) - Constructor for class org.greenrobot.greendao.test.AbstractDaoTest
- AbstractDaoTestLongPk<D extends AbstractDao<T,java.lang.Long>,T> - Class in org.greenrobot.greendao.test
-
Base class for DAOs having a long/Long as a PK, which is quite common.
- AbstractDaoTestLongPk(Class<D>) - Constructor for class org.greenrobot.greendao.test.AbstractDaoTestLongPk
- AbstractDaoTestSinglePk<D extends AbstractDao<T,K>,T,K> - Class in org.greenrobot.greendao.test
-
Default tests for single-PK entities.
- AbstractDaoTestSinglePk(Class<D>) - Constructor for class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- AbstractDaoTestStringPk<D extends AbstractDao<T,java.lang.String>,T> - Class in org.greenrobot.greendao.test
-
Base class for DAOs having a String as a PK.
- AbstractDaoTestStringPk(Class<D>) - Constructor for class org.greenrobot.greendao.test.AbstractDaoTestStringPk
- active() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether update/delete/refresh methods should be generated.
- add(int, E) - Method in class org.greenrobot.greendao.query.LazyList
- add(E) - Method in class org.greenrobot.greendao.query.LazyList
- add(E) - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- addAll(int, Collection<? extends E>) - Method in class org.greenrobot.greendao.query.LazyList
- addAll(Collection<? extends E>) - Method in class org.greenrobot.greendao.query.LazyList
- allColumns - Variable in class org.greenrobot.greendao.internal.DaoConfig
- and(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.Join
-
Creates a WhereCondition by combining the given conditions using AND.
- and(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Creates a WhereCondition by combining the given conditions using AND.
- append(StringBuilder, Property) - Method in class org.greenrobot.greendao.query.QueryBuilder
- appendColumn(StringBuilder, String) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendColumn(StringBuilder, String, String) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendColumns(StringBuilder, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendColumns(StringBuilder, String, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendColumnsEqualPlaceholders(StringBuilder, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendColumnsEqValue(StringBuilder, String, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendPlaceholders(StringBuilder, int) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendProperty(StringBuilder, String, Property) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- appendTo(StringBuilder, String) - Method in interface org.greenrobot.greendao.query.WhereCondition
- appendTo(StringBuilder, String) - Method in class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- appendTo(StringBuilder, String) - Method in class org.greenrobot.greendao.query.WhereCondition.StringCondition
- appendValuesTo(List<Object>) - Method in class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- appendValuesTo(List<Object>) - Method in interface org.greenrobot.greendao.query.WhereCondition
- ASSERT - Static variable in class org.greenrobot.greendao.DaoLog
- assertSinglePk() - Method in class org.greenrobot.greendao.AbstractDao
- AsyncDaoException - Exception in org.greenrobot.greendao.async
-
Used here:
AsyncOperation.getResult(). - AsyncDaoException(AsyncOperation, Throwable) - Constructor for exception org.greenrobot.greendao.async.AsyncDaoException
- AsyncOperation - Class in org.greenrobot.greendao.async
-
An operation that will be enqueued for asynchronous execution.
- AsyncOperation.OperationType - Enum in org.greenrobot.greendao.async
- AsyncOperationListener - Interface in org.greenrobot.greendao.async
-
Listener being called after completion of
AsyncOperation. - AsyncSession - Class in org.greenrobot.greendao.async
-
Asynchronous interface to entity operations.
- AsyncSession(AbstractDaoSession) - Constructor for class org.greenrobot.greendao.async.AsyncSession
- attachEntity(K, T, boolean) - Method in class org.greenrobot.greendao.AbstractDao
-
Attaches the entity to the identity scope.
- attachEntity(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Sub classes with relations additionally set the DaoMaster here.
- autoincrement() - Method in annotation type org.greenrobot.greendao.annotation.Id
-
Specifies that id should be auto-incremented (works only for Long/long fields) Autoincrement on SQLite introduces additional resources usage and usually can be avoided
B
- beginTransaction() - Method in interface org.greenrobot.greendao.database.Database
- beginTransaction() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- beginTransaction() - Method in class org.greenrobot.greendao.database.StandardDatabase
- Beta - Annotation Type in org.greenrobot.greendao.annotation.apihint
-
APIs annotated with @Beta may change and may be even removed in a future release (but is somewhat less likely compared to
Experimental). - between(Object, Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "BETWEEN ...
- bindBlob(int, byte[]) - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- bindBlob(int, byte[]) - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- bindBlob(int, byte[]) - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- bindDouble(int, double) - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- bindDouble(int, double) - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- bindDouble(int, double) - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- bindLong(int, long) - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- bindLong(int, long) - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- bindLong(int, long) - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- bindNull(int) - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- bindNull(int) - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- bindNull(int) - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- bindString(int, String) - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- bindString(int, String) - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- bindString(int, String) - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- bindValues(SQLiteStatement, T) - Method in class org.greenrobot.greendao.AbstractDao
-
Binds the entity's values to the statement.
- bindValues(DatabaseStatement, T) - Method in class org.greenrobot.greendao.AbstractDao
-
Binds the entity's values to the statement.
- build() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Builds a reusable query object (Query objects can be executed more efficiently than creating a QueryBuilder for each execution.
- buildCount() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Builds a reusable query object for counting rows (Query objects can be executed more efficiently than creating a QueryBuilder for each execution.
- buildCursor() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Builds a reusable query object for low level android.database.Cursor access.
- buildDelete() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Builds a reusable query object for deletion (Query objects can be executed more efficiently than creating a QueryBuilder for each execution.
C
- call(Callable<T>) - Method in class org.greenrobot.greendao.rx.RxTransaction
-
Rx version of
AbstractDaoSession.callInTx(Callable)returning an Observable. - callInTx(Callable<?>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDaoSession.callInTx(Callable). - callInTx(Callable<?>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDaoSession.callInTx(Callable). - callInTx(Callable<V>) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Calls the given Callable inside a database transaction and returns the result of the Callable.
- callInTxNoException(Callable<V>) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Like
AbstractDaoSession.callInTx(Callable)but does not require Exception handling (rethrows an Exception as a runtime DaoException). - checkCached() - Method in class org.greenrobot.greendao.query.LazyList
- checkKeyIsNullable() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- clear() - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- clear() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- clear() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- clear() - Method in class org.greenrobot.greendao.internal.LongHashMap
- clear() - Method in class org.greenrobot.greendao.query.LazyList
- clearBindings() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- clearBindings() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- clearBindings() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- clearIdentityScope() - Method in class org.greenrobot.greendao.internal.DaoConfig
-
Clears the identify scope if it exists.
- clearIdentityScopeIfAny() - Method in class org.greenrobot.greendao.test.AbstractDaoTest
- clone() - Method in class org.greenrobot.greendao.internal.DaoConfig
-
Does not copy identity scope.
- close() - Method in interface org.greenrobot.greendao.database.Database
- close() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- close() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- close() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- close() - Method in class org.greenrobot.greendao.database.StandardDatabase
- close() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- close() - Method in class org.greenrobot.greendao.internal.FastCursor
- close() - Method in class org.greenrobot.greendao.query.LazyList
- close() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- CloseableListIterator<T> - Interface in org.greenrobot.greendao.query
-
A list iterator that needs to be closed (or the associated list) to free underlying resources like a database cursor.
- columnName - Variable in class org.greenrobot.greendao.Property
- columnType() - Method in annotation type org.greenrobot.greendao.annotation.Convert
-
Class of the column which can be persisted in DB.
- compileStatement(String) - Method in interface org.greenrobot.greendao.database.Database
- compileStatement(String) - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- compileStatement(String) - Method in class org.greenrobot.greendao.database.StandardDatabase
- config - Variable in class org.greenrobot.greendao.AbstractDao
- contains(Object) - Method in class org.greenrobot.greendao.query.LazyList
- containsAll(Collection<?>) - Method in class org.greenrobot.greendao.query.LazyList
- containsKey(long) - Method in class org.greenrobot.greendao.internal.LongHashMap
- Convert - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies
PropertyConverterfor the field to support custom types - converter() - Method in annotation type org.greenrobot.greendao.annotation.Convert
-
Converter class
- convertToDatabaseValue(P) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
- convertToEntityProperty(D) - Method in interface org.greenrobot.greendao.converter.PropertyConverter
- copyAllBytes(InputStream, OutputStream) - Static method in class org.greenrobot.greendao.DbUtils
-
Copies all available data from in to out without closing any stream.
- copyStringToBuffer(int, CharArrayBuffer) - Method in class org.greenrobot.greendao.internal.FastCursor
- count() - Method in class org.greenrobot.greendao.AbstractDao
- count() - Method in class org.greenrobot.greendao.query.CountQuery
-
Returns the count (number of results matching the query).
- count() - Method in class org.greenrobot.greendao.query.QueryBuilder
- count() - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.count()returning an Observable. - count(Class<?>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.count(). - count(Class<?>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.count(). - Count - org.greenrobot.greendao.async.AsyncOperation.OperationType
- CountQuery<T> - Class in org.greenrobot.greendao.query
- createApplication(Class<T>) - Method in class org.greenrobot.greendao.test.DbTest
-
Returns a prepared application with the onCreate method already called.
- createDatabase() - Method in class org.greenrobot.greendao.test.DbTest
-
May be overriden by sub classes to set up a different db.
- createEntity(K) - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
-
Creates an insertable entity.
- createEntityWithRandomPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- createInDb() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Advanced flag to disable table creation in the database (when set to false).
- createRandomPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestLongPk
-
K does not have to be collision free, check nextPk for collision free PKs.
- createRandomPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
-
K does not have to be collision free, check nextPk for collision free PKs.
- createRandomPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestStringPk
- createSqlCount(String) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- createSqlDelete(String, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
-
Remember: SQLite does not support joins nor table alias for DELETE.
- createSqlInsert(String, String, String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- createSqlSelect(String, String, String[], boolean) - Static method in class org.greenrobot.greendao.internal.SqlUtils
-
Creates an select for given columns with a trailing space
- createSqlSelectCountStar(String, String) - Static method in class org.greenrobot.greendao.internal.SqlUtils
-
Creates SELECT COUNT(*) with a trailing space.
- createSqlUpdate(String, String[], String[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- CursorQuery<T> - Class in org.greenrobot.greendao.query
-
A repeatable query returning a raw android.database.Cursor.
D
- d(String) - Static method in class org.greenrobot.greendao.DaoLog
- d(String, Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- dao - Variable in class org.greenrobot.greendao.test.AbstractDaoTest
- daoAccess - Variable in class org.greenrobot.greendao.test.AbstractDaoTest
- daoClass - Variable in class org.greenrobot.greendao.test.AbstractDaoTest
- DaoConfig - Class in org.greenrobot.greendao.internal
-
Internal class used by greenDAO.
- DaoConfig(Database, Class<? extends AbstractDao<?, ?>>) - Constructor for class org.greenrobot.greendao.internal.DaoConfig
- DaoConfig(DaoConfig) - Constructor for class org.greenrobot.greendao.internal.DaoConfig
-
Does not copy identity scope.
- daoConfigMap - Variable in class org.greenrobot.greendao.AbstractDaoMaster
- DaoException - Exception in org.greenrobot.greendao
-
Exception thrown when something goes wrong in the DAO/ORM layer.
- DaoException() - Constructor for exception org.greenrobot.greendao.DaoException
- DaoException(String) - Constructor for exception org.greenrobot.greendao.DaoException
- DaoException(String, Throwable) - Constructor for exception org.greenrobot.greendao.DaoException
- DaoException(Throwable) - Constructor for exception org.greenrobot.greendao.DaoException
- DaoLog - Class in org.greenrobot.greendao
-
Internal greenDAO logger class.
- DaoLog() - Constructor for class org.greenrobot.greendao.DaoLog
- daoMaster - Variable in class org.greenrobot.greendao.test.AbstractDaoSessionTest
- daoSession - Variable in class org.greenrobot.greendao.test.AbstractDaoSessionTest
- Database - Interface in org.greenrobot.greendao.database
-
Database abstraction used internally by greenDAO.
- DatabaseOpenHelper - Class in org.greenrobot.greendao.database
-
SQLiteOpenHelper to allow working with greenDAO's
Databaseabstraction to create and update database schemas. - DatabaseOpenHelper(Context, String, int) - Constructor for class org.greenrobot.greendao.database.DatabaseOpenHelper
- DatabaseOpenHelper(Context, String, SQLiteDatabase.CursorFactory, int) - Constructor for class org.greenrobot.greendao.database.DatabaseOpenHelper
- DatabaseOpenHelper(Context, String, SQLiteDatabase.CursorFactory, int, DatabaseErrorHandler) - Constructor for class org.greenrobot.greendao.database.DatabaseOpenHelper
- DatabaseStatement - Interface in org.greenrobot.greendao.database
- db - Variable in class org.greenrobot.greendao.AbstractDao
- db - Variable in class org.greenrobot.greendao.AbstractDaoMaster
- db - Variable in class org.greenrobot.greendao.internal.DaoConfig
- db - Variable in class org.greenrobot.greendao.test.DbTest
- DB_NAME - Static variable in class org.greenrobot.greendao.test.DbTest
- DbTest - Class in org.greenrobot.greendao.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 org.greenrobot.greendao.test.DbTest
- DbTest(boolean) - Constructor for class org.greenrobot.greendao.test.DbTest
- DbUtils - Class in org.greenrobot.greendao
-
Database utils, for example to execute SQL scripts
- DbUtils() - Constructor for class org.greenrobot.greendao.DbUtils
- deactivate() - Method in class org.greenrobot.greendao.internal.FastCursor
- DEBUG - Static variable in class org.greenrobot.greendao.DaoLog
- delete(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.delete(Object). - delete(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.delete(Object). - delete(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes the given entity from the database.
- delete(T) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.delete(Object). - delete(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.delete(Object)returning an Observable. - Delete - org.greenrobot.greendao.async.AsyncOperation.OperationType
- deleteAll() - Method in class org.greenrobot.greendao.AbstractDao
- deleteAll() - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteAll()returning an Observable. - deleteAll(Class<E>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteAll(). - deleteAll(Class<E>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteAll(). - deleteAll(Class<T>) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.deleteAll(). - DeleteAll - org.greenrobot.greendao.async.AsyncOperation.OperationType
- deleteByKey(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteByKey(Object). - deleteByKey(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteByKey(Object). - deleteByKey(K) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes an entity with the given PK from the database.
- deleteByKey(K) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteByKey(Object)returning an Observable. - DeleteByKey - org.greenrobot.greendao.async.AsyncOperation.OperationType
- deleteByKeyInTx(Iterable<K>) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes all entities with the given keys in the database using a transaction.
- deleteByKeyInTx(Iterable<K>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteByKeyInTx(Iterable)returning an Observable. - deleteByKeyInTx(K...) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes all entities with the given keys in the database using a transaction.
- deleteByKeyInTx(K...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteByKeyInTx(Object[])returning an Observable. - deleteInTx(Class<E>, int, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteInTx(Object...). - deleteInTx(Class<E>, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteInTx(Object...). - deleteInTx(Class<E>, Iterable<E>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteInTx(Iterable). - deleteInTx(Class<E>, Iterable<E>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.deleteInTx(Iterable). - deleteInTx(Iterable<T>) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes the given entities in the database using a transaction.
- deleteInTx(Iterable<T>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteInTx(Iterable)returning an Observable. - deleteInTx(T...) - Method in class org.greenrobot.greendao.AbstractDao
-
Deletes the given entities in the database using a transaction.
- deleteInTx(T...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.deleteInTx(Object[])returning an Observable. - DeleteInTxArray - org.greenrobot.greendao.async.AsyncOperation.OperationType
- DeleteInTxIterable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- DeleteQuery<T> - Class in org.greenrobot.greendao.query
-
A repeatable query for deleting entities.
New API note: this is more likely to change. - detach(Long, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- detach(K, T) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- detach(K, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- detach(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Detaches an entity from the identity scope (session).
- detachAll() - Method in class org.greenrobot.greendao.AbstractDao
-
Detaches all entities (of type T) from the identity scope (session).
- distinct() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Use a SELECT DISTINCT to avoid duplicate entities returned, e.g.
E
- e(String) - Static method in class org.greenrobot.greendao.DaoLog
- e(String, Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- EncryptedDatabase - Class in org.greenrobot.greendao.database
- EncryptedDatabase(SQLiteDatabase) - Constructor for class org.greenrobot.greendao.database.EncryptedDatabase
- EncryptedDatabaseStatement - Class in org.greenrobot.greendao.database
- EncryptedDatabaseStatement(SQLiteStatement) - Constructor for class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- endTransaction() - Method in interface org.greenrobot.greendao.database.Database
- endTransaction() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- endTransaction() - Method in class org.greenrobot.greendao.database.StandardDatabase
- entity() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Reference to join-entity class, which holds the source and the target properties
- Entity - Annotation Type in org.greenrobot.greendao.annotation
-
Annotation for entities greenDAO only persist objects of classes which are marked with this annotation
- eq(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "equal ('=')" condition for this property.
- ERROR - Static variable in class org.greenrobot.greendao.DaoLog
- escapeBlobArgument(byte[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- execSQL(String) - Method in interface org.greenrobot.greendao.database.Database
- execSQL(String) - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- execSQL(String) - Method in class org.greenrobot.greendao.database.StandardDatabase
- execSQL(String, Object[]) - Method in interface org.greenrobot.greendao.database.Database
- execSQL(String, Object[]) - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- execSQL(String, Object[]) - Method in class org.greenrobot.greendao.database.StandardDatabase
- execute() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- execute() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- execute() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- executeDeleteWithoutDetachingEntities() - Method in class org.greenrobot.greendao.query.DeleteQuery
-
Deletes all matching entities without detaching them from the identity scope (aka session/cache).
- executeInsert() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- executeInsert() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- executeInsert() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- executeSqlScript(Context, Database, String) - Static method in class org.greenrobot.greendao.DbUtils
-
Calls
DbUtils.executeSqlScript(Context, Database, String, boolean)with transactional set to true. - executeSqlScript(Context, Database, String, boolean) - Static method in class org.greenrobot.greendao.DbUtils
-
Executes the given SQL asset in the given database (SQL file should be UTF-8).
- executeSqlStatements(Database, String[]) - Static method in class org.greenrobot.greendao.DbUtils
- executeSqlStatementsInTx(Database, String[]) - Static method in class org.greenrobot.greendao.DbUtils
- Experimental - Annotation Type in org.greenrobot.greendao.annotation.apihint
-
APIs annotated with @Experimental are likely to change and may be even removed in a future release.
F
- FastCursor - Class in org.greenrobot.greendao.internal
-
Internal class used by greenDAO.
- FastCursor(CursorWindow) - Constructor for class org.greenrobot.greendao.internal.FastCursor
- FLAG_MERGE_TX - Static variable in class org.greenrobot.greendao.async.AsyncOperation
- FLAG_STOP_QUEUE_ON_EXCEPTION - Static variable in class org.greenrobot.greendao.async.AsyncOperation
-
TODO unused, just an idea
- FLAG_TRACK_CREATOR_STACKTRACE - Static variable in class org.greenrobot.greendao.async.AsyncOperation
- forCurrentThread() - Method in class org.greenrobot.greendao.query.CountQuery
- forCurrentThread() - Method in class org.greenrobot.greendao.query.CursorQuery
- forCurrentThread() - Method in class org.greenrobot.greendao.query.DeleteQuery
- forCurrentThread() - Method in class org.greenrobot.greendao.query.Query
-
Note: all parameters are reset to their initial values specified in
QueryBuilder.
G
- ge(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "greater or equal ('>=')" condition for this property.
- generateConstructors() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether an all properties constructor should be generated.
- Generated - Annotation Type in org.greenrobot.greendao.annotation
-
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.
- generateGettersSetters() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Whether getters and setters for properties should be generated if missing.
- get(int) - Method in class org.greenrobot.greendao.query.LazyList
- get(long) - Method in class org.greenrobot.greendao.internal.LongHashMap
- get(Long) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- get(K) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- get(K) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- get2(long) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- get2NoLock(long) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- getAllColumns() - Method in class org.greenrobot.greendao.AbstractDao
- getAllDaos() - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Allows to inspect the meta model using DAOs (e.g.
- getApplication() - Method in class org.greenrobot.greendao.test.DbTest
-
Gets the previously created application.
- getBlob(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getColumnCount() - Method in class org.greenrobot.greendao.internal.FastCursor
- getColumnIndex(String) - Method in class org.greenrobot.greendao.internal.FastCursor
- getColumnIndexOrThrow(String) - Method in class org.greenrobot.greendao.internal.FastCursor
- getColumnName(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getColumnNames() - Method in class org.greenrobot.greendao.internal.FastCursor
- getCount() - Method in class org.greenrobot.greendao.internal.FastCursor
- getCountStatement() - Method in class org.greenrobot.greendao.internal.TableStatements
- getCreatorStacktrace() - Method in class org.greenrobot.greendao.async.AsyncOperation
-
The stacktrace is captured using an exception if
AsyncOperation.FLAG_TRACK_CREATOR_STACKTRACEwas used (null otherwise). - getDao() - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- getDao() - Method in class org.greenrobot.greendao.rx.RxDao
-
The plain DAO.
- getDao(Class<? extends Object>) - Method in class org.greenrobot.greendao.AbstractDaoSession
- getDaoSession() - Method in class org.greenrobot.greendao.rx.RxTransaction
- getDatabase() - Method in class org.greenrobot.greendao.AbstractDao
-
Gets the SQLiteDatabase for custom database access.
- getDatabase() - Method in class org.greenrobot.greendao.AbstractDaoMaster
-
Gets the SQLiteDatabase for custom database access.
- getDatabase() - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Gets the Database for custom database access.
- getDeleteStatement() - Method in class org.greenrobot.greendao.internal.TableStatements
- getDouble(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getDuration() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getEncryptedReadableDb(char[]) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Use this to initialize an encrypted SQLCipher database.
- getEncryptedReadableDb(String) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Use this to initialize an encrypted SQLCipher database.
- getEncryptedWritableDb(char[]) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Use this to initialize an encrypted SQLCipher database.
- getEncryptedWritableDb(String) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Use this to initialize an encrypted SQLCipher database.
- getExtras() - Method in class org.greenrobot.greendao.internal.FastCursor
- getFailedOperation() - Method in exception org.greenrobot.greendao.async.AsyncDaoException
- getFloat(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getIdentityScope() - Method in class org.greenrobot.greendao.internal.DaoConfig
- getInsertOrReplaceStatement() - Method in class org.greenrobot.greendao.internal.TableStatements
- getInsertStatement() - Method in class org.greenrobot.greendao.internal.TableStatements
- getInt(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getKey(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Returns the value of the primary key, if the entity has a single primary key, or, if not, null.
- getKey(T) - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- getKeyVerified(T) - Method in class org.greenrobot.greendao.AbstractDao
-
See
AbstractDao.getKey(Object), but guarantees that the returned key is never null (throws if null). - getListener() - Method in class org.greenrobot.greendao.async.AsyncSession
- getListenerMainThread() - Method in class org.greenrobot.greendao.async.AsyncSession
- getLoadedCount() - Method in class org.greenrobot.greendao.query.LazyList
- getLong(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getMaxOperationCountToMerge() - Method in class org.greenrobot.greendao.async.AsyncSession
- getMergedOperationsCount() - Method in class org.greenrobot.greendao.async.AsyncOperation
-
If this operation was successfully merged with other operation into a single TX, this will give the count of merged operations.
- getNoLock(Long) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- getNoLock(K) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- getNoLock(K) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- getNonPkColumns() - Method in class org.greenrobot.greendao.AbstractDao
- getNotificationUri() - Method in class org.greenrobot.greendao.internal.FastCursor
-
Since API level 19
- getParameter() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getPkColumns() - Method in class org.greenrobot.greendao.AbstractDao
- getPkProperty() - Method in class org.greenrobot.greendao.AbstractDao
- getPosition() - Method in class org.greenrobot.greendao.internal.FastCursor
- getProperties() - Method in class org.greenrobot.greendao.AbstractDao
- getProperties() - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- getRawDatabase() - Method in interface org.greenrobot.greendao.database.Database
- getRawDatabase() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- getRawDatabase() - Method in class org.greenrobot.greendao.database.StandardDatabase
- getRawStatement() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- getRawStatement() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- getRawStatement() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- getReadableDb() - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Like
SQLiteOpenHelper.getReadableDatabase(), but returns a greenDAO abstraction of the database. - getResult() - Method in class org.greenrobot.greendao.async.AsyncOperation
-
The operation's result after it has completed.
- getSchemaVersion() - Method in class org.greenrobot.greendao.AbstractDaoMaster
- getSelectAll() - Method in class org.greenrobot.greendao.internal.TableStatements
-
ends with an space to simplify appending to this string.
- getSelectByKey() - Method in class org.greenrobot.greendao.internal.TableStatements
- getSelectByRowId() - Method in class org.greenrobot.greendao.internal.TableStatements
- getSelectKeys() - Method in class org.greenrobot.greendao.internal.TableStatements
-
ends with an space to simplify appending to this string.
- getSequenceNumber() - Method in class org.greenrobot.greendao.async.AsyncOperation
-
Each operation get a unique sequence number when the operation is enqueued.
- getSession() - Method in class org.greenrobot.greendao.AbstractDao
- getSessionFlags() - Method in class org.greenrobot.greendao.async.AsyncSession
-
AsyncOperationflags set for all operations (will be ORed with call flags). - getShort(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getSQLiteDatabase() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- getSQLiteDatabase() - Method in class org.greenrobot.greendao.database.StandardDatabase
- getStackTraceString(Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- getStatements() - Method in class org.greenrobot.greendao.InternalQueryDaoAccess
- getStatements(AbstractDao<T2, ?>) - Static method in class org.greenrobot.greendao.InternalQueryDaoAccess
- getString(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- getTablename() - Method in class org.greenrobot.greendao.AbstractDao
- getTablePrefix() - Method in class org.greenrobot.greendao.query.Join
-
Usually you don't need this value; just in case you are mixing custom
WhereCondition.StringConditioninto the query, this value allows to reference the joined (target) table. - getThrowable() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getTimeCompleted() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getTimeStarted() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getType() - Method in class org.greenrobot.greendao.async.AsyncOperation
- getType(int) - Method in class org.greenrobot.greendao.internal.FastCursor
-
Since API level 11
- getUpdateStatement() - Method in class org.greenrobot.greendao.internal.TableStatements
- getWaitForMergeMillis() - Method in class org.greenrobot.greendao.async.AsyncSession
- getWantsAllOnMoveCalls() - Method in class org.greenrobot.greendao.internal.FastCursor
- getWritableDb() - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Like
SQLiteOpenHelper.getWritableDatabase(), but returns a greenDAO abstraction of the database. - gt(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "greater than ('>')" condition for this property.
H
- hash() - Method in annotation type org.greenrobot.greendao.annotation.Generated
- hasKey(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Returns true if the entity is not null, and has a non-null key, which is also != 0.
- hasNext() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- hasPrevious() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- hasSingleValue - Variable in class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
I
- i(String) - Static method in class org.greenrobot.greendao.DaoLog
- i(String, Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- Id - Annotation Type in org.greenrobot.greendao.annotation
-
Marks field is the primary key of the entity's table
- identityScope - Variable in class org.greenrobot.greendao.AbstractDao
- IdentityScope<K,T> - Interface in org.greenrobot.greendao.identityscope
-
Common interface for a identity scopes needed internally by greenDAO.
- identityScopeForDao - Variable in class org.greenrobot.greendao.test.AbstractDaoTest
- identityScopeLong - Variable in class org.greenrobot.greendao.AbstractDao
- IdentityScopeLong<T> - Class in org.greenrobot.greendao.identityscope
-
The context for entity identities.
- IdentityScopeLong() - Constructor for class org.greenrobot.greendao.identityscope.IdentityScopeLong
- IdentityScopeObject<K,T> - Class in org.greenrobot.greendao.identityscope
-
The context for entity identities.
- IdentityScopeObject() - Constructor for class org.greenrobot.greendao.identityscope.IdentityScopeObject
- IdentityScopeType - Enum in org.greenrobot.greendao.identityscope
- in(Object...) - Method in class org.greenrobot.greendao.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- in(Collection<?>) - Method in class org.greenrobot.greendao.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- Index - Annotation Type in org.greenrobot.greendao.annotation
-
Can be used to: - specifies that the property should be indexed - define multi-column index through
Entity.indexes() - indexes() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Indexes for the entity.
- indexOf(Object) - Method in class org.greenrobot.greendao.query.LazyList
- INFO - Static variable in class org.greenrobot.greendao.DaoLog
- initIdentityScope(IdentityScopeType) - Method in class org.greenrobot.greendao.internal.DaoConfig
- inMemory - Variable in class org.greenrobot.greendao.test.DbTest
- insert(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insert(Object). - insert(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insert(Object). - insert(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO.
- insert(T) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.insert(Object). - insert(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insert(Object)returning an Observable. - Insert - org.greenrobot.greendao.async.AsyncOperation.OperationType
- insertInTx(Class<E>, int, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertInTx(Object...). - insertInTx(Class<E>, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertInTx(Object...). - insertInTx(Class<E>, Iterable<E>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertInTx(Iterable). - insertInTx(Class<E>, Iterable<E>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertInTx(Iterable). - insertInTx(Iterable<T>) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(Iterable<T>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insertInTx(Iterable)returning an Observable. - insertInTx(Iterable<T>, boolean) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(T...) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts the given entities in the database using a transaction.
- insertInTx(T...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insertInTx(Object[])returning an Observable. - InsertInTxArray - org.greenrobot.greendao.async.AsyncOperation.OperationType
- InsertInTxIterable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- insertOrReplace(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplace(Object). - insertOrReplace(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplace(Object). - insertOrReplace(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO.
- insertOrReplace(T) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.insertOrReplace(Object). - insertOrReplace(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insertOrReplace(Object)returning an Observable. - InsertOrReplace - org.greenrobot.greendao.async.AsyncOperation.OperationType
- insertOrReplaceInTx(Class<E>, int, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplaceInTx(Object...). - insertOrReplaceInTx(Class<E>, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplaceInTx(Object...). - insertOrReplaceInTx(Class<E>, Iterable<E>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplaceInTx(Iterable). - insertOrReplaceInTx(Class<E>, Iterable<E>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.insertOrReplaceInTx(Iterable). - insertOrReplaceInTx(Iterable<T>) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(Iterable<T>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insertOrReplaceInTx(Iterable)returning an Observable. - insertOrReplaceInTx(Iterable<T>, boolean) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(T...) - Method in class org.greenrobot.greendao.AbstractDao
-
Inserts or replaces the given entities in the database using a transaction.
- insertOrReplaceInTx(T...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.insertOrReplaceInTx(Object[])returning an Observable. - InsertOrReplaceInTxArray - org.greenrobot.greendao.async.AsyncOperation.OperationType
- InsertOrReplaceInTxIterable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- insertWithoutSettingPk(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Insert an entity into the table associated with a concrete DAO without setting key property.
- Internal - Annotation Type in org.greenrobot.greendao.annotation.apihint
-
APIs annotated with @Internal must NOT be used.
- internalCreate(AbstractDao<T2, ?>) - Static method in class org.greenrobot.greendao.query.QueryBuilder
-
For internal use by greenDAO only.
- internalCreate(AbstractDao<T2, ?>, String, Object[]) - Static method in class org.greenrobot.greendao.query.CursorQuery
-
For internal use by greenDAO only.
- internalCreate(AbstractDao<T2, ?>, String, Object[]) - Static method in class org.greenrobot.greendao.query.Query
-
For internal use by greenDAO only.
- InternalQueryDaoAccess<T> - Class in org.greenrobot.greendao
-
For internal use by greenDAO only.
- InternalQueryDaoAccess(AbstractDao<T, ?>) - Constructor for class org.greenrobot.greendao.InternalQueryDaoAccess
- InternalUnitTestDaoAccess<T,K> - Class in org.greenrobot.greendao
-
Reserved for internal unit tests that want to access some non-public methods.
- InternalUnitTestDaoAccess(Database, Class<AbstractDao<T, K>>, IdentityScope<?, ?>) - Constructor for class org.greenrobot.greendao.InternalUnitTestDaoAccess
- inTransaction() - Method in interface org.greenrobot.greendao.database.Database
- inTransaction() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- inTransaction() - Method in class org.greenrobot.greendao.database.StandardDatabase
- isAfterLast() - Method in class org.greenrobot.greendao.internal.FastCursor
- isBeforeFirst() - Method in class org.greenrobot.greendao.internal.FastCursor
- isClosed() - Method in class org.greenrobot.greendao.internal.FastCursor
- isClosed() - Method in class org.greenrobot.greendao.query.LazyList
- isCompleted() - Method in class org.greenrobot.greendao.async.AsyncOperation
- isCompleted() - Method in class org.greenrobot.greendao.async.AsyncSession
- isCompletedSucessfully() - Method in class org.greenrobot.greendao.async.AsyncOperation
- isDbLockedByCurrentThread() - Method in interface org.greenrobot.greendao.database.Database
- isDbLockedByCurrentThread() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- isDbLockedByCurrentThread() - Method in class org.greenrobot.greendao.database.StandardDatabase
- isEmpty() - Method in class org.greenrobot.greendao.query.LazyList
- isEntityUpdateable() - Method in class org.greenrobot.greendao.AbstractDao
-
Returns true if the Entity class can be updated, e.g.
- isEntityUpdateable() - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- isFailed() - Method in class org.greenrobot.greendao.async.AsyncOperation
- isFirst() - Method in class org.greenrobot.greendao.internal.FastCursor
- isLast() - Method in class org.greenrobot.greendao.internal.FastCursor
- isLoadedCompletely() - Method in class org.greenrobot.greendao.query.LazyList
- isLoggable(int) - Static method in class org.greenrobot.greendao.DaoLog
- isMergeTx() - Method in class org.greenrobot.greendao.async.AsyncOperation
- isNotNull() - Method in class org.greenrobot.greendao.Property
-
Creates an "IS NOT NULL" condition for this property.
- isNull() - Method in class org.greenrobot.greendao.Property
-
Creates an "IS NULL" condition for this property.
- isNull(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- isOpen() - Method in interface org.greenrobot.greendao.database.Database
- isOpen() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- isOpen() - Method in class org.greenrobot.greendao.database.StandardDatabase
- isStandardSQLite - Variable in class org.greenrobot.greendao.AbstractDao
- iterator() - Method in class org.greenrobot.greendao.query.LazyList
J
- join(Class<J>, Property) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Expands the query to another entity type by using a JOIN.
- join(Property, Class<J>) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Expands the query to another entity type by using a JOIN.
- join(Property, Class<J>, Property) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Expands the query to another entity type by using a JOIN.
- join(Join<?, T>, Property, Class<J>, Property) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Expands the query to another entity type by using a JOIN.
- Join<SRC,DST> - Class in org.greenrobot.greendao.query
-
A Join lets you relate to other entity types for queries, and allows using WHERE statements on the joined entity type.
- Join(String, Property, AbstractDao<DST, ?>, Property, String) - Constructor for class org.greenrobot.greendao.query.Join
- JoinEntity - Annotation Type in org.greenrobot.greendao.annotation
-
Defines *-to-* relation with join table
- joinProperties() - Method in annotation type org.greenrobot.greendao.annotation.ToMany
-
Array of matching source -> target properties Required unless
ToMany.referencedJoinProperty()orJoinEntityis specified - joinProperty() - Method in annotation type org.greenrobot.greendao.annotation.ToOne
-
Name of the property inside the current entity which holds the key of related entity.
- JoinProperty - Annotation Type in org.greenrobot.greendao.annotation
-
Defines name and referencedName properties for relations
K
- Keep - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies that the target should be kept during next run of greenDAO generation.
- keyIsNumeric - Variable in class org.greenrobot.greendao.internal.DaoConfig
L
- lastIndexOf(Object) - Method in class org.greenrobot.greendao.query.LazyList
- LazyIterator(int, boolean) - Constructor for class org.greenrobot.greendao.query.LazyList.LazyIterator
- LazyList<E> - Class in org.greenrobot.greendao.query
-
A thread-safe, unmodifiable list that reads entities once they are accessed from an underlying database cursor.
- LazyList.LazyIterator - Class in org.greenrobot.greendao.query
- le(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "less or equal ('<=')" condition for this property.
- like(String) - Method in class org.greenrobot.greendao.Property
-
Creates an "LIKE" condition for this property.
- limit(int) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Limits the number of results returned by queries.
- list() - Method in class org.greenrobot.greendao.query.Query
-
Executes the query and returns the result as a list containing all entities loaded into memory.
- list() - Method in class org.greenrobot.greendao.query.QueryBuilder
- list() - Method in class org.greenrobot.greendao.rx.RxQuery
-
Rx version of
Query.list()returning an Observable. - listIterator() - Method in class org.greenrobot.greendao.query.LazyList
- listIterator() - Method in class org.greenrobot.greendao.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 org.greenrobot.greendao.query.QueryBuilder
- listIterator(int) - Method in class org.greenrobot.greendao.query.LazyList
- listIteratorAutoClose() - Method in class org.greenrobot.greendao.query.LazyList
-
Closes this list's cursor once the iterator is fully iterated through.
- listLazy() - Method in class org.greenrobot.greendao.query.Query
-
Executes the query and returns the result as a list that lazy loads the entities on first access.
- listLazy() - Method in class org.greenrobot.greendao.query.QueryBuilder
- listLazyUncached() - Method in class org.greenrobot.greendao.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 org.greenrobot.greendao.query.QueryBuilder
- load(Class<?>, Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.load(Object). - load(Class<?>, Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.load(Object). - load(Class<T>, K) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.load(Object). - load(K) - Method in class org.greenrobot.greendao.AbstractDao
-
Loads the entity for the given PK.
- load(K) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.loadAll()returning an Observable. - Load - org.greenrobot.greendao.async.AsyncOperation.OperationType
- loadAll() - Method in class org.greenrobot.greendao.AbstractDao
-
Loads all available entities from the database.
- loadAll() - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.loadAll()returning an Observable. - loadAll(Class<?>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.loadAll(). - loadAll(Class<?>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.loadAll(). - loadAll(Class<T>) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.loadAll(). - LoadAll - org.greenrobot.greendao.async.AsyncOperation.OperationType
- loadAllAndCloseCursor(Cursor) - Method in class org.greenrobot.greendao.AbstractDao
- loadAllAndCloseCursor(Cursor) - Method in class org.greenrobot.greendao.InternalQueryDaoAccess
- loadAllFromCursor(Cursor) - Method in class org.greenrobot.greendao.AbstractDao
-
Reads all available rows from the given cursor and returns a list of entities.
- loadByRowId(long) - Method in class org.greenrobot.greendao.AbstractDao
- loadCurrent(Cursor, int, boolean) - Method in class org.greenrobot.greendao.AbstractDao
-
Internal use only.
- loadCurrent(Cursor, int, boolean) - Method in class org.greenrobot.greendao.InternalQueryDaoAccess
- loadCurrentOther(AbstractDao<O, ?>, Cursor, int) - Method in class org.greenrobot.greendao.AbstractDao
-
Internal use only.
- loadEntity(int) - Method in class org.greenrobot.greendao.query.LazyList
-
Lock must be locked when entering this method.
- loadRemaining() - Method in class org.greenrobot.greendao.query.LazyList
-
Loads the remaining entities (if any) that were not loaded before.
- loadUnique(Cursor) - Method in class org.greenrobot.greendao.AbstractDao
- loadUniqueAndCloseCursor(Cursor) - Method in class org.greenrobot.greendao.AbstractDao
- loadUniqueAndCloseCursor(Cursor) - Method in class org.greenrobot.greendao.InternalQueryDaoAccess
- lock() - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- lock() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- lock() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- LOG_SQL - Static variable in class org.greenrobot.greendao.query.QueryBuilder
-
Set to true to debug the SQL.
- LOG_VALUES - Static variable in class org.greenrobot.greendao.query.QueryBuilder
-
Set to see the given values.
- logStats() - Method in class org.greenrobot.greendao.internal.LongHashMap
- logTableDump() - Method in class org.greenrobot.greendao.test.AbstractDaoTest
- logTableDump(SQLiteDatabase, String) - Static method in class org.greenrobot.greendao.DbUtils
- logTableDump(String) - Method in class org.greenrobot.greendao.test.DbTest
- LongHashMap<T> - Class in org.greenrobot.greendao.internal
-
An minimalistic hash map optimized for long keys.
- LongHashMap() - Constructor for class org.greenrobot.greendao.internal.LongHashMap
- LongHashMap(int) - Constructor for class org.greenrobot.greendao.internal.LongHashMap
- lt(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "less than ('<')" condition for this property.
M
- move(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- moveToFirst() - Method in class org.greenrobot.greendao.internal.FastCursor
- moveToLast() - Method in class org.greenrobot.greendao.internal.FastCursor
- moveToNext() - Method in class org.greenrobot.greendao.internal.FastCursor
- moveToPosition(int) - Method in class org.greenrobot.greendao.internal.FastCursor
- moveToPrevious() - Method in class org.greenrobot.greendao.internal.FastCursor
N
- name - Variable in class org.greenrobot.greendao.Property
- name() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Optional name of the index.
- name() - Method in annotation type org.greenrobot.greendao.annotation.JoinProperty
-
Name of the property in the name entity, which matches
JoinProperty.referencedName() - nameInDb() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Specifies the name on the DB side (e.g.
- nameInDb() - Method in annotation type org.greenrobot.greendao.annotation.Property
-
Name of the database column for this property.
- newSession() - Method in class org.greenrobot.greendao.AbstractDaoMaster
- newSession(IdentityScopeType) - Method in class org.greenrobot.greendao.AbstractDaoMaster
- next() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- nextIndex() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- nextPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
-
Provides a collision free PK () not returned before in the current test.
- None - org.greenrobot.greendao.identityscope.IdentityScopeType
- nonPkColumns - Variable in class org.greenrobot.greendao.internal.DaoConfig
- notEq(Object) - Method in class org.greenrobot.greendao.Property
-
Creates an "not equal ('<>')" condition for this property.
- notIn(Object...) - Method in class org.greenrobot.greendao.Property
-
Creates an "NOT IN (..., ..., ...)" condition for this property.
- notIn(Collection<?>) - Method in class org.greenrobot.greendao.Property
-
Creates an "NOT IN (..., ..., ...)" condition for this property.
- NotNull - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies that property is not null
O
- offset(int) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Sets the offset for query results in combination with
QueryBuilder.limit(int). - onAsyncOperationCompleted(AsyncOperation) - Method in interface org.greenrobot.greendao.async.AsyncOperationListener
-
Note, that the operation may not have been successful, check
AsyncOperation.isFailed()and/orAsyncOperation.getThrowable()for error situations. - onCreate(SQLiteDatabase) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Delegates to
DatabaseOpenHelper.onCreate(Database), which uses greenDAO's database abstraction. - onCreate(Database) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Override this if you do not want to depend on
SQLiteDatabase. - oneByOne() - Method in class org.greenrobot.greendao.rx.RxQuery
-
Emits the resulting entities one by one, producing them on the fly ("streaming" entities).
- onOpen(SQLiteDatabase) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Delegates to
DatabaseOpenHelper.onOpen(Database), which uses greenDAO's database abstraction. - onOpen(Database) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Override this if you do not want to depend on
SQLiteDatabase. - onUpgrade(SQLiteDatabase, int, int) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Delegates to
DatabaseOpenHelper.onUpgrade(Database, int, int), which uses greenDAO's database abstraction. - onUpgrade(Database, int, int) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Override this if you do not want to depend on
SQLiteDatabase. - op - Variable in class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- or(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.Join
-
Creates a WhereCondition by combining the given conditions using OR.
- or(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Creates a WhereCondition by combining the given conditions using OR.
- orderAsc(Property...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given properties to the ORDER BY section using ascending order.
- OrderBy - Annotation Type in org.greenrobot.greendao.annotation
-
Specifies ordering of related collection of
ToManyrelation E.g.: @OrderBy("name, age DESC") List collection; If used as marker (@OrderBy List collection), then collection is ordered by primary key - orderCustom(Property, String) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given properties to the ORDER BY section using the given custom order.
- orderDesc(Property...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given properties to the ORDER BY section using descending order.
- orderRaw(String) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given raw SQL string to the ORDER BY section.
- ordinal - Variable in class org.greenrobot.greendao.Property
- org.greenrobot.greendao - package org.greenrobot.greendao
- org.greenrobot.greendao.annotation - package org.greenrobot.greendao.annotation
- org.greenrobot.greendao.annotation.apihint - package org.greenrobot.greendao.annotation.apihint
- org.greenrobot.greendao.async - package org.greenrobot.greendao.async
- org.greenrobot.greendao.converter - package org.greenrobot.greendao.converter
- org.greenrobot.greendao.database - package org.greenrobot.greendao.database
- org.greenrobot.greendao.identityscope - package org.greenrobot.greendao.identityscope
- org.greenrobot.greendao.internal - package org.greenrobot.greendao.internal
- org.greenrobot.greendao.query - package org.greenrobot.greendao.query
- org.greenrobot.greendao.rx - package org.greenrobot.greendao.rx
- org.greenrobot.greendao.test - package org.greenrobot.greendao.test
P
- peek(int) - Method in class org.greenrobot.greendao.query.LazyList
-
Like get but does not load the entity if it was not loaded before.
- pkColumn - Variable in class org.greenrobot.greendao.test.AbstractDaoTest
- pkColumns - Variable in class org.greenrobot.greendao.internal.DaoConfig
- pkOrdinal - Variable in class org.greenrobot.greendao.AbstractDao
- pkProperty - Variable in class org.greenrobot.greendao.internal.DaoConfig
-
Single property PK or null if there's no PK or a multi property PK.
- preferLocalizedStringOrder() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
If using Android's embedded SQLite, this enables localized ordering of strings (see
QueryBuilder.orderAsc(Property...)andQueryBuilder.orderDesc(Property...)). - previous() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- previousIndex() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- primaryKey - Variable in class org.greenrobot.greendao.Property
- println(int, String) - Static method in class org.greenrobot.greendao.DaoLog
- properties - Variable in class org.greenrobot.greendao.internal.DaoConfig
- property - Variable in class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- Property - Class in org.greenrobot.greendao
-
Meta data describing a property mapped to a database column; used to create WhereCondition object used by the query builder.
- Property - Annotation Type in org.greenrobot.greendao.annotation
-
Optional: configures the mapped column for a persistent field.
- Property(int, Class<?>, String, boolean, String) - Constructor for class org.greenrobot.greendao.Property
- PropertyCondition(Property, String) - Constructor for class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- PropertyCondition(Property, String, Object) - Constructor for class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- PropertyCondition(Property, String, Object[]) - Constructor for class org.greenrobot.greendao.query.WhereCondition.PropertyCondition
- PropertyConverter<P,D> - Interface in org.greenrobot.greendao.converter
-
To use custom types in your entity, implement this to convert db values to entity values and back.
- protobuf() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Define a protobuf class of this entity to create an additional, special DAO for.
- put(long, T) - Method in class org.greenrobot.greendao.internal.LongHashMap
- put(Long, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- put(K, T) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- put(K, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- put2(long, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- put2NoLock(long, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- putNoLock(Long, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- putNoLock(K, T) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- putNoLock(K, T) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
Q
- query() - Method in class org.greenrobot.greendao.query.CursorQuery
-
Executes the query and returns a raw android.database.Cursor.
- Query<T> - Class in org.greenrobot.greendao.query
-
A repeatable query returning entities.
- queryBuilder() - Method in class org.greenrobot.greendao.AbstractDao
- queryBuilder(Class<T>) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.queryBuilder(). - QueryBuilder<T> - Class in org.greenrobot.greendao.query
-
Builds custom entity queries using constraints and parameters and without SQL (QueryBuilder creates SQL for you).
- QueryBuilder(AbstractDao<T, ?>) - Constructor for class org.greenrobot.greendao.query.QueryBuilder
- QueryBuilder(AbstractDao<T, ?>, String) - Constructor for class org.greenrobot.greendao.query.QueryBuilder
- queryList(Query<?>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
Query.list(). - queryList(Query<?>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
Query.list(). - QueryList - org.greenrobot.greendao.async.AsyncOperation.OperationType
- queryRaw(Class<T>, String, String...) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.queryRaw(String, String...). - queryRaw(String, String...) - Method in class org.greenrobot.greendao.AbstractDao
-
A raw-style query where you can pass any WHERE clause and arguments.
- queryRawCreate(String, Object...) - Method in class org.greenrobot.greendao.AbstractDao
-
Creates a repeatable
Queryobject based on the given raw SQL where you can pass any WHERE clause and arguments. - queryRawCreateListArgs(String, Collection<Object>) - Method in class org.greenrobot.greendao.AbstractDao
-
Creates a repeatable
Queryobject based on the given raw SQL where you can pass any WHERE clause and arguments. - queryUnique(Query<?>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
Query.unique(). - queryUnique(Query<?>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
Query.unique(). - QueryUnique - org.greenrobot.greendao.async.AsyncOperation.OperationType
- queryWithDummyColumnsInFront(int, String, K) - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
R
- random - Variable in class org.greenrobot.greendao.test.DbTest
- rawQuery(String, String[]) - Method in interface org.greenrobot.greendao.database.Database
- rawQuery(String, String[]) - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- rawQuery(String, String[]) - Method in class org.greenrobot.greendao.database.StandardDatabase
- readAllBytes(InputStream) - Static method in class org.greenrobot.greendao.DbUtils
- readAsset(Context, String) - Static method in class org.greenrobot.greendao.DbUtils
- readEntity(Cursor, int) - Method in class org.greenrobot.greendao.AbstractDao
-
Reads the values from the current position of the given cursor and returns a new entity.
- readEntity(Cursor, int) - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- readEntity(Cursor, T, int) - Method in class org.greenrobot.greendao.AbstractDao
-
Reads the values from the current position of the given cursor into an existing entity.
- readKey(Cursor, int) - Method in class org.greenrobot.greendao.AbstractDao
-
Reads the key from the current position of the given cursor, or returns null if there's no single-value key.
- readKey(Cursor, int) - Method in class org.greenrobot.greendao.InternalUnitTestDaoAccess
- referencedJoinProperty() - Method in annotation type org.greenrobot.greendao.annotation.ToMany
-
Name of the property inside the target entity which holds id of the source (current) entity Required unless no
JoinPropertyorJoinEntityis specified - referencedName() - Method in annotation type org.greenrobot.greendao.annotation.JoinProperty
-
Name of the property in the referencedName entity, which matches
JoinProperty.name() - refresh(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.refresh(Object). - refresh(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.refresh(Object). - refresh(T) - Method in class org.greenrobot.greendao.AbstractDao
-
Resets all locally changed properties of the entity by reloading the values from the database.
- refresh(T) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.refresh(Object). - refresh(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.refresh(Object)returning an Observable. - Refresh - org.greenrobot.greendao.async.AsyncOperation.OperationType
- registerContentObserver(ContentObserver) - Method in class org.greenrobot.greendao.internal.FastCursor
- registerDao(Class<T>, AbstractDao<T, ?>) - Method in class org.greenrobot.greendao.AbstractDaoSession
- registerDaoClass(Class<? extends AbstractDao<?, ?>>) - Method in class org.greenrobot.greendao.AbstractDaoMaster
- registerDataSetObserver(DataSetObserver) - Method in class org.greenrobot.greendao.internal.FastCursor
- remove() - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- remove(int) - Method in class org.greenrobot.greendao.query.LazyList
- remove(long) - Method in class org.greenrobot.greendao.internal.LongHashMap
- remove(Iterable<Long>) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- remove(Iterable<K>) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- remove(Iterable<K>) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- remove(Long) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- remove(Object) - Method in class org.greenrobot.greendao.query.LazyList
- remove(K) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- remove(K) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- removeAll(Collection<?>) - Method in class org.greenrobot.greendao.query.LazyList
- requery() - Method in class org.greenrobot.greendao.internal.FastCursor
- reserveRoom(int) - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- reserveRoom(int) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- reserveRoom(int) - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- reserveRoom(int) - Method in class org.greenrobot.greendao.internal.LongHashMap
-
Target load: 0,6
- respond(Bundle) - Method in class org.greenrobot.greendao.internal.FastCursor
- retainAll(Collection<?>) - Method in class org.greenrobot.greendao.query.LazyList
- run(Runnable) - Method in class org.greenrobot.greendao.rx.RxTransaction
-
Rx version of
AbstractDaoSession.runInTx(Runnable)returning an Observable. - runInTx(Runnable) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Run the given Runnable inside a database transaction.
- runInTx(Runnable) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDaoSession.runInTx(Runnable). - runInTx(Runnable, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDaoSession.runInTx(Runnable). - runLoadPkTest(int) - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- rx() - Method in class org.greenrobot.greendao.AbstractDao
-
The returned RxDao is a special DAO that let's you interact with Rx Observables using RX's IO scheduler for subscribeOn.
- rx() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Shorthand for
build().Query.__InternalRx(). - RxDao<T,K> - Class in org.greenrobot.greendao.rx
-
Like
AbstractDaobut with Rx support. - RxDao(AbstractDao<T, K>) - Constructor for class org.greenrobot.greendao.rx.RxDao
-
Creates a new RxDao without a default scheduler.
- RxDao(AbstractDao<T, K>, Scheduler) - Constructor for class org.greenrobot.greendao.rx.RxDao
-
Creates a new RxDao with a default scheduler, which is used to configure returned observables with
Observable.subscribeOn(Scheduler). - rxPlain() - Method in class org.greenrobot.greendao.AbstractDao
-
The returned RxDao is a special DAO that let's you interact with Rx Observables without any Scheduler set for subscribeOn.
- rxPlain() - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Shorthand for
build().Query.__internalRxPlain(). - RxQuery<T> - Class in org.greenrobot.greendao.rx
-
Gets
Queryresults in Rx fashion. - RxQuery(Query<T>) - Constructor for class org.greenrobot.greendao.rx.RxQuery
- RxQuery(Query<T>, Scheduler) - Constructor for class org.greenrobot.greendao.rx.RxQuery
- RxTransaction - Class in org.greenrobot.greendao.rx
-
Allows to do transactions using Rx Observable.
- RxTransaction(AbstractDaoSession) - Constructor for class org.greenrobot.greendao.rx.RxTransaction
- RxTransaction(AbstractDaoSession, Scheduler) - Constructor for class org.greenrobot.greendao.rx.RxTransaction
- rxTx() - Method in class org.greenrobot.greendao.AbstractDaoSession
-
The returned
RxTransactionallows DB transactions using Rx Observables using RX's IO scheduler for subscribeOn. - rxTxPlain() - Method in class org.greenrobot.greendao.AbstractDaoSession
-
The returned
RxTransactionallows DB transactions using Rx Observables without any Scheduler set for subscribeOn.
S
- safeInitCause(Throwable) - Method in exception org.greenrobot.greendao.DaoException
- save(T) - Method in class org.greenrobot.greendao.AbstractDao
-
"Saves" an entity to the database: depending on the existence of the key property, it will be inserted (key is null) or updated (key is not null).
- save(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.save(Object)returning an Observable. - saveInTx(Iterable<T>) - Method in class org.greenrobot.greendao.AbstractDao
-
Saves (see
AbstractDao.save(Object)) the given entities in the database using a transaction. - saveInTx(Iterable<T>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.saveInTx(Iterable)returning an Observable. - saveInTx(T...) - Method in class org.greenrobot.greendao.AbstractDao
-
Saves (see
AbstractDao.save(Object)) the given entities in the database using a transaction. - saveInTx(T...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.saveInTx(Object[])returning an Observable. - schema() - Method in annotation type org.greenrobot.greendao.annotation.Entity
-
Specifies schema name for the entity: greenDAO can generate independent sets of classes for each schema.
- schemaVersion - Variable in class org.greenrobot.greendao.AbstractDaoMaster
- session - Variable in class org.greenrobot.greendao.AbstractDao
- Session - org.greenrobot.greendao.identityscope.IdentityScopeType
- set(int, E) - Method in class org.greenrobot.greendao.query.LazyList
- set(E) - Method in class org.greenrobot.greendao.query.LazyList.LazyIterator
- setCapacity(int) - Method in class org.greenrobot.greendao.internal.LongHashMap
- setIdentityScope(IdentityScope<?, ?>) - Method in class org.greenrobot.greendao.internal.DaoConfig
- setIdentityScopeBeforeSetUp(IdentityScope<K, T>) - Method in class org.greenrobot.greendao.test.AbstractDaoTest
- setListener(AsyncOperationListener) - Method in class org.greenrobot.greendao.async.AsyncSession
- setListenerMainThread(AsyncOperationListener) - Method in class org.greenrobot.greendao.async.AsyncSession
- setLoadSQLCipherNativeLibs(boolean) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
-
Flag to load SQLCipher native libs (default: true).
- setMaxOperationCountToMerge(int) - Method in class org.greenrobot.greendao.async.AsyncSession
- setNotificationUri(ContentResolver, Uri) - Method in class org.greenrobot.greendao.internal.FastCursor
- setParameter(int, Boolean) - Method in class org.greenrobot.greendao.query.CountQuery
- setParameter(int, Boolean) - Method in class org.greenrobot.greendao.query.CursorQuery
- setParameter(int, Boolean) - Method in class org.greenrobot.greendao.query.DeleteQuery
- setParameter(int, Boolean) - Method in class org.greenrobot.greendao.query.Query
- setParameter(int, Object) - Method in class org.greenrobot.greendao.query.CountQuery
- setParameter(int, Object) - Method in class org.greenrobot.greendao.query.CursorQuery
- setParameter(int, Object) - Method in class org.greenrobot.greendao.query.DeleteQuery
- setParameter(int, Object) - Method in class org.greenrobot.greendao.query.Query
- setParameter(int, Date) - Method in class org.greenrobot.greendao.query.CountQuery
- setParameter(int, Date) - Method in class org.greenrobot.greendao.query.CursorQuery
- setParameter(int, Date) - Method in class org.greenrobot.greendao.query.DeleteQuery
- setParameter(int, Date) - Method in class org.greenrobot.greendao.query.Query
- setSessionFlags(int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
AsyncOperationflags set for all operations (will be ORed with call flags). - setThrowable(Throwable) - Method in class org.greenrobot.greendao.async.AsyncOperation
- setTransactionSuccessful() - Method in interface org.greenrobot.greendao.database.Database
- setTransactionSuccessful() - Method in class org.greenrobot.greendao.database.EncryptedDatabase
- setTransactionSuccessful() - Method in class org.greenrobot.greendao.database.StandardDatabase
- setUp() - Method in class org.greenrobot.greendao.test.AbstractDaoSessionTest
- setUp() - Method in class org.greenrobot.greendao.test.AbstractDaoTest
- setUp() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- setUp() - Method in class org.greenrobot.greendao.test.DbTest
- setUpTableForDao() - Method in class org.greenrobot.greendao.test.AbstractDaoTest
- setWaitForMergeMillis(int) - Method in class org.greenrobot.greendao.async.AsyncSession
- simpleQueryForLong() - Method in interface org.greenrobot.greendao.database.DatabaseStatement
- simpleQueryForLong() - Method in class org.greenrobot.greendao.database.EncryptedDatabaseStatement
- simpleQueryForLong() - Method in class org.greenrobot.greendao.database.StandardDatabaseStatement
- size() - Method in class org.greenrobot.greendao.internal.LongHashMap
- size() - Method in class org.greenrobot.greendao.query.LazyList
- sourceProperty() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Name of the property inside the join entity which holds id of the source (current) entity
- SqlUtils - Class in org.greenrobot.greendao.internal
-
Helper class to create SQL statements as used by greenDAO internally.
- SqlUtils() - Constructor for class org.greenrobot.greendao.internal.SqlUtils
- StandardDatabase - Class in org.greenrobot.greendao.database
- StandardDatabase(SQLiteDatabase) - Constructor for class org.greenrobot.greendao.database.StandardDatabase
- StandardDatabaseStatement - Class in org.greenrobot.greendao.database
- StandardDatabaseStatement(SQLiteStatement) - Constructor for class org.greenrobot.greendao.database.StandardDatabaseStatement
- startAsyncSession() - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Creates a new
AsyncSessionto issue asynchronous entity operations. - statements - Variable in class org.greenrobot.greendao.AbstractDao
- statements - Variable in class org.greenrobot.greendao.internal.DaoConfig
- string - Variable in class org.greenrobot.greendao.query.WhereCondition.StringCondition
- StringCondition(String) - Constructor for class org.greenrobot.greendao.query.WhereCondition.StringCondition
- StringCondition(String, Object) - Constructor for class org.greenrobot.greendao.query.WhereCondition.StringCondition
- StringCondition(String, Object...) - Constructor for class org.greenrobot.greendao.query.WhereCondition.StringCondition
- stringOrderCollation(String) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Customizes the ordering of strings used by
QueryBuilder.orderAsc(Property...)andQueryBuilder.orderDesc(Property...). - subList(int, int) - Method in class org.greenrobot.greendao.query.LazyList
T
- tablename - Variable in class org.greenrobot.greendao.internal.DaoConfig
- TableStatements - Class in org.greenrobot.greendao.internal
-
Helper class to create SQL statements for specific tables (used by greenDAO internally).
- TableStatements(Database, String, String[], String[]) - Constructor for class org.greenrobot.greendao.internal.TableStatements
- targetProperty() - Method in annotation type org.greenrobot.greendao.annotation.JoinEntity
-
Name of the property inside the join entity which holds id of the target entity
- tearDown() - Method in class org.greenrobot.greendao.test.DbTest
- terminateApplication() - Method in class org.greenrobot.greendao.test.DbTest
-
Terminates a previously created application.
- testAssignPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestLongPk
- testCount() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testDelete() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testDeleteAll() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testDeleteByKeyInTx() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testDeleteInTx() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testInsertAndLoad() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testInsertInTx() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testInsertOrReplaceInTx() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testInsertOrReplaceTwice() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testInsertTwice() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testLoadAll() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testLoadPk() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testLoadPkWithOffset() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testQuery() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testReadWithOffset() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testRowId() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testSave() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testSaveInTx() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- testUpdate() - Method in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
- toArray() - Method in class org.greenrobot.greendao.query.LazyList
- toArray(T[]) - Method in class org.greenrobot.greendao.query.LazyList
- toHex(byte[]) - Static method in class org.greenrobot.greendao.internal.SqlUtils
- ToMany - Annotation Type in org.greenrobot.greendao.annotation
-
Defines *-to-N relation
- ToOne - Annotation Type in org.greenrobot.greendao.annotation
-
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: -
Propertyto specify backing column name -Uniqueto put the unique constraint on backing column during table creation -NotNullto put the NOT NULL constraint on backing column during table creation - TransactionCallable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- TransactionRunnable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- Transient - Annotation Type in org.greenrobot.greendao.annotation
-
Transient fields are not persisted in the database.
- type - Variable in class org.greenrobot.greendao.Property
U
- unique() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Whether the unique constraint should be created with base on this index
- unique() - Method in class org.greenrobot.greendao.query.Query
-
Executes the query and returns the unique result or null.
- unique() - Method in class org.greenrobot.greendao.query.QueryBuilder
- unique() - Method in class org.greenrobot.greendao.rx.RxQuery
-
Rx version of
Query.unique()returning an Observable. - Unique - Annotation Type in org.greenrobot.greendao.annotation
-
Marks property should have a UNIQUE constraint during table creation.
- uniqueOrThrow() - Method in class org.greenrobot.greendao.query.Query
-
Executes the query and returns the unique result (never null).
- uniqueOrThrow() - Method in class org.greenrobot.greendao.query.QueryBuilder
- unlock() - Method in interface org.greenrobot.greendao.identityscope.IdentityScope
- unlock() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeLong
- unlock() - Method in class org.greenrobot.greendao.identityscope.IdentityScopeObject
- unregisterContentObserver(ContentObserver) - Method in class org.greenrobot.greendao.internal.FastCursor
- unregisterDataSetObserver(DataSetObserver) - Method in class org.greenrobot.greendao.internal.FastCursor
- update(Object) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.update(Object). - update(Object, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.update(Object). - update(T) - Method in class org.greenrobot.greendao.AbstractDao
- update(T) - Method in class org.greenrobot.greendao.AbstractDaoSession
-
Convenient call for
AbstractDao.update(Object). - update(T) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.update(Object)returning an Observable. - Update - org.greenrobot.greendao.async.AsyncOperation.OperationType
- updateInsideSynchronized(T, SQLiteStatement, boolean) - Method in class org.greenrobot.greendao.AbstractDao
- updateInsideSynchronized(T, DatabaseStatement, boolean) - Method in class org.greenrobot.greendao.AbstractDao
- updateInTx(Class<E>, int, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.updateInTx(Object...). - updateInTx(Class<E>, E...) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.updateInTx(Object...). - updateInTx(Class<E>, Iterable<E>) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.updateInTx(Iterable). - updateInTx(Class<E>, Iterable<E>, int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Asynchronous version of
AbstractDao.updateInTx(Iterable). - updateInTx(Iterable<T>) - Method in class org.greenrobot.greendao.AbstractDao
-
Updates the given entities in the database using a transaction.
- updateInTx(Iterable<T>) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.updateInTx(Iterable)returning an Observable. - updateInTx(T...) - Method in class org.greenrobot.greendao.AbstractDao
-
Updates the given entities in the database using a transaction.
- updateInTx(T...) - Method in class org.greenrobot.greendao.rx.RxDao
-
Rx version of
AbstractDao.updateInTx(Object[])returning an Observable. - UpdateInTxArray - org.greenrobot.greendao.async.AsyncOperation.OperationType
- UpdateInTxIterable - org.greenrobot.greendao.async.AsyncOperation.OperationType
- updateKeyAfterInsert(T, long) - Method in class org.greenrobot.greendao.AbstractDao
-
Updates the entity's key if possible (only for Long PKs currently).
- updateKeyAfterInsertAndAttach(T, long, boolean) - Method in class org.greenrobot.greendao.AbstractDao
- usedPks - Variable in class org.greenrobot.greendao.test.AbstractDaoTestSinglePk
V
- v(String) - Static method in class org.greenrobot.greendao.DaoLog
- v(String, Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- vacuum(Database) - Static method in class org.greenrobot.greendao.DbUtils
- value - Variable in class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- value() - Method in annotation type org.greenrobot.greendao.annotation.Index
-
Comma-separated list of properties that should be indexed, e.g.
- value() - Method in annotation type org.greenrobot.greendao.annotation.OrderBy
-
Comma-separated list of properties, e.g.
- valueOf(String) - Static method in enum org.greenrobot.greendao.async.AsyncOperation.OperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.greenrobot.greendao.identityscope.IdentityScopeType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.greenrobot.greendao.query.WhereCondition.AbstractCondition
- values() - Static method in enum org.greenrobot.greendao.async.AsyncOperation.OperationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.greenrobot.greendao.identityscope.IdentityScopeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE - Static variable in class org.greenrobot.greendao.DaoLog
W
- w(String) - Static method in class org.greenrobot.greendao.DaoLog
- w(String, Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- w(Throwable) - Static method in class org.greenrobot.greendao.DaoLog
- waitForCompletion() - Method in class org.greenrobot.greendao.async.AsyncOperation
-
Waits until the operation is complete.
- waitForCompletion() - Method in class org.greenrobot.greendao.async.AsyncSession
-
Waits until all enqueued operations are complete.
- waitForCompletion(int) - Method in class org.greenrobot.greendao.async.AsyncOperation
-
Waits until the operation is complete, but at most the given amount of milliseconds.If the thread gets interrupted, any
InterruptedExceptionwill be rethrown as aDaoException. - waitForCompletion(int) - Method in class org.greenrobot.greendao.async.AsyncSession
-
Waits until all enqueued operations are complete, but at most the given amount of milliseconds.
- WARN - Static variable in class org.greenrobot.greendao.DaoLog
- where(WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.Join
-
Adds the given conditions to the where clause using an logical AND.
- where(WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given conditions to the where clause using an logical AND.
- WhereCondition - Interface in org.greenrobot.greendao.query
-
Internal interface to model WHERE conditions used in queries.
- WhereCondition.AbstractCondition - Class in org.greenrobot.greendao.query
- WhereCondition.PropertyCondition - Class in org.greenrobot.greendao.query
- WhereCondition.StringCondition - Class in org.greenrobot.greendao.query
- whereOr(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.Join
-
Adds the given conditions to the where clause using an logical OR.
- whereOr(WhereCondition, WhereCondition, WhereCondition...) - Method in class org.greenrobot.greendao.query.QueryBuilder
-
Adds the given conditions to the where clause using an logical OR.
- wrap(SQLiteDatabase) - Method in class org.greenrobot.greendao.database.DatabaseOpenHelper
_
- __InternalRx() - Method in class org.greenrobot.greendao.query.Query
-
DO NOT USE.
- __internalRxPlain() - Method in class org.greenrobot.greendao.query.Query
-
DO NOT USE.
All Classes All Packages