Package | Description |
---|---|
net.akaish.kitty.orm | |
net.akaish.kitty.orm.dumputils.scripts |
Modifier and Type | Field and Description |
---|---|
protected KittySQLiteDumpScript |
KittyDatabaseHelper.afterCreateScript |
protected KittySQLiteDumpScript |
KittyDatabaseHelper.afterMigrateScript |
Modifier and Type | Method and Description |
---|---|
KittySQLiteDumpScript |
KittyDatabase.afterCreateScript()
Override this method if you want to run custom script SQLite sequence after schema creation
This method has higher priority than script that may be returned from any stored script |
KittySQLiteDumpScript |
KittyDatabase.afterMigrateScript()
Override this method of you want to run custom script sequence after schema migration
This method has higher priority than script that may be returned from any stored script |
protected KittySQLiteDumpScript |
KittyDatabaseHelper.getAssetsScript(java.lang.String assetPath)
Creates and returns KittySQLiteDumpScript implementation designed to be used
with this databaseClass helper (from assets) |
protected KittySQLiteDumpScript |
KittyDatabaseHelper.getFileScript(java.lang.String fileUriString,
boolean newDump)
Creates and returns KittySQLiteDumpScript implementation designed to be used
with this databaseClass helper (from fs) |
Modifier and Type | Method and Description |
---|---|
void |
KittyDatabaseHelper.setAfterCreateScript(KittySQLiteDumpScript afterCreateScript)
Sets after create schema script sequence as dump script.
|
void |
KittyDatabaseHelper.setAfterMigrateScript(KittySQLiteDumpScript afterMigrateScript)
Sets after migrate schema script sequence as dump script.
|
Constructor and Description |
---|
KittyDatabaseHelper(android.content.Context context,
KittyDBHelperConfiguration helperCfg,
KittyDatabaseConfiguration conf,
android.database.sqlite.SQLiteDatabase.CursorFactory cursorFactory,
java.util.LinkedList<KittySQLiteQuery> createSchemaAutogeneratedScript,
java.util.LinkedList<KittySQLiteQuery> dropSchemaAutogeneratedScript,
KittySQLiteDumpScript afterCreateScript,
KittySQLiteDumpScript afterMigrateScript)
Create a helper object to create, open, and/or manage a database.
|
Modifier and Type | Class and Description |
---|---|
class |
KittySQLiteAssetsFileDumpScript
Created by akaish on 22.10.18.
|
class |
KittySQLiteFileDumpScript
SQLite scripts file dump implementation
Created by akaish on 06.03.18.
|