//MetaPhrase/com.github.diegoberaldin.metaphrase.core.persistence/DefaultAppDatabase
DefaultAppDatabase
[jvm]
class DefaultAppDatabase(filename: String = FILE_NAME, fileManager: FileManager) : AppDatabase
Default app database implementation that uses a local H2 DB instance on the local filesystem.
Constructors
DefaultAppDatabase | [jvm] constructor(filename: String = FILE_NAME, fileManager: FileManager) Create DefaultAppDatabase |
Types
Name | Summary |
---|---|
Companion | [jvm] object Companion |
Functions
Name | Summary |
---|---|
glossaryTermDao | [jvm] open override fun glossaryTermDao(): DefaultGlossaryTermDao Create a new glossary term DAO. |
languageDao | [jvm] open override fun languageDao(): DefaultLanguageDao Create a new language DAO. |
memoryEntryDao | [jvm] open override fun memoryEntryDao(): DefaultMemoryEntryDao Create a new memory entry DAO. |
projectDao | [jvm] open override fun projectDao(): DefaultProjectDao Create a new project DAO. |
recentProjectDao | [jvm] open override fun recentProjectDao(): DefaultRecentProjectDao Create a new recent project DAO. |
segmentDao | [jvm] open override fun segmentDao(): DefaultSegmentDao Create a new segment DAO. |