public interface StringQueryExpression extends QueryExpression<String>
QueryExpression
of String
type.Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException
Modifier and Type | Method and Description |
---|---|
default QueryFilter |
contains(String value)
Build a contains query filter, checking if the property value contains given value, in a case-sentive
fashion.
|
default QueryFilter |
contains(String value,
boolean ignoreCase)
Build a contains query filter, checking if the property value contains given value.
|
default QueryFilter |
containsIgnoreCase(String value)
Build a contains query filter, checking if the property value contains given value, ignoring case.
|
default QueryFilter |
endsWith(String value)
Build a ends with query filter, checking if the property value ends with given value, in a case-sentive
fashion.
|
default QueryFilter |
endsWith(String value,
boolean ignoreCase)
Build a ends with query filter, checking if the property value ends with given value.
|
default QueryFilter |
endsWithIgnoreCase(String value)
Build a ends with query filter, checking if the property value ends with given value, ignoring case.
|
default StringFunction.Lower |
lower()
Creates a function to convert the String data into lowercase.
|
default QueryFilter |
startsWith(String value)
Build a starts with query filter, checking if the property value starts with given value, in a
case-sentive fashion.
|
default QueryFilter |
startsWith(String value,
boolean ignoreCase)
Build a starts with query filter, checking if the property value starts with given value.
|
default QueryFilter |
startsWithIgnoreCase(String value)
Build a starts with query filter, checking if the property value starts with given value, ignoring case.
|
default StringFunction.Upper |
upper()
Creates a function to convert the String data into uppercase.
|
between, count, eq, eq, goe, goe, gt, gt, in, in, in, isNotNull, isNull, loe, loe, lt, lt, max, min, neq, neq, nin, nin, nin
getTemporalType, getType, isCollectionExpression, isConverterExpression
validate
default QueryFilter contains(String value, boolean ignoreCase)
value
- Value which must be contained in expression value (not null)ignoreCase
- Whether to ignore casedefault QueryFilter startsWith(String value, boolean ignoreCase)
value
- Value with which the expression value must start with (not null)ignoreCase
- Whether to ignore casedefault QueryFilter endsWith(String value, boolean ignoreCase)
value
- Value with which the expression value must end with (not null)ignoreCase
- Whether to ignore casedefault QueryFilter contains(String value)
value
- Value which must be contained in expression valuedefault QueryFilter containsIgnoreCase(String value)
value
- Value which must be contained in expression valuedefault QueryFilter startsWith(String value)
value
- Value with which the expression value must start withdefault QueryFilter startsWithIgnoreCase(String value)
value
- Value with which the expression value must start withdefault QueryFilter endsWith(String value)
value
- Value with which the expression value must end withdefault QueryFilter endsWithIgnoreCase(String value)
value
- Value with which the expression value must end withdefault StringFunction.Lower lower()
The returned function is a QueryFunction.PropertyQueryFunction
, to allow inclusion in property sets and handling within
a PropertyBox
.
StringFunction.Lower
functiondefault StringFunction.Upper upper()
The returned function is a QueryFunction.PropertyQueryFunction
, to allow inclusion in property sets and handling within
a PropertyBox
.
StringFunction.Lower
functionCopyright © 2019 The Holon Platform. All rights reserved.