public class Update extends Expression
alias, enclosed, joins, ordering, properties, quotes, translator, withNoLock| Constructor and Description |
|---|
Update(Expression table)
Creates a new instance of
Update. |
| Modifier and Type | Method and Description |
|---|---|
Update |
from(Expression from)
Adds the FROM expression.
|
List<Expression> |
getColumns()
Gets the columns.
|
Expression |
getFrom()
Gets the FROM expression.
|
Expression |
getTable()
Gets the table.
|
Expression |
getWhere()
Gets the WHERE expression.
|
boolean |
hasFrom()
Checks whether the FROM expression is defined.
|
boolean |
hasWhere()
Checks whether the WHERE expression is defined.
|
Update |
set(Collection<? extends Expression> exps)
The set keyword.
|
Update |
set(Expression... exps)
The set keyword.
|
String |
translate()
Translates the expression.
|
Update |
where(Expression where)
Adds the WHERE expression.
|
alias, asc, desc, enclose, fullOuterJoin, getAlias, getJoins, getOrdering, innerJoin, isAliased, isEnclosed, isQuote, isQuotes, isWithNoLock, leftOuterJoin, rightOuterJoin, unquote, withNoLockpublic Update(Expression table)
Update.table - The table to update.public Update set(Expression... exps)
exps - The expressions.public String translate()
Expressiontranslate in class Expressionpublic Expression getTable()
public List<Expression> getColumns()
public Expression getFrom()
public boolean hasFrom()
public Expression getWhere()
public boolean hasWhere()
public Update set(Collection<? extends Expression> exps)
exps - The expressions.public Update from(Expression from)
from - The FROM expression.public Update where(Expression where)
where - The WHERE expression.Copyright © 2021 Feedzai. All rights reserved.