Package | Description |
---|---|
net.akaish.kitty.orm | |
net.akaish.kitty.orm.configuration.conf | |
net.akaish.kitty.orm.pkey |
Modifier and Type | Method and Description |
---|---|
long |
KittyMapper.deleteByPK(KittyPrimaryKey pk)
Deletes row in database's table depending on values in provided PK.
|
<M extends KittyModel> |
KittyMapper.findByPK(KittyPrimaryKey primaryKey)
Returns model filled with data from database or null if no record with provided PK (
KittyPrimaryKey ) found. |
protected SQLiteCondition |
KittyMapper.getSQLiteConditionForPK(KittyPrimaryKey primaryKey)
Returns SQLiteCondition from provided PK's map where keys of map are column's names of table and
values are values of those columns.
|
Modifier and Type | Field and Description |
---|---|
KittyPrimaryKey |
KittyTableConfiguration.kittyPrimaryKey |
Modifier and Type | Method and Description |
---|---|
KittyTableConfigurationBuilder |
KittyTableConfigurationBuilder.setKittyPrimaryKey(KittyPrimaryKey kittyPrimaryKey) |
Constructor and Description |
---|
KittyTableConfiguration(java.lang.String schemaName,
java.lang.String tableName,
boolean isTemporaryTable,
boolean isNoRowid,
PrimaryKeyTableConstraint primaryKey,
java.util.List<UniqueTableConstraint> uniques,
java.util.List<CheckTableConstraint> checks,
java.util.List<ForeignKeyTableConstraint> foreignKeys,
boolean isSchemaModel,
boolean isCreateOnDemand,
java.util.List<Index> indexes,
java.util.LinkedList<KittyJoinConfiguration> joins,
java.util.LinkedList<KittyColumnConfiguration> sortedColumns,
java.lang.Class<T> modelClass,
KittyPrimaryKey kittyPrimaryKey,
boolean isCreateIfNotExists,
KittyArrayKey defaultColumnsInclusionPatternId) |
Modifier and Type | Method and Description |
---|---|
KittyPrimaryKey |
KittyPrimaryKeyBuilder.build() |
KittyPrimaryKey |
KittyPrimaryKey.setpKeyValue(java.lang.String pKeyColumn,
java.lang.String pKeyValue) |