Package | Description |
---|---|
net.akaish.kitty.orm | |
net.akaish.kitty.orm.configuration.adc | |
net.akaish.kitty.orm.configuration.conf | |
net.akaish.kitty.orm.query | |
net.akaish.kitty.orm.util |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,KittyColumnConfiguration> |
KittyMapper.columnConfigurations |
Modifier and Type | Method and Description |
---|---|
KittyColumnConfiguration |
KittyMapper.getColumnByFieldName(java.lang.String fieldName)
Returns column name associated with model field name or null if nothing found
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
AVUtils.checkByteValue(java.lang.Byte byteValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided byteValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesByte() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkDoubleValue(java.lang.Double doubleValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided doubleValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesDouble() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkFloatValue(java.lang.Float floatValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided floatValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesFloat() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkIntValue(java.lang.Integer intValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided intValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesInt() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkLongValue(java.lang.Long longValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided doubleValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesLong() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkShortValue(java.lang.Short shortValue,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided shortValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesShort() and throws
KittyRuntimeException if this value is restricted one. |
(package private) static void |
AVUtils.checkStringValue(java.lang.String value,
KittyColumnConfiguration column,
java.lang.Class modelClass)
Checks if provided stringValue suites constraint described in
KITTY_COLUMN_ACCEPTED_VALUES.acceptedValuesInt() and throws
KittyRuntimeException if this value is restricted one. |
Modifier and Type | Method and Description |
---|---|
static <T extends KittyModel> |
KittyAnnoColumnConfigurationUtil.generateAMColumnConfiguration(java.lang.reflect.Field field,
java.lang.Class<T> record,
java.lang.String schemaName,
java.lang.String tableName)
Returns KittyColumnConfiguration for provided field of modelClass
Returns null, if field not annotated with at least
KITTY_COLUMN |
Modifier and Type | Field and Description |
---|---|
java.util.LinkedList<KittyColumnConfiguration> |
KittyTableConfiguration.sortedColumns |
Modifier and Type | Method and Description |
---|---|
KittyTableConfigurationBuilder |
KittyTableConfigurationBuilder.setSortedColumns(java.util.LinkedList<KittyColumnConfiguration> sortedColumns) |
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 |
---|---|
static java.lang.String |
CreateDropHelper.generateCreateColumnSectionPart(KittyColumnConfiguration columnCfg)
Generates column section for specified column for crete\alter statement
|
Modifier and Type | Method and Description |
---|---|
static int[] |
KittyColumnsKey.generateArrayKey(java.util.LinkedList<KittyColumnConfiguration> columns,
java.util.List<java.lang.String> fieldExclusions) |
static KittyArrayKey |
KittyColumnsKey.generateKittyArrayKey(java.util.LinkedList<KittyColumnConfiguration> columns,
java.util.List<java.lang.String> fieldExclusions) |