A B C D E F G H I J L M N O P Q R S T U W 

A

and(Predicate) - Method in class android.lib.database.predicate.Predicate
 
android.lib.database - package android.lib.database
 
android.lib.database.predicate - package android.lib.database.predicate
 
android.lib.database.query - package android.lib.database.query
 
average(String, String) - Method in class android.lib.database.query.Select
Adds the average value of the given column to include in the query results and specifies a name for it in the query output.

B

beginTransaction() - Method in class android.lib.database.Database
Starts a new transaction.
between(Object, Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for between(Object, Object, Object, false, true, true).
between(Object, Object, Object, boolean, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
build() - Method in class android.lib.database.query.Delete
Builds a SQL statement and abstracts it in a Query object ready for execution.
build() - Method in class android.lib.database.query.Insert
Builds a SQL statement and abstracts it in a Query object ready for execution.
build() - Method in class android.lib.database.query.QueryBuilder
Builds a SQL statement and abstracts it in a Query object ready for execution.
build() - Method in class android.lib.database.query.Select
Builds a SQL statement and abstracts it in a Query object ready for execution.
build() - Method in class android.lib.database.query.Update
Builds a SQL statement and abstracts it in a Query object ready for execution.

C

clazz - Variable in class android.lib.database.RowMapper
 
close() - Method in class android.lib.database.Database
Closes the database, and abort any uncommitted changes.
Column - Annotation Type in android.lib.database
Marks a field as a table column.
column(String, String) - Method in class android.lib.database.query.Select
Adds the given column to include in the query results and specifies a name for the column in the query output.
columns() - Method in class android.lib.database.query.Select
Adds all columns (*) to include in the query results.
columns(String...) - Method in class android.lib.database.query.Select
Adds the given columns to include in the query results.
commit() - Method in class android.lib.database.Database
Persists any uncommitted changes to the database.
CompositeIndex - Annotation Type in android.lib.database
Marks a field as part of a composite index.
count(String, String) - Method in class android.lib.database.query.Select
Adds the count of the number of times the given column that is not NULL in a group to include in the query results and specifies a name for it in the query output.
count(String) - Method in class android.lib.database.query.Select
Adds the total number of rows to include in the query results and specifies a name for it in the query output.
createTables(Context, Class<?>...) - Static method in class android.lib.database.Database
Creates database tables/columns/indices.

D

Database - Class in android.lib.database
Provides database abstraction layer APIs to handle SQLite operations: SELECT, UPDATE, INSERT, DELETE.
Database(SQLiteDatabase) - Constructor for class android.lib.database.Database
 
Database(Context, String, int, Class<?>...) - Constructor for class android.lib.database.Database
Creates a new instance of Database with the given context, name, version.
Database(Context, String, Class<?>...) - Constructor for class android.lib.database.Database
Creates a new instance of Database with the given context, name.
Database(Context, int, Class<?>...) - Constructor for class android.lib.database.Database
Creates a new instance of Database with the given context, version.
Database(Context, Class<?>...) - Constructor for class android.lib.database.Database
Creates a new instance of Database with the given context.
DatabaseOpenHelper - Class in android.lib.database
Handles database table creation.
DatabaseOpenHelper(Context, String, int, Class<?>...) - Constructor for class android.lib.database.DatabaseOpenHelper
Creates a new instance of DatabaseOpenHelper by invoking its super-class SQLiteOpenHelper, and optionally stores the given tables for database table creation when DatabaseOpenHelper.onCreate(SQLiteDatabase) is called.
DateConverter - Class in android.lib.database
 
DateConverter() - Constructor for class android.lib.database.DateConverter
 
Delete - Class in android.lib.database.query
Provides methods for building SQLite DELETE queries.
Delete() - Constructor for class android.lib.database.query.Delete
 
delete() - Static method in class android.lib.database.query.Query
 
deleteById(Class<T>, String, int) - Method in class android.lib.database.Database
Execute SQL DELETE statement against the database and deletes any rows with the matching id value.
distinct() - Method in class android.lib.database.query.Select
Excludes duplicates of any rows from the query results.

E

equalTo(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for equalTo(Object, Object, false, true).
equalTo(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
execute(Query, RowMapper<T>) - Method in class android.lib.database.Database
Executes a Query of type Select against the database and returns a list of object of type T using the given RowMapper.
execute(Query) - Method in class android.lib.database.Database
Executes a Query of type Update, Insert or Delete against the database.

F

from(Class<?>) - Method in class android.lib.database.query.Delete
Specifies the table containing the data that the query deletes from.
from(String) - Method in class android.lib.database.query.Delete
Specifies the table containing the data that the query deletes from.
from(Class<?>, String) - Method in class android.lib.database.query.Delete
Specifies the table containing the data that the query deletes from.
from(String, String) - Method in class android.lib.database.query.Delete
Specifies the table containing the data that the query deletes from.
from(Class<?>...) - Method in class android.lib.database.query.Select
Specifies one or more tables containing the data that the query retrieves from.
from(String...) - Method in class android.lib.database.query.Select
Specifies one or more tables containing the data that the query retrieves from.
from(Class<?>, String) - Method in class android.lib.database.query.Select
Specifies one or more tables containing the data that the query retrieves from.
from(String, String) - Method in class android.lib.database.query.Select
Specifies one or more tables containing the data that the query retrieves from.
fromDatabase(Long) - Method in class android.lib.database.DateConverter
 
fromDatabase(F) - Method in interface android.lib.database.TypeConverter
Converts value of SQLite-compatible type F to type T.

G

getParameters() - Method in class android.lib.database.predicate.Predicate
 
getParameters() - Method in class android.lib.database.query.Query
 
getRawSQL() - Method in class android.lib.database.query.Query
 
getTableName(Class<?>) - Static method in class android.lib.database.query.QueryBuilder
Returns the name of the table by either its annotated table name or Class.getSimpleName().
greaterThan(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for greaterThan(Object, Object, false, true).
greaterThan(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
greaterThanOrEqualTo(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for greaterThanOrEqualTo(Object, Object, false, true).
greaterThanOrEqualTo(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
groupBy(String...) - Method in class android.lib.database.query.Select
Specifies one or more columns used to group rows returned by the

H

having(Predicate) - Method in class android.lib.database.query.Select
Specifies the conditions that determines the groups included in the query result set.

I

in(Object, Object...) - Static method in class android.lib.database.predicate.Predicate
A short-hand for in(Object, false, Object...).
in(Object, boolean, Object...) - Static method in class android.lib.database.predicate.Predicate
 
Index - Annotation Type in android.lib.database
Marks a field as indexed.
insert(T) - Method in class android.lib.database.Database
Executes SQL INSERT statement against the database.
Insert - Class in android.lib.database.query
Provides methods for building SQLite INSERT queries.
Insert() - Constructor for class android.lib.database.query.Insert
 
insert() - Static method in class android.lib.database.query.Query
 
into(Class<?>) - Method in class android.lib.database.query.Insert
Specifies the table that the query inserts into.
into(String) - Method in class android.lib.database.query.Insert
Specifies the table that the query inserts into.
isNotNull(Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for isNotNull(Object, false).
isNotNull(Object, boolean) - Static method in class android.lib.database.predicate.Predicate
 
isNull(Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for isNull(Object, false).
isNull(Object, boolean) - Static method in class android.lib.database.predicate.Predicate
 

J

join(Class<?>, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only rows from the given table that match one ore more rows in other tables.
join(String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only rows from the given table that match one ore more rows in other tables.
join(Class<?>, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only rows from the given table that match one ore more rows in other tables.
join(String, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only rows from the given table that match one ore more rows in other tables.
JSONRowMapper<T> - Class in android.lib.database
Maps a Cursor or a JSONObject object to an instance of T.
JSONRowMapper(Class<T>) - Constructor for class android.lib.database.JSONRowMapper
Creates a new instance of RowMapper with the given class type.

L

leftJoin(Class<?>, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain all rows from the tables before and only matching rows from the given table.
leftJoin(String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain all rows from the tables before and only matching rows from the given table.
leftJoin(Class<?>, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain all rows from the tables before and only matching rows from the given table.
leftJoin(String, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain all rows from the tables before and only matching rows from the given table.
lessThan(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for lessThan(Object, Object, false, true).
lessThan(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
lessThanOrEqualTo(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for lessThanOrEqualTo(Object, Object, false, true).
lessThanOrEqualTo(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 
like(Object, String) - Static method in class android.lib.database.predicate.Predicate
A short-hand for like(Object, false, String).
like(Object, boolean, String) - Static method in class android.lib.database.predicate.Predicate
 
limit(int) - Method in class android.lib.database.query.Select
Specifies an upper bound on the number of rows returned by the

M

mapRow(JSONObject) - Method in class android.lib.database.JSONRowMapper
Maps a JSONObject object to an instance of T.
mapRow(Cursor) - Method in class android.lib.database.RowMapper
Maps a Cursor to an instance of T.
max(String, String) - Method in class android.lib.database.query.Select
Adds the maximum value of the given column to include in the query results and specifies a name for it in the query output.
min(String, String) - Method in class android.lib.database.query.Select
Adds the minimum value of the given column to include in the query results and specifies a name for it in the query output.

N

newInstance(Context, String, int, Class<?>...) - Static method in class android.lib.database.Database
Creates a new instance of Database with the given context, name, version.
newInstance(Context, String, Class<?>...) - Static method in class android.lib.database.Database
Creates a new instance of Database with the given context, name.
newInstance(Context, int, Class<?>...) - Static method in class android.lib.database.Database
Creates a new instance of Database with the given context, version.
newInstance(Context, Class<?>...) - Static method in class android.lib.database.Database
Creates a new instance of Database with the given context.
newInstance(Context, String, int, Class<?>...) - Static method in class android.lib.database.DatabaseOpenHelper
Creates a new instance of DatabaseOpenHelper with the given name and version.
newInstance(Context, int, Class<?>...) - Static method in class android.lib.database.DatabaseOpenHelper
Creates a new instance of DatabaseOpenHelper with the given version.
newInstance(Context, String, Class<?>...) - Static method in class android.lib.database.DatabaseOpenHelper
Creates a new instance of DatabaseOpenHelper with the given name.
newInstance(Context, Class<?>...) - Static method in class android.lib.database.DatabaseOpenHelper
Creates a new instance of DatabaseOpenHelper.
notEqualTo(Object, Object) - Static method in class android.lib.database.predicate.Predicate
A short-hand for notEqualTo(Object, Object, false, true).
notEqualTo(Object, Object, boolean, boolean) - Static method in class android.lib.database.predicate.Predicate
 

O

offset(int) - Method in class android.lib.database.query.Select
Omits the first offset rows from the query result set.
onCreate(SQLiteDatabase) - Method in class android.lib.database.DatabaseOpenHelper
 
onUpgrade(SQLiteDatabase, int, int) - Method in class android.lib.database.DatabaseOpenHelper
 
or(Predicate) - Method in class android.lib.database.predicate.Predicate
 
orderBy(String...) - Method in class android.lib.database.query.Select
Specifies one or more items used to sort the final query result set and the order for sorting the results.
orderBy(String, boolean) - Method in class android.lib.database.query.Select
Specifies one or more items used to sort the final query result set and the order for sorting the results.

P

PARAMETER - Static variable in class android.lib.database.predicate.Predicate
 
Predicate - Class in android.lib.database.predicate
Specifies the filter conditions that records must meet to be included in the query results.
Predicate(String, Object, boolean) - Constructor for class android.lib.database.predicate.Predicate
 
Predicate(String, List<Object>) - Constructor for class android.lib.database.predicate.Predicate
 

Q

Query - Class in android.lib.database.query
A SQL abstraction layer for building SQLite SQL queries via a object-oriented API.
Query(String, Object...) - Constructor for class android.lib.database.query.Query
 
Query(String, List<Object>) - Constructor for class android.lib.database.query.Query
 
Query() - Constructor for class android.lib.database.query.Query
 
QueryBuilder - Class in android.lib.database.query
 
QueryBuilder() - Constructor for class android.lib.database.query.QueryBuilder
 

R

rawSQL - Variable in class android.lib.database.query.Query
 
rightJoin(Class<?>, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only matching rows from the given table and all rows from the tables before.
rightJoin(String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only matching rows from the given table and all rows from the tables before.
rightJoin(Class<?>, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only matching rows from the given table and all rows from the tables before.
rightJoin(String, String, Predicate) - Method in class android.lib.database.query.Select
Filters query results that contain only matching rows from the given table and all rows from the tables before.
rollback() - Method in class android.lib.database.Database
Rolls back any uncommitted changes of the database.
RowMapper<T> - Class in android.lib.database
Maps a Cursor to an instance of T.
RowMapper(Class<T>) - Constructor for class android.lib.database.RowMapper
Creates a new instance of RowMapper with the given class type.

S

select() - Static method in class android.lib.database.query.Query
 
Select - Class in android.lib.database.query
Provides methods for building SQLite SELECT queries.
Select() - Constructor for class android.lib.database.query.Select
 
selectById(Class<T>, String, int) - Method in class android.lib.database.Database
Execute SQL SELECT statement against the database and returns the row matching the given id, or null if there is no matching row.
set(String, Object) - Method in class android.lib.database.query.Insert
Sets the column with the given value.
set(String, Object) - Method in class android.lib.database.query.Update
Sets the column with the given value.
set(String, Object, boolean) - Method in class android.lib.database.query.Update
 
sum(String, String) - Method in class android.lib.database.query.Select
Adds the total value of the given column to include in the query results and specifies a name for it in the query output.

T

table(Class<?>) - Method in class android.lib.database.query.Update
Specifies the table that the query updates to.
table(String) - Method in class android.lib.database.query.Update
Specifies the table that the query updates to.
table(Class<?>, String) - Method in class android.lib.database.query.Update
Specifies the table that the query updates to.
table(String, String) - Method in class android.lib.database.query.Update
Specifies the table that the query updates to.
Table - Annotation Type in android.lib.database
Marks a class as a database table.
tables - Variable in class android.lib.database.DatabaseOpenHelper
The tables of the database to create in DatabaseOpenHelper.onCreate(SQLiteDatabase).
toDatabase(Date) - Method in class android.lib.database.DateConverter
 
toDatabase(T) - Method in interface android.lib.database.TypeConverter
Converts value of type T to type F that is SQLite-compatible.
toString() - Method in class android.lib.database.predicate.Predicate
 
TypeConverter<F,T> - Interface in android.lib.database
Converts a value of a type to another type.

U

UniqueCompositeIndex - Annotation Type in android.lib.database
Marks a field as part of an unique composite index.
UnsupportedTypeException - Exception in android.lib.database
 
UnsupportedTypeException() - Constructor for exception android.lib.database.UnsupportedTypeException
 
UnsupportedTypeException(String) - Constructor for exception android.lib.database.UnsupportedTypeException
 
UnsupportedTypeException(Throwable) - Constructor for exception android.lib.database.UnsupportedTypeException
 
UnsupportedTypeException(String, Throwable) - Constructor for exception android.lib.database.UnsupportedTypeException
 
update() - Static method in class android.lib.database.query.Query
 
Update - Class in android.lib.database.query
Provides methods for building SQLite UPDATE queries.
Update() - Constructor for class android.lib.database.query.Update
 
UseConverter - Annotation Type in android.lib.database
Specifies a TypeConverter to convert the value of a field to and from its underlying value in the database.

W

where(Predicate) - Method in class android.lib.database.query.Delete
Specifies filter conditions that determine the rows to delete.
where(Predicate) - Method in class android.lib.database.query.Select
Specifies filter conditions that determine the rows that the query returns.
where(Predicate) - Method in class android.lib.database.query.Update
Specifies filter conditions that determine the rows to update.
A B C D E F G H I J L M N O P Q R S T U W