public class StringOperation extends StringExpression implements Operation<String>
mixin
Modifier | Constructor and Description |
---|---|
protected |
StringOperation(Operator<? super String> op,
Expression<?>... args) |
protected |
StringOperation(Operator<? super String> op,
com.google.common.collect.ImmutableList<Expression<?>> args) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
static StringExpression |
create(Operator<? super String> op,
Expression<?>... args) |
static StringExpression |
create(Operator<? super String> op,
Expression<?> one) |
static StringExpression |
create(Operator<? super String> op,
Expression<?> one,
Expression<?> two) |
Expression<?> |
getArg(int index)
Get the argument with the given index
|
List<Expression<?>> |
getArgs()
Get the arguments of this operation
|
Operator<? super String> |
getOperator()
Get the operator symbol for this operation
|
append, append, as, as, charAt, charAt, concat, concat, contains, contains, containsIgnoreCase, containsIgnoreCase, endsWith, endsWith, endsWithIgnoreCase, endsWithIgnoreCase, equalsIgnoreCase, equalsIgnoreCase, indexOf, indexOf, indexOf, indexOf, isEmpty, isNotEmpty, length, like, like, like, like, locate, locate, locate, locate, lower, matches, matches, max, min, notEqualsIgnoreCase, notEqualsIgnoreCase, notLike, notLike, notLike, notLike, prepend, prepend, startsWith, startsWith, startsWithIgnoreCase, startsWithIgnoreCase, stringValue, substring, substring, substring, substring, substring, substring, toLowerCase, toUpperCase, trim, upper
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween
asc, castToNum, coalesce, coalesce, desc
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
protected StringOperation(Operator<? super String> op, Expression<?>... args)
protected StringOperation(Operator<? super String> op, com.google.common.collect.ImmutableList<Expression<?>> args)
public static StringExpression create(Operator<? super String> op, Expression<?> one)
public static StringExpression create(Operator<? super String> op, Expression<?> one, Expression<?> two)
public static StringExpression create(Operator<? super String> op, Expression<?>... args)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<String>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic Expression<?> getArg(int index)
Operation
public List<Expression<?>> getArgs()
Operation
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.