|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.types.ExpressionBase<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.SimpleExpression |
---|
primitive |
Fields inherited from class com.mysema.query.types.ExpressionBase |
---|
type |
Constructor Summary | |
---|---|
StringExpression()
|
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 EString to another EString , ignoring case
considerations. |
BooleanExpression |
equalsIgnoreCase(String str)
Compares this EString to another EString , 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(String str)
Expr: this like str |
BooleanExpression |
like(StringExpression str)
Expr: this like str |
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) |
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 |
SimpleExpression<String[]> |
split(String regex)
Split the given String with regex as the matcher for the separator |
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(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, gt, gt, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase |
---|
asc, castToNum, desc |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
count, countDistinct, eq, eq, equals, hashCode, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
Methods inherited from class com.mysema.query.types.ExpressionBase |
---|
getType, 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()
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)
EString
to another EString
, ignoring case
considerations.
str
-
String.equalsIgnoreCase(String)
public BooleanExpression equalsIgnoreCase(String str)
EString
to another EString
, 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(StringExpression str)
this like str
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 StringExpression prepend(Expression<String> str)
str
-
public StringExpression prepend(String str)
str
-
public SimpleExpression<String[]> split(String regex)
regex
-
String.split(String)
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 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 |