public class With extends Expression
alias, enclosed, joins, ordering, properties, quotes, translator, withNoLock| Constructor and Description |
|---|
With(String alias,
Expression expression)
Creates a new WITH expression.
|
| Modifier and Type | Method and Description |
|---|---|
With |
andWith(String alias,
Expression expression)
Adds an alias and expression to the with clause.
|
List<org.apache.commons.lang3.tuple.ImmutablePair<Name,Expression>> |
getClauses()
Gets the clauses.
|
Expression |
getThen()
Gets the then expression.
|
With |
then(Expression thenExpression)
Sets the expression to be executed given the clauses.
|
String |
translate()
Translates the expression.
|
alias, asc, desc, enclose, fullOuterJoin, getAlias, getJoins, getOrdering, innerJoin, isAliased, isEnclosed, isQuote, isQuotes, isWithNoLock, leftOuterJoin, rightOuterJoin, unquote, withNoLockpublic With(String alias, Expression expression)
alias - expression alias.expression - expression to be aliased.public List<org.apache.commons.lang3.tuple.ImmutablePair<Name,Expression>> getClauses()
public Expression getThen()
public With andWith(String alias, Expression expression)
alias - expression aliasexpression - expression to be aliased.public With then(Expression thenExpression)
thenExpression - expression to be executed given the clauses.public String translate()
Expressiontranslate in class ExpressionCopyright © 2021 Feedzai. All rights reserved.