Coverage Summary for Class: AppRoomDatabase_Impl (com.imecatro.demosales.datasource)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| AppRoomDatabase_Impl |
0%
(0/17)
|
|
0%
(0/33)
|
0%
(0/215)
|
| AppRoomDatabase_Impl$createOpenDelegate$_openDelegate$1 |
0%
(0/8)
|
0%
(0/14)
|
0%
(0/155)
|
0%
(0/1171)
|
| Total |
0%
(0/25)
|
0%
(0/14)
|
0%
(0/188)
|
0%
(0/1386)
|
package com.imecatro.demosales.datasource
import androidx.room.InvalidationTracker
import androidx.room.RoomOpenDelegate
import androidx.room.migration.AutoMigrationSpec
import androidx.room.migration.Migration
import androidx.room.util.TableInfo
import androidx.room.util.TableInfo.Companion.read
import androidx.room.util.dropFtsSyncTriggers
import androidx.sqlite.SQLiteConnection
import androidx.sqlite.execSQL
import com.imecatro.demosales.`data`.clients.datasource.ClientsDao
import com.imecatro.demosales.`data`.clients.datasource.ClientsDao_Impl
import com.imecatro.demosales.`data`.sales.datasource.OrdersRoomDao
import com.imecatro.demosales.`data`.sales.datasource.OrdersRoomDao_Impl
import com.imecatro.demosales.`data`.sales.datasource.SalesRoomDao
import com.imecatro.demosales.`data`.sales.datasource.SalesRoomDao_Impl
import com.imecatro.products.`data`.datasource.CategoriesDao
import com.imecatro.products.`data`.datasource.CategoriesDao_Impl
import com.imecatro.products.`data`.datasource.ProductsDao
import com.imecatro.products.`data`.datasource.ProductsDao_Impl
import javax.`annotation`.processing.Generated
import kotlin.Lazy
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.collections.MutableList
import kotlin.collections.MutableMap
import kotlin.collections.MutableSet
import kotlin.collections.Set
import kotlin.collections.mutableListOf
import kotlin.collections.mutableMapOf
import kotlin.collections.mutableSetOf
import kotlin.reflect.KClass
@Generated(value = ["androidx.room.RoomProcessor"])
@Suppress(names = ["UNCHECKED_CAST", "DEPRECATION", "REDUNDANT_PROJECTION", "REMOVAL"])
public class AppRoomDatabase_Impl : AppRoomDatabase() {
private val _productsDao: Lazy<ProductsDao> = lazy {
ProductsDao_Impl(this)
}
private val _categoriesDao: Lazy<CategoriesDao> = lazy {
CategoriesDao_Impl(this)
}
private val _salesRoomDao: Lazy<SalesRoomDao> = lazy {
SalesRoomDao_Impl(this)
}
private val _ordersRoomDao: Lazy<OrdersRoomDao> = lazy {
OrdersRoomDao_Impl(this)
}
private val _clientsDao: Lazy<ClientsDao> = lazy {
ClientsDao_Impl(this)
}
protected override fun createOpenDelegate(): RoomOpenDelegate {
val _openDelegate: RoomOpenDelegate = object : RoomOpenDelegate(14, "bd75205f2e74c0e7c4b6268aff984ea7", "033c41dd5c8c226e233b8323afb8a609") {
public override fun createAllTables(connection: SQLiteConnection) {
connection.execSQL("CREATE TABLE IF NOT EXISTS `products_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `price` REAL NOT NULL, `currency` TEXT NOT NULL, `unit` TEXT NOT NULL, `stock` REAL NOT NULL, `details` TEXT NOT NULL, `imageUri` TEXT NOT NULL, `category_id` INTEGER, `barcode` TEXT, FOREIGN KEY(`category_id`) REFERENCES `categories_table`(`id`) ON UPDATE NO ACTION ON DELETE SET NULL )")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_products_table_category_id` ON `products_table` (`category_id`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `sales_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `clientId` INTEGER, `creationDateMillis` INTEGER NOT NULL, `status` TEXT NOT NULL, `note` TEXT NOT NULL, `totals_subtotal` REAL, `totals_discount` REAL, `totals_extra` REAL, `totals_total` REAL, `client_name_at_sale` TEXT, `client_address_at_sale` TEXT)")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_sales_table_clientId` ON `sales_table` (`clientId`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `order_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `sale_id` INTEGER NOT NULL, `productId` INTEGER NOT NULL, `productName` TEXT NOT NULL, `productPrice` REAL NOT NULL, `qty` REAL NOT NULL, `productImage` TEXT NOT NULL, FOREIGN KEY(`sale_id`) REFERENCES `sales_table`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_order_table_sale_id` ON `order_table` (`sale_id`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `client_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `phone` TEXT NOT NULL, `address` TEXT NOT NULL, `imageUri` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `tableVersion` TEXT NOT NULL, `latitude` REAL, `longitude` REAL, `accumulatedPurchases` REAL NOT NULL, `isFavorite` INTEGER NOT NULL)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `purchases_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `purchaseNumber` TEXT NOT NULL, `client_id` INTEGER NOT NULL, `description` TEXT NOT NULL, `amount` REAL NOT NULL, `date` INTEGER NOT NULL, FOREIGN KEY(`client_id`) REFERENCES `client_table`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_purchases_table_client_id` ON `purchases_table` (`client_id`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `stock_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `product_id` INTEGER NOT NULL, `description` TEXT NOT NULL, `amount` REAL NOT NULL, `date` TEXT NOT NULL, `timeStamp` TEXT NOT NULL, FOREIGN KEY(`product_id`) REFERENCES `products_table`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_stock_table_product_id` ON `stock_table` (`product_id`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS `categories_table` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL)")
connection.execSQL("CREATE INDEX IF NOT EXISTS `index_categories_table_name` ON `categories_table` (`name`)")
connection.execSQL("CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)")
connection.execSQL("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'bd75205f2e74c0e7c4b6268aff984ea7')")
}
public override fun dropAllTables(connection: SQLiteConnection) {
connection.execSQL("DROP TABLE IF EXISTS `products_table`")
connection.execSQL("DROP TABLE IF EXISTS `sales_table`")
connection.execSQL("DROP TABLE IF EXISTS `order_table`")
connection.execSQL("DROP TABLE IF EXISTS `client_table`")
connection.execSQL("DROP TABLE IF EXISTS `purchases_table`")
connection.execSQL("DROP TABLE IF EXISTS `stock_table`")
connection.execSQL("DROP TABLE IF EXISTS `categories_table`")
}
public override fun onCreate(connection: SQLiteConnection) {
}
public override fun onOpen(connection: SQLiteConnection) {
connection.execSQL("PRAGMA foreign_keys = ON")
internalInitInvalidationTracker(connection)
}
public override fun onPreMigrate(connection: SQLiteConnection) {
dropFtsSyncTriggers(connection)
}
public override fun onPostMigrate(connection: SQLiteConnection) {
}
public override fun onValidateSchema(connection: SQLiteConnection): RoomOpenDelegate.ValidationResult {
val _columnsProductsTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsProductsTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("name", TableInfo.Column("name", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("price", TableInfo.Column("price", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("currency", TableInfo.Column("currency", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("unit", TableInfo.Column("unit", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("stock", TableInfo.Column("stock", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("details", TableInfo.Column("details", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("imageUri", TableInfo.Column("imageUri", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("category_id", TableInfo.Column("category_id", "INTEGER", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsProductsTable.put("barcode", TableInfo.Column("barcode", "TEXT", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysProductsTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
_foreignKeysProductsTable.add(TableInfo.ForeignKey("categories_table", "SET NULL", "NO ACTION", listOf("category_id"), listOf("id")))
val _indicesProductsTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesProductsTable.add(TableInfo.Index("index_products_table_category_id", false, listOf("category_id"), listOf("ASC")))
val _infoProductsTable: TableInfo = TableInfo("products_table", _columnsProductsTable, _foreignKeysProductsTable, _indicesProductsTable)
val _existingProductsTable: TableInfo = read(connection, "products_table")
if (!_infoProductsTable.equals(_existingProductsTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|products_table(com.imecatro.products.data.model.ProductRoomEntity).
| Expected:
|""".trimMargin() + _infoProductsTable + """
|
| Found:
|""".trimMargin() + _existingProductsTable)
}
val _columnsSalesTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsSalesTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("clientId", TableInfo.Column("clientId", "INTEGER", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("creationDateMillis", TableInfo.Column("creationDateMillis", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("status", TableInfo.Column("status", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("note", TableInfo.Column("note", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("totals_subtotal", TableInfo.Column("totals_subtotal", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("totals_discount", TableInfo.Column("totals_discount", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("totals_extra", TableInfo.Column("totals_extra", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("totals_total", TableInfo.Column("totals_total", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("client_name_at_sale", TableInfo.Column("client_name_at_sale", "TEXT", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsSalesTable.put("client_address_at_sale", TableInfo.Column("client_address_at_sale", "TEXT", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysSalesTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
val _indicesSalesTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesSalesTable.add(TableInfo.Index("index_sales_table_clientId", false, listOf("clientId"), listOf("ASC")))
val _infoSalesTable: TableInfo = TableInfo("sales_table", _columnsSalesTable, _foreignKeysSalesTable, _indicesSalesTable)
val _existingSalesTable: TableInfo = read(connection, "sales_table")
if (!_infoSalesTable.equals(_existingSalesTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|sales_table(com.imecatro.demosales.data.sales.model.SaleDataRoomModel).
| Expected:
|""".trimMargin() + _infoSalesTable + """
|
| Found:
|""".trimMargin() + _existingSalesTable)
}
val _columnsOrderTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsOrderTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("sale_id", TableInfo.Column("sale_id", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("productId", TableInfo.Column("productId", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("productName", TableInfo.Column("productName", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("productPrice", TableInfo.Column("productPrice", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("qty", TableInfo.Column("qty", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsOrderTable.put("productImage", TableInfo.Column("productImage", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysOrderTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
_foreignKeysOrderTable.add(TableInfo.ForeignKey("sales_table", "CASCADE", "NO ACTION", listOf("sale_id"), listOf("id")))
val _indicesOrderTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesOrderTable.add(TableInfo.Index("index_order_table_sale_id", false, listOf("sale_id"), listOf("ASC")))
val _infoOrderTable: TableInfo = TableInfo("order_table", _columnsOrderTable, _foreignKeysOrderTable, _indicesOrderTable)
val _existingOrderTable: TableInfo = read(connection, "order_table")
if (!_infoOrderTable.equals(_existingOrderTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|order_table(com.imecatro.demosales.data.sales.model.OrderDataRoomModel).
| Expected:
|""".trimMargin() + _infoOrderTable + """
|
| Found:
|""".trimMargin() + _existingOrderTable)
}
val _columnsClientTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsClientTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("name", TableInfo.Column("name", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("phone", TableInfo.Column("phone", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("address", TableInfo.Column("address", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("imageUri", TableInfo.Column("imageUri", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("timestamp", TableInfo.Column("timestamp", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("tableVersion", TableInfo.Column("tableVersion", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("latitude", TableInfo.Column("latitude", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("longitude", TableInfo.Column("longitude", "REAL", false, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("accumulatedPurchases", TableInfo.Column("accumulatedPurchases", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsClientTable.put("isFavorite", TableInfo.Column("isFavorite", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysClientTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
val _indicesClientTable: MutableSet<TableInfo.Index> = mutableSetOf()
val _infoClientTable: TableInfo = TableInfo("client_table", _columnsClientTable, _foreignKeysClientTable, _indicesClientTable)
val _existingClientTable: TableInfo = read(connection, "client_table")
if (!_infoClientTable.equals(_existingClientTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|client_table(com.imecatro.demosales.data.clients.model.ClientRoomEntity).
| Expected:
|""".trimMargin() + _infoClientTable + """
|
| Found:
|""".trimMargin() + _existingClientTable)
}
val _columnsPurchasesTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsPurchasesTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsPurchasesTable.put("purchaseNumber", TableInfo.Column("purchaseNumber", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsPurchasesTable.put("client_id", TableInfo.Column("client_id", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsPurchasesTable.put("description", TableInfo.Column("description", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsPurchasesTable.put("amount", TableInfo.Column("amount", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsPurchasesTable.put("date", TableInfo.Column("date", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysPurchasesTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
_foreignKeysPurchasesTable.add(TableInfo.ForeignKey("client_table", "CASCADE", "NO ACTION", listOf("client_id"), listOf("id")))
val _indicesPurchasesTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesPurchasesTable.add(TableInfo.Index("index_purchases_table_client_id", false, listOf("client_id"), listOf("ASC")))
val _infoPurchasesTable: TableInfo = TableInfo("purchases_table", _columnsPurchasesTable, _foreignKeysPurchasesTable, _indicesPurchasesTable)
val _existingPurchasesTable: TableInfo = read(connection, "purchases_table")
if (!_infoPurchasesTable.equals(_existingPurchasesTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|purchases_table(com.imecatro.demosales.data.clients.model.PurchaseRoomEntity).
| Expected:
|""".trimMargin() + _infoPurchasesTable + """
|
| Found:
|""".trimMargin() + _existingPurchasesTable)
}
val _columnsStockTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsStockTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsStockTable.put("product_id", TableInfo.Column("product_id", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsStockTable.put("description", TableInfo.Column("description", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsStockTable.put("amount", TableInfo.Column("amount", "REAL", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsStockTable.put("date", TableInfo.Column("date", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
_columnsStockTable.put("timeStamp", TableInfo.Column("timeStamp", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysStockTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
_foreignKeysStockTable.add(TableInfo.ForeignKey("products_table", "CASCADE", "NO ACTION", listOf("product_id"), listOf("id")))
val _indicesStockTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesStockTable.add(TableInfo.Index("index_stock_table_product_id", false, listOf("product_id"), listOf("ASC")))
val _infoStockTable: TableInfo = TableInfo("stock_table", _columnsStockTable, _foreignKeysStockTable, _indicesStockTable)
val _existingStockTable: TableInfo = read(connection, "stock_table")
if (!_infoStockTable.equals(_existingStockTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|stock_table(com.imecatro.products.data.model.StockRoomEntity).
| Expected:
|""".trimMargin() + _infoStockTable + """
|
| Found:
|""".trimMargin() + _existingStockTable)
}
val _columnsCategoriesTable: MutableMap<String, TableInfo.Column> = mutableMapOf()
_columnsCategoriesTable.put("id", TableInfo.Column("id", "INTEGER", true, 1, null, TableInfo.CREATED_FROM_ENTITY))
_columnsCategoriesTable.put("name", TableInfo.Column("name", "TEXT", true, 0, null, TableInfo.CREATED_FROM_ENTITY))
val _foreignKeysCategoriesTable: MutableSet<TableInfo.ForeignKey> = mutableSetOf()
val _indicesCategoriesTable: MutableSet<TableInfo.Index> = mutableSetOf()
_indicesCategoriesTable.add(TableInfo.Index("index_categories_table_name", false, listOf("name"), listOf("ASC")))
val _infoCategoriesTable: TableInfo = TableInfo("categories_table", _columnsCategoriesTable, _foreignKeysCategoriesTable, _indicesCategoriesTable)
val _existingCategoriesTable: TableInfo = read(connection, "categories_table")
if (!_infoCategoriesTable.equals(_existingCategoriesTable)) {
return RoomOpenDelegate.ValidationResult(false, """
|categories_table(com.imecatro.products.data.model.CategoryRoomEntity).
| Expected:
|""".trimMargin() + _infoCategoriesTable + """
|
| Found:
|""".trimMargin() + _existingCategoriesTable)
}
return RoomOpenDelegate.ValidationResult(true, null)
}
}
return _openDelegate
}
protected override fun createInvalidationTracker(): InvalidationTracker {
val _shadowTablesMap: MutableMap<String, String> = mutableMapOf()
val _viewTables: MutableMap<String, Set<String>> = mutableMapOf()
return InvalidationTracker(this, _shadowTablesMap, _viewTables, "products_table", "sales_table", "order_table", "client_table", "purchases_table", "stock_table", "categories_table")
}
public override fun clearAllTables() {
super.performClear(true, "products_table", "sales_table", "order_table", "client_table", "purchases_table", "stock_table", "categories_table")
}
protected override fun getRequiredTypeConverterClasses(): Map<KClass<*>, List<KClass<*>>> {
val _typeConvertersMap: MutableMap<KClass<*>, List<KClass<*>>> = mutableMapOf()
_typeConvertersMap.put(ProductsDao::class, ProductsDao_Impl.getRequiredConverters())
_typeConvertersMap.put(CategoriesDao::class, CategoriesDao_Impl.getRequiredConverters())
_typeConvertersMap.put(SalesRoomDao::class, SalesRoomDao_Impl.getRequiredConverters())
_typeConvertersMap.put(OrdersRoomDao::class, OrdersRoomDao_Impl.getRequiredConverters())
_typeConvertersMap.put(ClientsDao::class, ClientsDao_Impl.getRequiredConverters())
return _typeConvertersMap
}
public override fun getRequiredAutoMigrationSpecClasses(): Set<KClass<out AutoMigrationSpec>> {
val _autoMigrationSpecsSet: MutableSet<KClass<out AutoMigrationSpec>> = mutableSetOf()
return _autoMigrationSpecsSet
}
public override fun createAutoMigrations(autoMigrationSpecs: Map<KClass<out AutoMigrationSpec>, AutoMigrationSpec>): List<Migration> {
val _autoMigrations: MutableList<Migration> = mutableListOf()
return _autoMigrations
}
public override fun productsRoomDao(): ProductsDao = _productsDao.value
public override fun categoriesRoomDao(): CategoriesDao = _categoriesDao.value
public override fun salesRoomDao(): SalesRoomDao = _salesRoomDao.value
public override fun ordersRoomDao(): OrdersRoomDao = _ordersRoomDao.value
public override fun clientsRoomDao(): ClientsDao = _clientsDao.value
}