java.lang.Object
io.ebean.typequery.TQProperty<R,String>
io.ebean.typequery.TQPropertyBase<R,String>
io.ebean.typequery.PBaseValueEqual<R,String>
io.ebean.typequery.PBaseComparable<R,String>
io.ebean.typequery.PString<R>
- Type Parameters:
R- the root query bean type
- All Implemented Interfaces:
io.ebean.Query.Property<String>
String property.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContains - uses a like with '%' wildcard added to the beginning and end.Ends with - uses a like with '%' wildcard added to the beginning.Case insensitive contains.Case insensitive ends with.Case insensitive is equal to.Case insensitive is equal to.Case insensitive like.istartsWith(String value) Case insensitive starts with.Like - include '%' and '_' placeholders as necessary.Add a full text "Match" expression.startsWith(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
-
Constructor Details
-
PString
Construct with a property name and root instance.- Parameters:
name- property nameroot- the root query bean instance
-
PString
Construct with additional path prefix.
-
-
Method Details
-
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
-
match
Add a full text "Match" expression.This means the query will automatically execute against the document store (ElasticSearch).
- Parameters:
value- the match expression
-