Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W _ 

A

AdapterHolder - Interface in ollie.internal
Used internally to hold mapping information.
AutoIncrement - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the AUTOINCREMENT constraint.

B

BooleanAdapter - Class in ollie.adapter
Converts Java Boolean values to SQLite INTEGER values.
BooleanAdapter() - Constructor for class ollie.adapter.BooleanAdapter
 
Builder(Context) - Constructor for class ollie.Ollie.Builder
 

C

CalendarAdapter - Class in ollie.adapter
Converts Java Calendar values to SQLite INTEGER values.
CalendarAdapter() - Constructor for class ollie.adapter.CalendarAdapter
 
Check - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the CHECK constraint.
Collate - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the COLLATE constraint.
Collate.CollatingSequence - Enum in ollie.annotation
When SQLite compares two strings, it uses a collating sequence or collating function (two words for the same thing) to determine which string is greater or if the two strings are equal.
Column - Annotation Type in ollie.annotation
An annotation that indicates a member is a table column.
Columns(Query, Class<T>, String[]) - Constructor for class ollie.query.Insert.Columns
 
columns(String...) - Method in class ollie.query.Insert.Into
 
columns(String...) - Static method in class ollie.query.Select
 
Columns(Query, Class<T>, String[]) - Constructor for class ollie.query.Select.Columns
 
compareTo(Migration) - Method in class ollie.Migration
 
ConflictClause - Enum in ollie.annotation
An annotation that indicates a constraint should use a specified behavior upon encountering a conflict.
createUri(Class<? extends Model>) - Static method in class ollie.OllieProvider
Create a Uri for a model table.
createUri(Class<? extends Model>, Long) - Static method in class ollie.OllieProvider
Create a Uri for a model row.
crossJoin(Class<E>) - Method in class ollie.query.Select.From
 

D

Default - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the DEFAULT constraint and a default value.
DEFAULT_CACHE_SIZE - Static variable in class ollie.Ollie
 
delete(T, SQLiteDatabase) - Method in class ollie.internal.ModelAdapter
 
delete() - Method in class ollie.Model
Delete the record from the database.
delete(Uri, String, String[]) - Method in class ollie.OllieProvider
 
Delete - Class in ollie.query
 
Delete.From<T extends Model> - Class in ollie.query
 
Delete.Limit<T extends Model> - Class in ollie.query
 
Delete.Offset<T extends Model> - Class in ollie.query
 
Delete.OrderBy<T extends Model> - Class in ollie.query
 
Delete.Where<T extends Model> - Class in ollie.query
 
deserialize(Integer) - Method in class ollie.adapter.BooleanAdapter
Converts the SQLite value to the Java representation of that value.
deserialize(Long) - Method in class ollie.adapter.CalendarAdapter
Converts the SQLite value to the Java representation of that value.
deserialize(Long) - Method in class ollie.adapter.SqlDateAdapter
Converts the SQLite value to the Java representation of that value.
deserialize(Long) - Method in class ollie.adapter.UtilDateAdapter
Converts the SQLite value to the Java representation of that value.
deserialize(S) - Method in class ollie.TypeAdapter
Converts the SQLite value to the Java representation of that value.

E

equals(Object) - Method in class ollie.Model
 
execSQL(String) - Static method in class ollie.util.QueryUtils
 
execSQL(String, String[]) - Static method in class ollie.util.QueryUtils
 
ExecutableQuery - Interface in ollie.query
 
ExecutableQueryBase<T extends Model> - Class in ollie.query
 
ExecutableQueryBase(Query, Class<T>) - Constructor for class ollie.query.ExecutableQueryBase
 
execute() - Method in interface ollie.query.ExecutableQuery
 
execute() - Method in class ollie.query.ExecutableQueryBase
 

F

fetch() - Method in interface ollie.query.ResultQuery
 
fetch() - Method in class ollie.query.ResultQueryBase
 
fetchSingle() - Method in interface ollie.query.ResultQuery
 
fetchSingle() - Method in class ollie.query.ResultQueryBase
 
fetchValue(Class<E>) - Method in interface ollie.query.ResultQuery
 
fetchValue(Class<E>) - Method in class ollie.query.ResultQueryBase
 
