|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.DslExpression<T> com.mysema.query.types.expr.SimpleExpression<T> com.mysema.query.types.expr.ComparableExpressionBase<T> com.mysema.query.types.expr.ComparableExpression<String> com.mysema.query.types.expr.StringExpression
public abstract class StringExpression
StringExpression represents String expressions
String
,
Serialized FormField Summary |
---|
Fields inherited from class com.mysema.query.types.expr.DslExpression |
---|
mixin |
Constructor Summary | |
---|---|
StringExpression(Expression<String> mixin)
|
Method Summary | |
---|---|
StringExpression |
append(Expression<String> str)
Get the concatenation of this and str |
StringExpression |
append(String str)
Get the concatenation of this and str |
StringExpression |
as(Path<String> alias)
Create an alias for the expression |
StringExpression |
as(String alias)
Create an alias for the expression |
SimpleExpression<Character> |
charAt(Expression<Integer> i)
Get the character at the given index |
SimpleExpression<Character> |
charAt(int i)
Get the character at the given index |
StringExpression |
concat(Expression<String> str)
Get the concatenation of this and str |
StringExpression |
concat(String str)
Get the concatenation of this and str |
BooleanExpression |
contains(Expression<String> str)
Returns true if the given String is contained |
BooleanExpression |
contains(String str)
Returns true if the given String is contained |
BooleanExpression |
containsIgnoreCase(Expression<String> str)
|
BooleanExpression |
containsIgnoreCase(String str)
|
BooleanExpression |
endsWith(Expression<String> str)
Returns true if this ends with str |
BooleanExpression |
endsWith(String str)
Returns true if this ends with str |
BooleanExpression |
endsWithIgnoreCase(Expression<String> str)
|
BooleanExpression |
endsWithIgnoreCase(String str)
|
BooleanExpression |
equalsIgnoreCase(Expression<String> str)
Compares this StringExpression to another StringExpression , ignoring case
considerations. |
BooleanExpression |
equalsIgnoreCase(String str)
Compares this StringExpression to another StringExpression , ignoring case
considerations. |
NumberExpression<Integer> |
indexOf(Expression<String> str)
Get the index of the given substring in this String |
NumberExpression<Integer> |
indexOf(Expression<String> str,
int i)
Get the index of the given substring in this String, starting from the given index |
NumberExpression<Integer> |
indexOf(String str)
Get the index of the given substring in this String |
NumberExpression<Integer> |
indexOf(String str,
int i)
Get the index of the given substring in this String, starting from the given index |
BooleanExpression |
isEmpty()
Return true if this String is empty |
BooleanExpression |
isNotEmpty()
Return true if this String is not empty |
NumberExpression<Integer> |
length()
Return the length of this String |
BooleanExpression |
like(Expression<String> str)
Expr: this like str |
BooleanExpression |
like(Expression<String> str,
char escape)
Expr: this like str |
BooleanExpression |
like(String str)
Expr: this like str |
BooleanExpression |
like(String str,
char escape)
Expr: this like str |
NumberExpression<Integer> |
locate(Expression<String> str)
Get the position of the given String in this String, the first position is 1 |
NumberExpression<Integer> |
locate(Expression<String> str,
NumberExpression<Integer> start)
Get the position of the given String in this String, the first position is 1 |
NumberExpression<Integer> |
locate(String str)
Get the position of the given String in this String, the first position is 1 |
NumberExpression<Integer> |
locate(String str,
int start)
Get the position of the given String in this String, the first position is 1 |
StringExpression |
lower()
Get the lower case form |
BooleanExpression |
matches(Expression<String> regex)
Return true if this String matches the given regular expression |
BooleanExpression |
matches(String regex)
Return true if this String matches the given regular expression |
StringExpression |
max()
Get the maximum value of this expression (aggregation) |
StringExpression |
min()
Get the minimum value of this expression (aggregation) |
BooleanExpression |
notEqualsIgnoreCase(Expression<String> str)
Compares this StringExpression to another StringExpression , ignoring case
considerations. |
BooleanExpression |
notEqualsIgnoreCase(String str)
Compares this StringExpression to another StringExpression , ignoring case
considerations. |
BooleanExpression |
notLike(Expression<String> str)
Expr: this not like str |
BooleanExpression |
notLike(Expression<String> str,
char escape)
Expr: this not like str |
BooleanExpression |
notLike(String str)
Expr: this not like str |
BooleanExpression |
notLike(String str,
char escape)
Expr: this not like str |
StringExpression |
prepend(Expression<String> str)
Prepend the given String and return the result |
StringExpression |
prepend(String str)
Prepend the given String and return the result |
BooleanExpression |
startsWith(Expression<String> str)
Return true if this starts with str |
BooleanExpression |
startsWith(String str)
Return true if this starts with str |
BooleanExpression |
startsWithIgnoreCase(Expression<String> str)
|
BooleanExpression |
startsWithIgnoreCase(String str)
|
StringExpression |
stringValue()
Get a cast to String expression |
StringExpression |
substring(Expression<Integer> beginIndex)
Get the given substring |
StringExpression |
substring(Expression<Integer> beginIndex,
Expression<Integer> endIndex)
Get the given substring |
StringExpression |
substring(int beginIndex)
Get the given substring |
StringExpression |
substring(int beginIndex,
int endIndex)
Get the given substring |
StringExpression |
toLowerCase()
Get the lower case form |
StringExpression |
toUpperCase()
Get the upper case form |
StringExpression |
trim()
Get a copy of the string, with leading and trailing whitespace omitted. |
StringExpression |
upper()
Get the upper case form |
Methods inherited from class com.mysema.query.types.expr.ComparableExpression |
---|
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase |
---|
asc, castToNum, coalesce, coalesce, desc |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, when, when |
Methods inherited from class com.mysema.query.types.expr.DslExpression |
---|
equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Expression |
---|
accept |
Constructor Detail |
---|
public StringExpression(Expression<String> mixin)
Method Detail |
---|
public StringExpression as(Path<String> alias)
SimpleExpression
as
in class ComparableExpression<String>
public StringExpression as(String alias)
SimpleExpression
as
in class ComparableExpression<String>
public StringExpression append(Expression<String> str)
str
-
public StringExpression append(String str)
str
-
public SimpleExpression<Character> charAt(Expression<Integer> i)
i
-
String.charAt(int)
public SimpleExpression<Character> charAt(int i)
i
-
String.charAt(int)
public StringExpression concat(Expression<String> str)
str
-
public StringExpression concat(String str)
str
-
public BooleanExpression contains(Expression<String> str)
str
-
String.contains(CharSequence)
public BooleanExpression contains(String str)
str
-
String.contains(CharSequence)
public BooleanExpression containsIgnoreCase(Expression<String> str)
str
-
public BooleanExpression containsIgnoreCase(String str)
str
-
public BooleanExpression endsWith(Expression<String> str)
str
-
String.endsWith(String)
public BooleanExpression endsWithIgnoreCase(Expression<String> str)
str
-
public BooleanExpression endsWith(String str)
str
-
String.endsWith(String)
public BooleanExpression endsWithIgnoreCase(String str)
str
-
public BooleanExpression equalsIgnoreCase(Expression<String> str)
StringExpression
to another StringExpression
, ignoring case
considerations.
str
-
String.equalsIgnoreCase(String)
public BooleanExpression equalsIgnoreCase(String str)
StringExpression
to another StringExpression
, ignoring case
considerations.
str
-
String.equalsIgnoreCase(String)
public NumberExpression<Integer> indexOf(Expression<String> str)
str
-
String.indexOf(String)
public NumberExpression<Integer> indexOf(String str)
str
-
String.indexOf(String)
public NumberExpression<Integer> indexOf(String str, int i)
str
- i
-
String.indexOf(String, int)
public NumberExpression<Integer> indexOf(Expression<String> str, int i)
str
- i
-
public BooleanExpression isEmpty()
String.isEmpty()
public BooleanExpression isNotEmpty()
String.isEmpty()
public NumberExpression<Integer> length()
String.length()
public BooleanExpression like(String str)
this like str
str
-
public BooleanExpression like(Expression<String> str)
this like str
str
-
public BooleanExpression like(String str, char escape)
this like str
str
-
public BooleanExpression like(Expression<String> str, char escape)
this like str
str
-
public NumberExpression<Integer> locate(Expression<String> str)
str
-
public NumberExpression<Integer> locate(String str)
str
-
public NumberExpression<Integer> locate(Expression<String> str, NumberExpression<Integer> start)
str
-
public NumberExpression<Integer> locate(String str, int start)
str
-
public StringExpression lower()
String.toLowerCase()
public BooleanExpression matches(Expression<String> regex)
regex
-
String.matches(String)
public BooleanExpression matches(String regex)
regex
-
String.matches(String)
public StringExpression max()
public StringExpression min()
public BooleanExpression notEqualsIgnoreCase(Expression<String> str)
StringExpression
to another StringExpression
, ignoring case
considerations.
str
-
String.equalsIgnoreCase(String)
public BooleanExpression notEqualsIgnoreCase(String str)
StringExpression
to another StringExpression
, ignoring case
considerations.
str
-
String.equalsIgnoreCase(String)
public BooleanExpression notLike(String str)
this not like str
str
-
public BooleanExpression notLike(Expression<String> str)
this not like str
str
-
public BooleanExpression notLike(String str, char escape)
this not like str
str
-
public BooleanExpression notLike(Expression<String> str, char escape)
this not like str
str
-
public StringExpression prepend(Expression<String> str)
str
-
public StringExpression prepend(String str)
str
-
public BooleanExpression startsWith(Expression<String> str)
str
-
String.startsWith(String)
public BooleanExpression startsWithIgnoreCase(Expression<String> str)
str
-
public BooleanExpression startsWith(String str)
str
-
String.startsWith(String)
public BooleanExpression startsWithIgnoreCase(String str)
str
-
public StringExpression stringValue()
ComparableExpressionBase
stringValue
in class ComparableExpressionBase<String>
Object.toString()
public StringExpression substring(int beginIndex)
beginIndex
-
String.substring(int)
public StringExpression substring(int beginIndex, int endIndex)
beginIndex
- endIndex
-
String.substring(int, int)
public StringExpression substring(Expression<Integer> beginIndex)
beginIndex
-
String.substring(int)
public StringExpression substring(Expression<Integer> beginIndex, Expression<Integer> endIndex)
beginIndex
- endIndex
-
String.substring(int, int)
public StringExpression toLowerCase()
String.toLowerCase()
public StringExpression toUpperCase()
String.toUpperCase()
public StringExpression trim()
String.trim()
public StringExpression upper()
String.toUpperCase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |