Class PBaseString<R,T>
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 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 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 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 TQPropertyBase
asc, descMethods inherited from class 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
-
ne
-
gt
-
gtOrNull
-
ge
-
geOrNull
-
lt
-
ltOrNull
-
le
-
leOrNull
-
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
-
ieq
-
iequalTo
-
like
-
startsWith
-
endsWith
-
contains
-
ilike
-
istartsWith
-
iendsWith
-
icontains
-
PBaseValueEqual.eq(Object).