|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExpression
| Method Summary | |
|---|---|
IExpression |
allEq(Map<String,Object> propertyMap)
All Equal - Map containing property names and their values. |
IExpression |
and(IExpressionElement expressionOne,
IExpressionElement expressionTwo)
And - join two expressions with a logical and. |
IExpression |
eq(String property,
Object value)
Express the "Equals to" relation between an object's property and a fixed value. |
IExpression |
eqProperties(String firstProperty,
String secondProperty)
Express the "Equals to" relation between objects properties |
IExpression |
ge(String property,
Object value)
Express the "Greater or equals to" relation between an object's property and a fixed value. |
IExpression |
geProperties(String firstProperty,
String secondProperty)
Express the "Greater or equals to" relation between objects properties |
IExpression |
gt(String property,
Object value)
Express the "Greater than" relation between an object's property and a fixed value. |
IExpression |
gtProperties(String firstProperty,
String secondProperty)
Express the "Greater than" relation between objects properties |
IExpression |
ieq(String property,
String value)
Express the "Insensitive Equal To" between an object's property and a fixed value (it uses a lower() function to make both case insensitive). |
IExpression |
ieqProperties(String firstProperty,
String secondProperty)
Express the "Insensitive Equal To" bbetween objects properties (it uses a lower() function to make both case insensitive). |
IExpression |
ilike(String property,
String value)
Case insensitive Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore). |
IExpression |
in(String property,
Collection<?> values)
In - property has a value in the collection of values. |
IExpression |
in(String property,
IQuery subQuery)
In - using a subQuery. |
IExpression |
in(String property,
Object[] values)
In - property has a value in the array of values. |
IExpression |
isNotNull(String property)
Is Not Null - property is not null. |
IExpression |
isNull(String property)
Is Null - property is null. |
IExpression |
le(String property,
Object value)
Express the "Lesser or equals to" relation between an object's property and a fixed value. |
IExpression |
leProperties(String firstProperty,
String secondProperty)
Express the "Lesser or equals to" relation between objects properties |
IExpression |
like(String property,
String value)
Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore). |
IExpression |
lt(String property,
Object value)
Express the "Lesser than" relation between an object's property and a fixed value. |
IExpression |
ltProperties(String firstProperty,
String secondProperty)
Express the "Lesser than" relation between objects properties |
IExpression |
ne(String property,
Object value)
Express the "Not Equals to" relation between objects properties. |
IExpression |
neProperties(String firstProperty,
String secondProperty)
Express the "Not Equals to" relation between an object's property and a fixed value. |
IExpression |
nin(String property,
Collection<?> values)
Not In - property has a value in the collection of values. |
IExpression |
nin(String property,
IQuery subQuery)
Not In - using a subQuery. |
IExpression |
nin(String property,
Object[] values)
Not In - property has a value in the array of values. |
IExpression |
nlike(String property,
String value)
Not Like - property like value where the value contains the SQL wild card characters % (percentage) and _ (underscore). |
IExpression |
not(IExpressionElement expression)
Negate the expression (prefix it with NOT). |
IExpression |
or(IExpressionElement expressionOne,
IExpressionElement expressionTwo)
Or - join two expressions with a logical or. |
| Methods inherited from interface com.googlecode.jpattern.orm.query.IExpressionElement |
|---|
appendValues |
| Methods inherited from interface com.googlecode.jpattern.orm.query.IRenderableSqlObject |
|---|
renderSql, renderSql |
| Methods inherited from interface com.googlecode.jpattern.orm.query.INameSolverConsumer |
|---|
setNameSolver |
| Method Detail |
|---|
IExpression allEq(Map<String,Object> propertyMap)
propertyMap -
IExpression eq(String property,
Object value)
property - value -
IExpression eqProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression le(String property,
Object value)
property - value -
IExpression leProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression ge(String property,
Object value)
property - value -
IExpression geProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression lt(String property,
Object value)
property - value -
IExpression ltProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression gt(String property,
Object value)
property - value -
IExpression gtProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression ieq(String property,
String value)
propertyName - value -
IExpression ieqProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression ne(String property,
Object value)
property - value -
IExpression neProperties(String firstProperty,
String secondProperty)
firstProperty - secondProperty -
IExpression ilike(String property,
String value)
propertyName - value -
IExpression nin(String property,
Collection<?> values)
propertyName - values -
IExpression nin(String property,
Object[] values)
propertyName - values -
IExpression nin(String property,
IQuery subQuery)
propertyName - subQuery -
IExpression in(String property,
Collection<?> values)
propertyName - values -
IExpression in(String property,
Object[] values)
propertyName - values -
IExpression in(String property,
IQuery subQuery)
propertyName - subQuery -
IExpression isNotNull(String property)
propertyName -
IExpression isNull(String property)
propertyName -
IExpression like(String property,
String value)
propertyName - value -
IExpression nlike(String property,
String value)
propertyName - value - IExpression not(IExpressionElement expression)
exp -
IExpression or(IExpressionElement expressionOne,
IExpressionElement expressionTwo)
expOne - expTwo -
IExpression and(IExpressionElement expressionOne,
IExpressionElement expressionTwo)
expOne - expTwo -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||