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 |
---|---|
List<Expression> |
getColumns()
Gets the columns.
|
Expression |
getTable()
Gets the table.
|
Expression |
getWhere()
Gets the WHERE expression.
|
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, withNoLock
public Update(Expression table)
Update
.table
- The table to update.public Update set(Expression... exps)
exps
- The expressions.public String translate()
Expression
translate
in class Expression
public Expression getTable()
public List<Expression> getColumns()
public Expression getWhere()
public Update set(Collection<? extends Expression> exps)
exps
- The expressions.public Update where(Expression where)
where
- The WHERE expression.Copyright © 2014 Feedzai. All Rights Reserved.