OpenMeet

# AppDatabase

abstract class AppDatabase : RoomDatabase

## Constructors

AppDatabase
Link copied to clipboard
fun AppDatabase()

## Functions

assertNotMainThread
Link copied to clipboard
open fun assertNotMainThread()
assertNotSuspendingTransaction
Link copied to clipboard
open fun assertNotSuspendingTransaction()
beginTransaction
Link copied to clipboard
open fun beginTransaction()
clearAllTables
Link copied to clipboard
abstract fun clearAllTables()
close
Link copied to clipboard
open fun close()
compileStatement
Link copied to clipboard
open fun compileStatement(sql: String): SupportSQLiteStatement
endTransaction
Link copied to clipboard
open fun endTransaction()
getAutoMigrations
Link copied to clipboard
open fun getAutoMigrations(autoMigrationSpecs: Map<Class<out AutoMigrationSpec>, AutoMigrationSpec>): List<Migration>
getRequiredAutoMigrationSpecs
Link copied to clipboard
open fun getRequiredAutoMigrationSpecs(): Set<Class<out AutoMigrationSpec>>
getTypeConverter
Link copied to clipboard
open fun <T> getTypeConverter(klass: Class<T>): T?
init
Link copied to clipboard
open fun init(configuration: DatabaseConfiguration)
inTransaction
Link copied to clipboard
open fun inTransaction(): Boolean
query
Link copied to clipboard
open fun query(query: SupportSQLiteQuery, signal: CancellationSignal?): Cursor
open fun query(query: String, args: Array<out Any?>?): Cursor
runInTransaction
Link copied to clipboard
open fun runInTransaction(body: Runnable)
open fun <V> runInTransaction(body: Callable<V>): V
setTransactionSuccessful
Link copied to clipboard
open fun setTransactionSuccessful()
userDao
Link copied to clipboard
abstract fun userDao(): MessageRoomDB.LocalMessageDao

## Properties

backingFieldMap
Link copied to clipboard
val backingFieldMap: MutableMap<String, Any>
invalidationTracker
Link copied to clipboard
open val invalidationTracker: InvalidationTracker
isOpen
Link copied to clipboard
open val isOpen: Boolean
openHelper
Link copied to clipboard
open val openHelper: SupportSQLiteOpenHelper
queryExecutor
Link copied to clipboard
open val queryExecutor: Executor
suspendingTransactionId
Link copied to clipboard
val suspendingTransactionId: ThreadLocal<Int>
transactionExecutor
Link copied to clipboard
open val transactionExecutor: Executor