Package io.ebean.typequery
Class PString<R>
- java.lang.Object
-
- io.ebean.typequery.TQProperty<R>
-
- io.ebean.typequery.TQPropertyBase<R>
-
- io.ebean.typequery.PBaseValueEqual<R,T>
-
- io.ebean.typequery.PBaseCompareable<R,String>
-
- io.ebean.typequery.PString<R>
-
- Type Parameters:
R- the root query bean type
public class PString<R> extends PBaseCompareable<R,String>
String property.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rcontains(String value)Contains - uses a like with '%' wildcard added to the beginning and end.RendsWith(String value)Ends with - uses a like with '%' wildcard added to the beginning.Ricontains(String value)Case insensitive contains.RiendsWith(String value)Case insensitive ends with.Rieq(String value)Case insensitive is equal to.RiequalTo(String value)Case insensitive is equal to.Rilike(String value)Case insensitive like.RistartsWith(String value)Case insensitive starts with.Rlike(String value)Like - include '%' and '_' placeholders as necessary.Rmatch(String value)Add a full text "Match" expression.RstartsWith(String value)Starts with - uses a like with '%' wildcard added to the end.-
Methods inherited from class io.ebean.typequery.PBaseCompareable
between, ge, greaterOrEqualTo, greaterThan, greaterThanOrNull, gt, inRange, inRangeWith, le, lessOrEqualTo, lessThan, lessThanOrNull, lt
-
Methods inherited from class io.ebean.typequery.PBaseValueEqual
asMapKey, eq, equalTo, equalToOrNull, in, in, inOrEmpty, isIn, isIn, ne, notEqualTo, notIn, notIn
-
Methods inherited from class io.ebean.typequery.TQPropertyBase
asc, desc
-
Methods inherited from class io.ebean.typequery.TQProperty
isNotNull, isNull, toString
-
-
-
-
Method Detail
-
ieq
public R ieq(String value)
Case insensitive is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
iequalTo
public R iequalTo(String value)
Case insensitive is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
like
public R like(String value)
Like - include '%' and '_' placeholders as necessary.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
startsWith
public R startsWith(String value)
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
public R endsWith(String value)
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
public R contains(String value)
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
public R ilike(String value)
Case insensitive like.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
istartsWith
public R istartsWith(String value)
Case insensitive starts with.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
iendsWith
public R iendsWith(String value)
Case insensitive ends with.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
icontains
public R icontains(String value)
Case insensitive contains.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
-