public class Replace extends Object implements Statement
| Constructor and Description |
|---|
Replace() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StatementVisitor statementVisitor) |
List<Column> |
getColumns()
A list of
Columns either from a "REPLACE
mytab (col1, col2) [...]" or a "REPLACE mytab SET col1=exp1, col2=exp2". |
List<Expression> |
getExpressions()
A list of
Expressions (from a
"REPLACE mytab SET col1=exp1, col2=exp2"). |
ItemsList |
getItemsList()
An
ItemsList (either from a "REPLACE mytab VALUES (exp1,exp2)" or
a "REPLACE mytab SELECT * FROM mytab2") it is null in case of a "REPLACE
mytab SET col1=exp1, col2=exp2" |
Table |
getTable() |
boolean |
isUseValues() |
void |
setColumns(List<Column> list) |
void |
setExpressions(List<Expression> list) |
void |
setItemsList(ItemsList list) |
void |
setTable(Table name) |
void |
setUseValues(boolean useValues) |
String |
toString() |
public void accept(StatementVisitor statementVisitor)
public Table getTable()
public void setTable(Table name)
public List<Column> getColumns()
Columns either from a "REPLACE
mytab (col1, col2) [...]" or a "REPLACE mytab SET col1=exp1, col2=exp2".Columnspublic ItemsList getItemsList()
ItemsList (either from a "REPLACE mytab VALUES (exp1,exp2)" or
a "REPLACE mytab SELECT * FROM mytab2") it is null in case of a "REPLACE
mytab SET col1=exp1, col2=exp2"public void setItemsList(ItemsList list)
public List<Expression> getExpressions()
Expressions (from a
"REPLACE mytab SET col1=exp1, col2=exp2"). public void setExpressions(List<Expression> list)
public boolean isUseValues()
public void setUseValues(boolean useValues)
Copyright © 2006–2018 TinyGroup. All rights reserved.