java.lang.Object
io.ebean.typequery.TQProperty<R,T>
io.ebean.typequery.TQPropertyBase<R,T>
io.ebean.typequery.PBaseValueEqual<R,T>
io.ebean.typequery.PBaseComparable<R,T>
io.ebean.typequery.PBaseString<R,T>
- Type Parameters:
R- the root query bean type
- All Implemented Interfaces:
io.ebean.Query.Property<T>
- Direct Known Subclasses:
PCidr,PClass,PCurrency,PInet,PInetAddress,PLocale,PTimeZone,PUri,PUrl,PZoneId,PZoneOffset
Base for property types that store as String Varchar types.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Method Summary
Modifier and TypeMethodDescriptionfinal RBetween lower and upper values.final RContains - uses a like with '%' wildcard added to the beginning and end.final REnds with - uses a like with '%' wildcard added to the beginning.final REqual to.final RequalToType(T value) Deprecated, for removal: This API element is subject to removal in a future version.final RGreater than or Equal to.final RGreater than or Equal to OR Null.final RGreater than.final RGreater than OR Null.final RCase-insensitive contains.final RCase-insensitive ends with.final RCase-insensitive is equal to.final RCase-insensitive is equal to.final RCase-insensitive like.final RGreater or equal to lower value and strictly less than upper value.final RistartsWith(String value) Case-insensitive starts with.final RLess than or Equal to.final RLess than or Equal to OR null.final RLike - include '%' and '_' placeholders as necessary.final RLess than.final RLess than OR Null.final RNot equal to.final RnotEqualToType(T value) Deprecated, for removal: This API element is subject to removal in a future version.migrate toPBaseValueEqual.ne(Object).final RstartsWith(String value) Starts with - uses a like with '%' wildcard added to the end.Methods inherited from class io.ebean.typequery.PBaseComparable
between, betweenProperties, ge, ge, ge, geIfPresent, geOrNull, geSubQuery, greaterOrEqualTo, greaterThan, greaterThanOrNull, gt, gt, gt, gtIfPresent, gtOrNull, gtSubQuery, inRange, inRangeWith, inRangeWith, le, le, le, leIfPresent, leOrNull, lessOrEqualTo, lessThan, lessThanOrNull, leSubQuery, lt, lt, lt, ltIfPresent, ltOrNull, ltSubQueryMethods inherited from class io.ebean.typequery.PBaseValueEqual
asMapKey, eq, eq, eq, eqIfPresent, eqOrNull, eqSubQuery, equalTo, equalToOrNull, in, in, in, inOrEmpty, inSubQuery, isIn, isIn, isIn, ne, ne, ne, neSubQuery, notEqualTo, notIn, notIn, notIn, notInSubQueryMethods inherited from class io.ebean.typequery.TQPropertyBase
asc, descMethods inherited from class io.ebean.typequery.TQProperty
expr, isNotNull, isNull, propertyName, toString
-
Method Details
-
equalToType
Deprecated, for removal: This API element is subject to removal in a future version.migrate toPBaseValueEqual.eq(Object).Is equal to. The same as
eqbut uses the strong type as argument rather than String.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
notEqualToType
Deprecated, for removal: This API element is subject to removal in a future version.migrate toPBaseValueEqual.ne(Object).Is not equal to. The same as
nebut uses the strong type as argument rather than String.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
eq
Equal to.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
ne
Not equal to.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
gt
Greater than.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
gtOrNull
Greater than OR Null.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
ge
Greater than or Equal to.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
geOrNull
Greater than or Equal to OR Null.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
lt
Less than.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
ltOrNull
Less than OR Null.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
le
Less than or Equal to.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
leOrNull
Less than or Equal to OR null.- Parameters:
value- the bind value- Returns:
- the root query bean instance
-
inRange
Greater or equal to lower value and strictly less than upper value.This is generally preferable over Between for date and datetime types as SQL Between is inclusive on the upper bound (
<=) and generally we need the upper bound to be exclusive (<).- Parameters:
lower- the lower bind value (>=)upper- the upper bind value (<)- Returns:
- the root query bean instance
-
between
Between lower and upper values.- Parameters:
lower- the lower bind valueupper- the upper bind value- Returns:
- the root query bean instance
-
ieq
Case-insensitive is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
iequalTo
Case-insensitive is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
like
Like - include '%' and '_' placeholders as necessary.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
startsWith
Starts with - uses a like with '%' wildcard added to the end.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
endsWith
Ends with - uses a like with '%' wildcard added to the beginning.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
contains
Contains - uses a like with '%' wildcard added to the beginning and end.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
ilike
Case-insensitive like.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
istartsWith
Case-insensitive starts with.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
iendsWith
Case-insensitive ends with.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
icontains
Case-insensitive contains.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
PBaseValueEqual.eq(Object).