Querydsl is based on the following basic expression hierarchy :
See the javadocs for more information.
Expr
General expressions
- eq(...) - this equals given
- ne(...) - this not equals given
- in(...) - this in given collection or array
- notIn(...) - this not in given collection or array
EComparable
Comparable expressions
- after(...) - this after given
- aoe(...) - this after or equals given
- asc() - ascending order
- before(...) - this before given
- boe(...) - this before or equals given
- between(...) - this between given values
- desc() - descending order
- notBetween(...) - this not beween given values
- stringValue() - cast to String
EBoolean
Boolean expressions
- and(...) - this and given
- or(...) - this or given
- not() - not this
ENumber
Numeric expressions
- byteValue() - byte value of this
- doubleValue() - double value of this
- floatValue() - float value of this
- intValue() - int value of this
- longValue() - long value of this
- shortValue() - short value of this
- goe(...) - this greater than or equals given
- gt(...) - this greater than given
- loe(...) - this less than or equals given
- lt(...) - this less than given
EString
String expressions
- add(...) - concatenation
- charAt(...)
- concat(...) - concatenation
- contains(...)
- endsWith(...)
- equalsIgnoreCase
- indexOf(...)
- lastIndexOf(...)
- length()
- like(..) - this like given
- lower() - lowercase of this
- startsWith(...)
- substring(...)
- trim() - trimmed version
- upper() - uppercase of this
EConstant
Constant expressions
EConstructor
Constructors
EArrayConstructor
Array constructor
EEmbeddable
Embeddable expressions
EEntity
Entity expressions