Package | Description |
---|---|
net.akaish.kitty.orm | |
net.akaish.kitty.orm.query.conditions |
Modifier and Type | Field and Description |
---|---|
protected SQLiteConditionBuilder |
KittyMapper.conditionBuilder
Condition builder
|
Modifier and Type | Method and Description |
---|---|
SQLiteConditionBuilder |
SQLiteConditionBuilder.addArbitrarySQLExpression(java.lang.String ArbitrarySQLExp)
Adds any arbitrary item to condition
|
SQLiteConditionBuilder |
SQLiteConditionBuilder.addColumn(java.lang.String columnName)
Adds column name to condition (e.g. ), if you want to use Java variables described
with
KITTY_COLUMN , use addField(String, Class) instead |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addField(java.lang.String fieldName,
java.lang.Class modelClass)
Adds column name associated with fieldName via
KITTY_COLUMN annotation
May throw KittyRuntimeException , which is just runtime exception,
if provided fieldName doesn't exists in provided modelClass or if
provided fieldName doesn't described with KITTY_COLUMN annotation |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addObjectValue(java.lang.Object value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addOperator(SQLiteOperator logic)
Adds some logic operators for SQL condition, described in
SQLiteOperator
SQLiteOperator has only common used operators, so, for something rare for
common logic use addArbitrarySQLExpression(String)
Alias for addSQLOperator(SQLiteOperator) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addOperator(java.lang.String logic)
Adds some logic operators for SQL condition, described in
SQLiteOperator
SQLiteOperator has only common used operators, so, for something rare for
common logic use addArbitrarySQLExpression(String)
Case insensitive, so "and" and "AND" and even "AnD" is OK Alias for addSQLOperator(String) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addSQLOperator(SQLiteOperator logic)
Adds some logic operators for SQL condition, described in
SQLiteOperator
SQLiteOperator has only common used operators, so, for something rare for
common logic use addArbitrarySQLExpression(String) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addSQLOperator(java.lang.String logic)
Adds some logic operators for SQL condition, described in
SQLiteOperator
SQLiteOperator has only common used operators, so, for something rare for
common logic use addArbitrarySQLExpression(String)
Case insensitive, so "and" and "AND" and even "AnD" is OK |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(boolean value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Boolean value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(byte value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Byte value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(double value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Double value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(float value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Float value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(int value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Integer value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(long value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Long value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(short value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.Short value) |
SQLiteConditionBuilder |
SQLiteConditionBuilder.addValue(java.lang.String value) |