find(Class<T>, Long) - Static method in class ollie.Model
Find a record by id.
ForeignKey - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the FOREIGN KEY constraint.
ForeignKey.Deferrable - Enum in ollie.annotation
If a statement modifies the contents of the database so that an immediate foreign key constraint is in violation at the conclusion the statement, an exception is thrown and the effects of the statement are reverted .
ForeignKey.DeferrableTiming - Enum in ollie.annotation
 
ForeignKey.ReferentialAction - Enum in ollie.annotation
Perform an action on referenced rows on update and delete.
from(Class<T>) - Static method in class ollie.query.Delete
 
from(Class<T>) - Method in class ollie.query.Select.Columns
 
from(Class<T>) - Static method in class ollie.query.Select
 

G

getArgs() - Method in interface ollie.query.Query
 
getArgs() - Method in class ollie.query.QueryBase
 
getAuthority() - Method in class ollie.OllieProvider
Returns the package name as the default Uri authority.
getCacheSize() - Method in class ollie.OllieProvider
Returns the default cache size.
getContext() - Static method in class ollie.Ollie
 
getDatabase() - Static method in class ollie.Ollie
 
getDatabaseName() - Method in class ollie.OllieProvider
Returns the database name.
getDatabaseVersion() - Method in class ollie.OllieProvider
Returns the database version.
getKeyword() - Method in enum ollie.query.Select.Join.Type
 
getLogLevel() - Method in class ollie.OllieProvider
Returns the default log level of NONE.
getMigrations() - Method in interface ollie.internal.AdapterHolder
 
getModelAdapter(Class<? extends Model>) - Method in interface ollie.internal.AdapterHolder
 
getModelAdapters() - Method in interface ollie.internal.AdapterHolder
 
getModelType() - Method in class ollie.internal.ModelAdapter
 
getPartArgs() - Method in class ollie.query.Delete.Where
 
getPartArgs() - Method in class ollie.query.Insert.Values
 
getPartArgs() - Method in class ollie.query.QueryBase
 
getPartArgs() - Method in class ollie.query.Select.Where
 
getPartArgs() - Method in class ollie.query.Update.Set
 
getPartArgs() - Method in class ollie.query.Update.Where
 
getPartSql() - Method in class ollie.query.Delete.From
 
getPartSql() - Method in class ollie.query.Delete
 
getPartSql() - Method in class ollie.query.Delete.Limit
 
getPartSql() - Method in class ollie.query.Delete.Offset
 
getPartSql() - Method in class ollie.query.Delete.OrderBy
 
getPartSql() - Method in class ollie.query.Delete.Where
 
getPartSql() - Method in class ollie.query.Insert.Columns
 
getPartSql() - Method in class ollie.query.Insert
 
getPartSql() - Method in class ollie.query.Insert.Into
 
getPartSql() - Method in class ollie.query.Insert.Values
 
getPartSql() - Method in class ollie.query.QueryBase
 
getPartSql() - Method in class ollie.query.Select.Columns
 
getPartSql() - Method in class ollie.query.Select.From
 
getPartSql() - Method in class ollie.query.Select
 
getPartSql() - Method in class ollie.query.Select.GroupBy
 
getPartSql() - Method in class ollie.query.Select.Having
 
getPartSql() - Method in class ollie.query.Select.Join
 
getPartSql() - Method in class ollie.query.Select.Limit
 
getPartSql() - Method in class ollie.query.Select.Offset
 
getPartSql() - Method in class ollie.query.Select.OrderBy
 
getPartSql() - Method in class ollie.query.Select.Where
 
getPartSql() - Method in class ollie.query.Update
 
getPartSql() - Method in class ollie.query.Update.Set
 
getPartSql() - Method in class ollie.query.Update.Table
 
getPartSql() - Method in class ollie.query.Update.Where
 
getSchema() - Method in class ollie.internal.ModelAdapter
 
getSql() - Method in interface ollie.query.Query
 
getSql() - Method in class ollie.query.QueryBase
 
getStatements() - Method in class ollie.Migration
Returns the SQL statements which are to be executed in order to perform this migration.
getTableName() - Method in class ollie.internal.ModelAdapter
 
getTableName(Class<T>) - Static method in class ollie.Ollie
 
getType(Uri) - Method in class ollie.OllieProvider
 
getTypeAdapter(Class<D>) - Method in interface ollie.internal.AdapterHolder
 
getVersion() - Method in class ollie.Migration
Returns the database version for which to apply this migration.
groupBy(String) - Method in class ollie.query.Select.From
 
groupBy() - Method in class ollie.query.Select.Where
 

