public class Update extends Object implements Statement
Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
void |
accept(StatementVisitor statementVisitor) |
List<Column> |
getColumns()
The
Column s in this update (as col1 and
col2 in UPDATE col1='a', col2='b') |
List<Expression> |
getExpressions()
The
Expression s in this update (as 'a' and 'b' in UPDATE
col1='a', col2='b') |
FromItem |
getFromItem() |
List<Join> |
getJoins() |
Select |
getSelect() |
List<Table> |
getTables() |
Expression |
getWhere() |
boolean |
isUseColumnsBrackets() |
boolean |
isUseSelect() |
void |
setColumns(List<Column> list) |
void |
setExpressions(List<Expression> list) |
void |
setFromItem(FromItem fromItem) |
void |
setJoins(List<Join> joins) |
void |
setSelect(Select select) |
void |
setTables(List<Table> list) |
void |
setUseColumnsBrackets(boolean useColumnsBrackets) |
void |
setUseSelect(boolean useSelect) |
void |
setWhere(Expression expression) |
String |
toString() |
public void accept(StatementVisitor statementVisitor)
public Expression getWhere()
public void setWhere(Expression expression)
public List<Column> getColumns()
Column
s in this update (as col1 and
col2 in UPDATE col1='a', col2='b')Column
spublic List<Expression> getExpressions()
Expression
s in this update (as 'a' and 'b' in UPDATE
col1='a', col2='b')Expression
spublic void setExpressions(List<Expression> list)
public FromItem getFromItem()
public void setFromItem(FromItem fromItem)
public Select getSelect()
public void setSelect(Select select)
public boolean isUseColumnsBrackets()
public void setUseColumnsBrackets(boolean useColumnsBrackets)
public boolean isUseSelect()
public void setUseSelect(boolean useSelect)
Copyright © 2006–2018 TinyGroup. All rights reserved.