DatabaseConfiguration


public final class DatabaseConfiguration


Configuration class for a RoomDatabase.

Summary

Public methods

getAllowDestructiveMigrationForAllTables

public final boolean getAllowDestructiveMigrationForAllTables()

getAllowDestructiveMigrationOnDowngrade

public final boolean getAllowDestructiveMigrationOnDowngrade()

getAutoMigrationSpecs

public final @NonNull List<@NonNull AutoMigrationSpecgetAutoMigrationSpecs()

getCallbacks

public final List<@NonNull RoomDatabase.CallbackgetCallbacks()

getJournalMode

public final @NonNull RoomDatabase.JournalMode getJournalMode()

getMigrationContainer

public final @NonNull RoomDatabase.MigrationContainer getMigrationContainer()

getName

public final String getName()

getQueryCoroutineContext

public final CoroutineContext getQueryCoroutineContext()

getRequireMigration

public final boolean getRequireMigration()

getSqliteDriver

public final SQLiteDriver getSqliteDriver()

getTypeConverters

public final @NonNull List<@NonNull ObjectgetTypeConverters()