H

hashCode() - Method in class ollie.Model
 
having(String) - Method in class ollie.query.Select.GroupBy
 

I

id - Variable in class ollie.Model
 
IMPL_CLASS_FQCN - Static variable in interface ollie.internal.AdapterHolder
 
IMPL_CLASS_NAME - Static variable in interface ollie.internal.AdapterHolder
 
IMPL_CLASS_PACKAGE - Static variable in interface ollie.internal.AdapterHolder
 
init() - Method in class ollie.Ollie.Builder
 
init(Context, String, int) - Static method in class ollie.Ollie
Initialize the database.
init(Context, String, int, int) - Static method in class ollie.Ollie
Initialize the database.
init(Context, String, int, Ollie.LogLevel) - Static method in class ollie.Ollie
Initialize the database.
init(Context, String, int, int, Ollie.LogLevel) - Static method in class ollie.Ollie
Initialize the database.
innerJoin(Class<E>) - Method in class ollie.query.Select.From
 
insert(Uri, ContentValues) - Method in class ollie.OllieProvider
 
Insert - Class in ollie.query
 
Insert.Columns<T extends Model> - Class in ollie.query
 
Insert.Into<T extends Model> - Class in ollie.query
 
Insert.Values<T extends Model> - Class in ollie.query
 
insertOrUpdate(T, SQLiteDatabase, ContentValues) - Method in class ollie.internal.ModelAdapter
 
into(Class<T>) - Static method in class ollie.query.Insert
 
isImplemented() - Static method in class ollie.OllieProvider
Returns whether the provider has been implemented.

J

join(Class<E>) - Method in class ollie.query.Select.From
 

K

keyword() - Method in enum ollie.annotation.Collate.CollatingSequence
 
keyword() - Method in enum ollie.annotation.ConflictClause
Returns a keyword string for the conflict clause.
keyword() - Method in enum ollie.annotation.ForeignKey.Deferrable
Returns a keyword string for the deferrable behavior.
keyword() - Method in enum ollie.annotation.ForeignKey.DeferrableTiming
Returns a keyword string for the deferrable timing.
keyword() - Method in enum ollie.annotation.ForeignKey.ReferentialAction
Returns a keyword string for the referential action.

L

leftJoin(Class<E>) - Method in class ollie.query.Select.From
 
leftOuterJoin(Class<E>) - Method in class ollie.query.Select.From
 
limit(String) - Method in class ollie.query.Delete.OrderBy
 
limit(String) - Method in class ollie.query.Delete.Where
 
limit(String) - Method in class ollie.query.Select.From
 
limit(String) - Method in class ollie.query.Select.GroupBy
 
limit(String) - Method in class ollie.query.Select.Having
 
limit(String) - Method in class ollie.query.Select.OrderBy
 
limit(String) - Method in class ollie.query.Select.Where
 
load(T, Cursor) - Method in class ollie.internal.ModelAdapter
 
load(Cursor) - Method in class ollie.Model
Load this objects values from a cursor.
log(Ollie.LogLevel) - Method in enum ollie.Ollie.LogLevel
 

M

MalformedQueryException(String) - Constructor for exception ollie.query.Query.MalformedQueryException
 
Migration - Annotation Type in ollie.internal
Used internally to discover migrations.
Migration - Class in ollie
Migrations execute SQL statements when upgrading from one database version to another.
Migration() - Constructor for class ollie.Migration
 
Model - Class in ollie
A Model represents a single table record and uses annotations to define the table's schema.
Model() - Constructor for class ollie.Model
 
ModelAdapter<T extends Model> - Class in ollie.internal
Used internally to perform database operations on a model.
ModelAdapter() - Constructor for class ollie.internal.ModelAdapter
 
mParent - Variable in class ollie.query.QueryBase
 
mTable - Variable in class ollie.query.QueryBase
 

N

naturalCrossJoin(Class<E>) - Method in class ollie.query.Select.From
 
naturalInnerJoin(Class<E>) - Method in class ollie.query.Select.From
 
naturalJoin(Class<E>) - Method in class ollie.query.Select.From
 
naturalLeftJoin(Class<E>) - Method in class ollie.query.Select.From
 
naturalLeftOuterJoin(Class<E>) - Method in class ollie.query.Select.From
 
NotNull - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the NOT NULL constraint.

O

observable() - Method in interface ollie.query.ResultQuery
 
