Package | Description |
---|---|
net.akaish.kitty.orm | |
net.akaish.kitty.orm.configuration.adc | |
net.akaish.kitty.orm.configuration.conf |
Modifier and Type | Field and Description |
---|---|
protected KittyDBHelperConfiguration |
KittyDatabaseHelper.helperConfiguration |
protected KittyDBHelperConfiguration |
KittyDatabase.helperConfiguration |
Modifier and Type | Method and Description |
---|---|
protected KittyDBHelperConfiguration |
KittyDatabase.getDBHelperConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
KittyDatabaseHelper.getOldDropScriptLocation(KittyDBHelperConfiguration configuration,
int oldVersion)
Return path (assets or fs) for old drop script using pattern '{0}-v-{1}-drop.sql' where {0} is databaseClass name
and {1} is old version integer code with prefix as absolute path to assets schema directory If old script was stored as fs file and new as assets, would be returned path to assets |
Constructor and Description |
---|
KittyDatabaseHelper(android.content.Context context,
KittyDBHelperConfiguration helperCfg,
KittyDatabaseConfiguration conf)
Create a KittyORM helper object to create, open, and/or manage a database.
|
KittyDatabaseHelper(android.content.Context context,
KittyDBHelperConfiguration helperCfg,
KittyDatabaseConfiguration conf,
android.database.sqlite.SQLiteDatabase.CursorFactory cursorFactory)
Create a helper object to create, open, and/or manage a database.
|
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 | Method and Description |
---|---|
static <T extends KittyDatabase> |
KittyAnnoDBHelperConfigurationUtil.getDBHelperConfiguration(KittyDatabaseConfiguration databaseConfiguration,
java.lang.Class<T> kittyDatabaseClass,
android.content.Context ctx) |
Modifier and Type | Method and Description |
---|---|
KittyDBHelperConfiguration |
KittyDBHelperConfigurationBuilder.createAMDBHelperConfiguration() |