Modifier and Type | Field and Description |
---|---|
protected KittyDatabaseConfiguration |
KittyDatabaseHelper.databaseConfiguration |
protected KittyDatabaseConfiguration |
KittyDatabase.databaseConfiguration |
Modifier and Type | Method and Description |
---|---|
protected <M extends KittyModel> |
KittyDatabase.generateMMInstanceStorageFromRegistry(java.util.Map<java.lang.Class<M>,java.lang.Class<KittyMapper>> registry,
KittyMMEntryFactory entryFactory,
KittyDatabaseConfiguration databaseConfiguration) |
protected KittyMMEntryFactory |
KittyDatabase.getModelMapperFactory(KittyDatabaseConfiguration configuration,
java.lang.String dbPwd) |
protected java.util.LinkedList<KittySQLiteQuery> |
KittyDatabase.getPreGeneratedCreateStatements(KittyDatabaseConfiguration dbConf)
By implementing this vias static collection of queries you would speed up KittyORM initialization.
|
protected java.util.LinkedList<KittySQLiteQuery> |
KittyDatabase.getPreGeneratedDropStatements(KittyDatabaseConfiguration dbConf)
By implementing this via static collection of queries you would speed up KittyORM initialization.
|
(package private) static <D extends KittyMapper,M extends KittyModel> |
KittyMMEntryFactory.newKittyMapper(java.lang.Class<D> kittyDataMapperClass,
KittyTableConfiguration tableConfiguration,
KittyDatabaseConfiguration dbConfiguration,
M blankModel,
java.lang.String dbPassword)
Creates new KittyMapper from mapper class and other needed stuff
|
KittyMMEntryFactory |
KittyMMEntryFactory.setDatabaseConfiguration(KittyDatabaseConfiguration databaseConfiguration)
Sets databaseClass configuration that should be used with this factory
|
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 |
---|---|
abstract KittyDatabaseConfiguration |
KittyConfigurator.generateDatabaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
KittyDatabaseConfiguration |
KittyConfiguratorADC.generateDatabaseConfiguration() |
static <T extends KittyDatabase,M extends KittyModel> |
KittyAnnoDatabaseConfigurationUtil.generateDatabaseConfiguration(java.lang.Class<T> database,
android.content.Context ctx,
java.util.Map<java.lang.Class<M>,java.lang.Class<KittyMapper>> registry) |
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 |
---|---|
KittyDatabaseConfiguration |
KittyDatabaseConfigurationBuilder.createKittyDatabaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
static java.util.LinkedList<KittySQLiteQuery> |
CreateDropHelper.generateCreationScript(KittyDatabaseConfiguration databaseConfiguration)
Generates create tables and indexes script on provided instance of
KittyDatabaseConfiguration |
Modifier and Type | Field and Description |
---|---|
(package private) KittyDatabaseConfiguration |
KittySimpleMigrationScriptGenerator.databaseConfiguration |
Constructor and Description |
---|
KittySimpleMigrationScriptGenerator(android.content.Context ctx,
KittyDatabaseConfiguration databaseConfiguration,
android.database.sqlite.SQLiteDatabase database)
At this constructor would be generated diff collection.
|