Skip navigation links
A B C D E I L M N Q R S U W Y 

A

asRows(<any>) - Method in class com.squareup.sqlbrite.SqlBrite.Query
Execute the query on the underlying database and return an Observable of each row mapped to T by mapper.

B

BriteContentResolver - Class in com.squareup.sqlbrite
A lightweight wrapper around ContentResolver which allows for continuously observing the result of a query.
BriteDatabase - Class in com.squareup.sqlbrite
A lightweight wrapper around SQLiteOpenHelper which allows for continuously observing the result of a query.
BriteDatabase.ConflictAlgorithm - Annotation Type in com.squareup.sqlbrite
 
BriteDatabase.Transaction - Interface in com.squareup.sqlbrite
An in-progress database transaction.

C

close() - Method in class com.squareup.sqlbrite.BriteDatabase
Close the underlying SQLiteOpenHelper and remove cached readable and writeable databases.
close() - Method in interface com.squareup.sqlbrite.BriteDatabase.Transaction
Equivalent to calling BriteDatabase.Transaction.end()
com.squareup.sqlbrite - package com.squareup.sqlbrite
 
create() - Static method in class com.squareup.sqlbrite.SqlBrite
 
create(SqlBrite.Logger) - Static method in class com.squareup.sqlbrite.SqlBrite
 
createQuery(Uri, String[], String, String[], String, boolean) - Method in class com.squareup.sqlbrite.BriteContentResolver
Create an observable which will notify subscribers with a query for execution.
createQuery(String, String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase
Create an observable which will notify subscribers with a query for execution.
createQuery(Iterable<String>, String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase

D

delete(String, String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase
Delete rows from the specified table and notify any subscribed queries.

E

end() - Method in interface com.squareup.sqlbrite.BriteDatabase.Transaction
End a transaction.
execute(String) - Method in class com.squareup.sqlbrite.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.
execute(String, Object...) - Method in class com.squareup.sqlbrite.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.
executeAndTrigger(String, String) - Method in class com.squareup.sqlbrite.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.
executeAndTrigger(String, String, Object...) - Method in class com.squareup.sqlbrite.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.

I

insert(String, ContentValues) - Method in class com.squareup.sqlbrite.BriteDatabase
Insert a row into the specified table and notify any subscribed queries.
insert(String, ContentValues, int) - Method in class com.squareup.sqlbrite.BriteDatabase
Insert a row into the specified table and notify any subscribed queries.

L

log(String) - Method in interface com.squareup.sqlbrite.SqlBrite.Logger
 

M

mapToList(<any>) - Method in class com.squareup.sqlbrite.QueryObservable
Given a function mapping the current row of a Cursor to T, transform each emitted SqlBrite.Query to a List<T>.
mapToList(<any>) - Static method in class com.squareup.sqlbrite.SqlBrite.Query
Creates an observable operator which transforms a query to a List<T> using mapper.
mapToOne(<any>) - Method in class com.squareup.sqlbrite.QueryObservable
Given a function mapping the current row of a Cursor to T, transform each emitted SqlBrite.Query which returns a single row to T.
mapToOne(<any>) - Static method in class com.squareup.sqlbrite.SqlBrite.Query
Creates an observable operator which transforms a query returning a single row to T using mapper.
mapToOneOrDefault(<any>, T) - Method in class com.squareup.sqlbrite.QueryObservable
Given a function mapping the current row of a Cursor to T, transform each emitted SqlBrite.Query which returns a single row to T.
mapToOneOrDefault(<any>, T) - Static method in class com.squareup.sqlbrite.SqlBrite.Query
Creates an observable operator which transforms a query returning a single row to T using mapper.
markSuccessful() - Method in interface com.squareup.sqlbrite.BriteDatabase.Transaction
Marks the current transaction as successful.

N

newTransaction() - Method in class com.squareup.sqlbrite.BriteDatabase
Begin a transaction for this thread.

Q

query(String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase
Runs the provided SQL and returns a Cursor over the result set.
Query() - Constructor for class com.squareup.sqlbrite.SqlBrite.Query
 
QueryObservable - Class in com.squareup.sqlbrite
An Observable of SqlBrite.Query which offers query-specific convenience operators.

R

run() - Method in class com.squareup.sqlbrite.SqlBrite.Query
Execute the query on the underlying database and return the resulting cursor.

S

setLoggingEnabled(boolean) - Method in class com.squareup.sqlbrite.BriteContentResolver
Control whether debug logging is enabled.
setLoggingEnabled(boolean) - Method in class com.squareup.sqlbrite.BriteDatabase
Control whether debug logging is enabled.
SqlBrite - Class in com.squareup.sqlbrite
A lightweight wrapper around SQLiteOpenHelper which allows for continuously observing the result of a query.
SqlBrite.Logger - Interface in com.squareup.sqlbrite
A simple indirection for logging debug messages.
SqlBrite.Query - Class in com.squareup.sqlbrite
An executable query.

U

update(String, ContentValues, String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase
Update rows in the specified table and notify any subscribed queries.
update(String, ContentValues, int, String, String...) - Method in class com.squareup.sqlbrite.BriteDatabase
Update rows in the specified table and notify any subscribed queries.

W

wrapContentProvider(ContentResolver, Scheduler) - Method in class com.squareup.sqlbrite.SqlBrite
Wrap a ContentResolver for observable queries.
wrapDatabaseHelper(SQLiteOpenHelper, Scheduler) - Method in class com.squareup.sqlbrite.SqlBrite
Wrap a SQLiteOpenHelper for observable queries.

Y

yieldIfContendedSafely() - Method in interface com.squareup.sqlbrite.BriteDatabase.Transaction
Temporarily end the transaction to let other threads run.
yieldIfContendedSafely(long, TimeUnit) - Method in interface com.squareup.sqlbrite.BriteDatabase.Transaction
Temporarily end the transaction to let other threads run.
A B C D E I L M N Q R S U W Y 
Skip navigation links