public abstract class SmartCheffDatabase extends RoomDatabase
RoomDatabase.Builder<T extends RoomDatabase>, RoomDatabase.Callback, RoomDatabase.JournalMode, RoomDatabase.MigrationContainerMAX_BIND_PARAMETER_CNT, mCallbacks, mDatabase| Constructor and Description |
|---|
SmartCheffDatabase() |
| Modifier and Type | Method and Description |
|---|---|
abstract IngredientDao |
getIngredientDao()
This is the getter for IngredientDao
|
static SmartCheffDatabase |
getInstance()
This is the getter for instance.
|
abstract RecipeDao |
getRecipeDao()
This is the getter for RecipeDao
|
abstract RecipeIngredientDao |
getRecipeIngredientDao()
This is the getter for RecipeIngredientDao
|
abstract UserDao |
getUserDao()
This is the getter for UserDao
|
static void |
setContext(Application context)
This is the setter for context.
|
assertNotMainThread, assertNotSuspendingTransaction, beginTransaction, clearAllTables, close, compileStatement, createInvalidationTracker, createOpenHelper, endTransaction, getInvalidationTracker, getOpenHelper, getQueryExecutor, getTransactionExecutor, init, internalInitInvalidationTracker, inTransaction, isOpen, query, query, query, runInTransaction, runInTransaction, setTransactionSuccessfulpublic static void setContext(Application context)
public static SmartCheffDatabase getInstance()
public abstract UserDao getUserDao()
public abstract RecipeDao getRecipeDao()
public abstract IngredientDao getIngredientDao()
public abstract RecipeIngredientDao getRecipeIngredientDao()