observable() - Method in class ollie.query.ResultQueryBase
 
observableSingle() - Method in interface ollie.query.ResultQuery
 
observableSingle() - Method in class ollie.query.ResultQueryBase
 
observableValue(Class<E>) - Method in interface ollie.query.ResultQuery
 
observableValue(Class<E>) - Method in class ollie.query.ResultQueryBase
 
offset(String) - Method in class ollie.query.Delete.Limit
 
offset(String) - Method in class ollie.query.Select.Limit
 
ollie - package ollie
 
Ollie - Class in ollie
 
ollie.adapter - package ollie.adapter
 
ollie.annotation - package ollie.annotation
 
Ollie.Builder - Class in ollie
 
ollie.internal - package ollie.internal
 
Ollie.LogLevel - Enum in ollie
Controls the level of logging.
ollie.query - package ollie.query
 
ollie.util - package ollie.util
 
OllieProvider - Class in ollie
Default implementation of a ContentProvider.
OllieProvider() - Constructor for class ollie.OllieProvider
 
on(String) - Method in class ollie.query.Select.Join
 
onCreate() - Method in class ollie.OllieProvider
 
orderBy(String) - Method in class ollie.query.Delete.Where
 
orderBy(String) - Method in class ollie.query.Select.From
 
orderBy(String) - Method in class ollie.query.Select.GroupBy
 
orderBy(String) - Method in class ollie.query.Select.Having
 
orderBy(String) - Method in class ollie.query.Select.Where
 

P

PrimaryKey - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the PRIMARY KEY constraint.
processAndCloseCursor(Class<T>, Cursor) - Static method in class ollie.Ollie
Iterate over a cursor and load entities.
processCursor(Class<T>, Cursor) - Static method in class ollie.Ollie
Iterate over a cursor and load entities.

Q

query(Uri, String[], String, String[], String) - Method in class ollie.OllieProvider
 
Query - Interface in ollie.query
 
query(Class<T>, boolean, String[], String, String[], String, String, String, String) - Static method in class ollie.util.QueryUtils
 
query(Class<T>, boolean, String[], String, String[], String, String, String, String, CancellationSignal) - Static method in class ollie.util.QueryUtils
 
query(Class<T>, String[], String, String[], String, String, String) - Static method in class ollie.util.QueryUtils
 
query(Class<T>, String[], String, String[], String, String, String, String) - Static method in class ollie.util.QueryUtils
 
Query.MalformedQueryException - Exception in ollie.query
 
QueryBase<T extends Model> - Class in ollie.query
 
QueryBase(Query, Class<T>) - Constructor for class ollie.query.QueryBase
 
QueryUtils - Class in ollie.util
Utility class for interacting with the database using SQLiteDatabase methods.
QueryUtils() - Constructor for class ollie.util.QueryUtils
 
queryWithFactory(Class<T>, SQLiteDatabase.CursorFactory, boolean, String[], String, String[], String, String, String, String) - Static method in class ollie.util.QueryUtils
 
queryWithFactory(Class<T>, SQLiteDatabase.CursorFactory, boolean, String[], String, String[], String, String, String, String, CancellationSignal) - Static method in class ollie.util.QueryUtils
 

R

rawQuery(Class<T>, String, String[]) - Static method in class ollie.util.QueryUtils
 
rawQuery(Class<T>, String, String[], CancellationSignal) - Static method in class ollie.util.QueryUtils
 
rawQueryWithFactory(Class<T>, SQLiteDatabase.CursorFactory, String, String[], String) - Static method in class ollie.util.QueryUtils
 
rawQueryWithFactory(Class<T>, SQLiteDatabase.CursorFactory, String, String[], String, CancellationSignal) - Static method in class ollie.util.QueryUtils
 
ResultQuery<T extends Model> - Interface in ollie.query
 
ResultQueryBase<T extends Model> - Class in ollie.query
 
ResultQueryBase(Query, Class<T>) - Constructor for class ollie.query.ResultQueryBase
 

S

save(T, SQLiteDatabase) - Method in class ollie.internal.ModelAdapter
 
save() - Method in class ollie.Model
Persist the record to the database.
Select<T extends Model> - Class in ollie.query
 
Select.Columns<T extends Model> - Class in ollie.query
 
Select.From<T extends Model> - Class in ollie.query
 
Select.GroupBy<T extends Model> - Class in ollie.query
 
Select.Having<T extends Model> - Class in ollie.query
 
