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

A

asRows(<any>) - Method in class com.squareup.sqlbrite3.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.sqlbrite3
A lightweight wrapper around ContentResolver which allows for continuously observing the result of a query.
BriteDatabase - Class in com.squareup.sqlbrite3
A lightweight wrapper around SupportSQLiteOpenHelper which allows for continuously observing the result of a query.
BriteDatabase.Transaction - Interface in com.squareup.sqlbrite3
An in-progress database transaction.
build() - Method in class com.squareup.sqlbrite3.SqlBrite.Builder
 
Builder() - Constructor for class com.squareup.sqlbrite3.SqlBrite.Builder
 

C

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

D

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

E

end() - Method in interface com.squareup.sqlbrite3.BriteDatabase.Transaction
End a transaction.
execute(String) - Method in class com.squareup.sqlbrite3.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.sqlbrite3.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.sqlbrite3.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.
executeAndTrigger(Set<String>, String) - Method in class com.squareup.sqlbrite3.BriteDatabase
executeAndTrigger(String, String, Object...) - Method in class com.squareup.sqlbrite3.BriteDatabase
Execute sql provided it is NOT a SELECT or any other SQL statement that returns data.
executeAndTrigger(Set<String>, String, Object...) - Method in class com.squareup.sqlbrite3.BriteDatabase
executeInsert(String, SupportSQLiteStatement) - Method in class com.squareup.sqlbrite3.BriteDatabase
Execute statement and return the ID of the row inserted due to this call.
executeInsert(Set<String>, SupportSQLiteStatement) - Method in class com.squareup.sqlbrite3.BriteDatabase
executeUpdateDelete(String, SupportSQLiteStatement) - Method in class com.squareup.sqlbrite3.BriteDatabase
Execute statement, if the the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.
executeUpdateDelete(Set<String>, SupportSQLiteStatement) - Method in class com.squareup.sqlbrite3.BriteDatabase

G

getReadableDatabase() - Method in class com.squareup.sqlbrite3.BriteDatabase
Create and/or open a database.
getWritableDatabase() - Method in class com.squareup.sqlbrite3.BriteDatabase
Create and/or open a database that will be used for reading and writing.

I

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

L

log(String) - Method in interface com.squareup.sqlbrite3.SqlBrite.Logger
 
logger(SqlBrite.Logger) - Method in class com.squareup.sqlbrite3.SqlBrite.Builder
 

M

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

N

newNonExclusiveTransaction() - Method in class com.squareup.sqlbrite3.BriteDatabase
Begins a transaction in IMMEDIATE mode for this thread.
newTransaction() - Method in class com.squareup.sqlbrite3.BriteDatabase
Begin a transaction for this thread.

Q

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

R

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

S

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

U

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

W

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

Y

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