public class When extends Expression
| Modifier and Type | Field and Description |
|---|---|
Expression |
action
The action to be executed if the condition is true.
|
Expression |
condition
The condition to verify.
|
alias, enclosed, joins, ordering, properties, quotes, translator, withNoLock| Modifier and Type | Method and Description |
|---|---|
String |
translate()
Translates the expression.
|
static When |
when(Expression condition,
Expression action)
Creates a new When expression.
|
alias, asc, desc, enclose, fullOuterJoin, getAlias, getJoins, getOrdering, innerJoin, isAliased, isEnclosed, isQuote, isQuotes, isWithNoLock, leftOuterJoin, rightOuterJoin, unquote, withNoLockpublic final Expression condition
public final Expression action
public static When when(Expression condition, Expression action)
condition - condition to verify.action - action to be executed if the condition is true.public String translate()
Expressiontranslate in class ExpressionCopyright © 2023 Feedzai. All rights reserved.