App-Support > healthstack.app.task.db > TaskRoomDatabase

TaskRoomDatabase

[androidJvm]\
abstract class TaskRoomDatabase : RoomDatabase

Constructors

TaskRoomDatabase

[androidJvm]
fun TaskRoomDatabase()

Types

Name Summary
Companion

[androidJvm]
object Companion

Functions

Name Summary
assertNotMainThread

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open fun assertNotMainThread()

assertNotSuspendingTransaction

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun assertNotSuspendingTransaction()

beginTransaction

[androidJvm]
open fun beginTransaction()

clearAllTables

[androidJvm]
@WorkerThread
abstract fun clearAllTables()

close

[androidJvm]
open fun close()

compileStatement

[androidJvm]
open fun compileStatement(@NonNullp0: String): SupportSQLiteStatement

createInvalidationTracker

[androidJvm]
@NonNull
abstract fun createInvalidationTracker(): InvalidationTracker

createOpenHelper

[androidJvm]
@NonNull
abstract fun createOpenHelper(p0: DatabaseConfiguration): SupportSQLiteOpenHelper

endTransaction

[androidJvm]
open fun endTransaction()

getAutoMigrations

[androidJvm]
@NonNull
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun getAutoMigrations(@NonNullp0: MutableMap<Class<out AutoMigrationSpec>, AutoMigrationSpec>): MutableList<Migration>

getBackingFieldMap

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun getBackingFieldMap(): MutableMap<String, Any>

getCloseLock

[androidJvm]
open fun getCloseLock(): Lock

getInvalidationTracker

[androidJvm]
@NonNull
open fun getInvalidationTracker(): InvalidationTracker

getOpenHelper

[androidJvm]
@NonNull
open fun getOpenHelper(): SupportSQLiteOpenHelper

getQueryExecutor

[androidJvm]
@NonNull
open fun getQueryExecutor(): Executor

getRequiredAutoMigrationSpecs

[androidJvm]
@NonNull
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun getRequiredAutoMigrationSpecs(): MutableSet<Class<out AutoMigrationSpec>>

getRequiredTypeConverters

[androidJvm]
@NonNull
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun getRequiredTypeConverters(): MutableMap<Class<>, MutableList<Class<>>>

getSuspendingTransactionId

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open fun getSuspendingTransactionId(): ThreadLocal<Int>

getTransactionExecutor

[androidJvm]
@NonNull
open fun getTransactionExecutor(): Executor

getTypeConverter

[androidJvm]
@Nullable
open fun <T : Any> getTypeConverter(@NonNullp0: Class<T>): T?

init

[androidJvm]
@CallSuper
open fun init(@NonNullp0: DatabaseConfiguration)

internalInitInvalidationTracker

[androidJvm]
open fun internalInitInvalidationTracker(@NonNullp0: SupportSQLiteDatabase)

inTransaction

[androidJvm]
open fun inTransaction(): Boolean

isOpen

[androidJvm]
open fun isOpen(): Boolean

query

[androidJvm]
@NonNull
open fun query(@NonNullp0: SupportSQLiteQuery): Cursor
@NonNull
open fun query(@NonNullp0: SupportSQLiteQuery, @Nullablep1: CancellationSignal?): Cursor
@NonNull
open fun query(@NonNullp0: String, @Nullablep1: Array<Any>?): Cursor

runInTransaction

[androidJvm]
open fun runInTransaction(@NonNullp0: Runnable)
open fun <V : Any> runInTransaction(@NonNullp0: Callable<V>): V

setTransactionSuccessful

[androidJvm]
open fun setTransactionSuccessful()

taskDao

[androidJvm]
abstract fun taskDao(): TaskDao

Properties

Name Summary
mAutoMigrationSpecs

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
@NonNull
val mAutoMigrationSpecs: MutableMap<Class<out AutoMigrationSpec>, AutoMigrationSpec>

mCallbacks

[androidJvm]
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
@Nullable
val mCallbacks: MutableList<RoomDatabase.Callback>?

mDatabase

[androidJvm]
val mDatabase: SupportSQLiteDatabase

mWriteAheadLoggingEnabled

[androidJvm]
val mWriteAheadLoggingEnabled: Boolean