Select.Join<P extends Model,T extends Model> - Class in ollie.query
 
Select.Join.Type - Enum in ollie.query
 
Select.Limit<T extends Model> - Class in ollie.query
 
Select.Offset<T extends Model> - Class in ollie.query
 
Select.OrderBy<T extends Model> - Class in ollie.query
 
Select.Where<T extends Model> - Class in ollie.query
 
serialize(Boolean) - Method in class ollie.adapter.BooleanAdapter
Converts the Java value to a value which SQLite can store.
serialize(Calendar) - Method in class ollie.adapter.CalendarAdapter
Converts the Java value to a value which SQLite can store.
serialize(Date) - Method in class ollie.adapter.SqlDateAdapter
Converts the Java value to a value which SQLite can store.
serialize(Date) - Method in class ollie.adapter.UtilDateAdapter
Converts the Java value to a value which SQLite can store.
serialize(D) - Method in class ollie.TypeAdapter
Converts the Java value to a value which SQLite can store.
set(String) - Method in class ollie.query.Update.Table
 
set(String, Object...) - Method in class ollie.query.Update.Table
 
setCacheSize(int) - Method in class ollie.Ollie.Builder
 
setLogLevel(Ollie.LogLevel) - Method in class ollie.Ollie.Builder
 
setName(String) - Method in class ollie.Ollie.Builder
 
setVersion(int) - Method in class ollie.Ollie.Builder
 
SqlDateAdapter - Class in ollie.adapter
Converts Java Date values to SQLite INTEGER values.
SqlDateAdapter() - Constructor for class ollie.adapter.SqlDateAdapter
 

T

Table - Annotation Type in ollie.annotation
An annotation that indicates a class is a table.
table(Class<T>) - Static method in class ollie.query.Update
 
Table(Query, Class<T>) - Constructor for class ollie.query.Update.Table
 
toStringArray(Object[]) - Method in class ollie.query.QueryBase
 
TypeAdapter - Annotation Type in ollie.internal
Used internally to discover type adapters.
TypeAdapter<D,S> - Class in ollie
Type adapters provide a method for which to convert between Java types and SQLite types.
TypeAdapter() - Constructor for class ollie.TypeAdapter
 

U

Unique - Annotation Type in ollie.annotation
An annotation that indicates a member should define its SQLite column using the UNIQUE constraint.
update(Uri, ContentValues, String, String[]) - Method in class ollie.OllieProvider
 
Update - Class in ollie.query
 
Update.Set<T extends Model> - Class in ollie.query
 
Update.Table<T extends Model> - Class in ollie.query
 
Update.Where<T extends Model> - Class in ollie.query
 
using(String...) - Method in class ollie.query.Select.Join
 
UtilDateAdapter - Class in ollie.adapter
Converts Java Date values to SQLite INTEGER values.
UtilDateAdapter() - Constructor for class ollie.adapter.UtilDateAdapter
 

V

valueOf(String) - Static method in enum ollie.annotation.Collate.CollatingSequence
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.annotation.ConflictClause
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.annotation.ForeignKey.Deferrable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.annotation.ForeignKey.DeferrableTiming
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.annotation.ForeignKey.ReferentialAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.Ollie.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ollie.query.Select.Join.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum ollie.annotation.Collate.CollatingSequence
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ollie.annotation.ConflictClause
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ollie.annotation.ForeignKey.Deferrable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ollie.annotation.ForeignKey.DeferrableTiming
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ollie.annotation.ForeignKey.ReferentialAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ollie.Ollie.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values(Object...) - Method in class ollie.query.Insert.Columns
 
values(Object...) - Method in class ollie.query.Insert.Into
 
values() - Static method in enum ollie.query.Select.Join.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

where(String) - Method in class ollie.query.Delete.From
 
where(String, Object...) - Method in class ollie.query.Delete.From
 
Where(Query, Class<T>, String, Object[]) - Constructor for class ollie.query.Delete.Where
 
where(String) - Method in class ollie.query.Select.From
 
where(String, Object...) - Method in class ollie.query.Select.From
 
where(String) - Method in class ollie.query.Update.Set
 
where(String, Object...) - Method in class ollie.query.Update.Set
 
with(Context) - Static method in class ollie.Ollie
 

_

_ID - Static variable in class ollie.Model
 
A B C D E F G H I J K L M N O P Q R S T U V W _ 
Skip navigation links