Modifier and Type | Field and Description |
---|---|
private java.util.List<Column> |
columns |
private ItemsList |
itemsList |
private boolean |
orReplace |
private Table |
table |
private boolean |
useValues |
Constructor and Description |
---|
Insert() |
Modifier and Type | Method and Description |
---|---|
void |
accept(StatementVisitor statementVisitor) |
java.util.List<Column> |
getColumns()
Get the columns (found in "INSERT INTO (col1,col2..) [...]" )
|
ItemsList |
getItemsList()
Get the values (as VALUES (...) or SELECT)
|
Table |
getTable() |
boolean |
isOrReplace() |
boolean |
isUseValues() |
void |
setColumns(java.util.List<Column> list) |
void |
setIsOrReplace(boolean orReplace) |
void |
setItemsList(ItemsList list) |
void |
setTable(Table name) |
void |
setUseValues(boolean useValues) |
java.lang.String |
toString() |
private Table table
private java.util.List<Column> columns
private ItemsList itemsList
private boolean useValues
private boolean orReplace
public void accept(StatementVisitor statementVisitor)
public Table getTable()
public void setTable(Table name)
public java.util.List<Column> getColumns()
Column
public void setColumns(java.util.List<Column> list)
public ItemsList getItemsList()
public void setItemsList(ItemsList list)
public boolean isUseValues()
public void setUseValues(boolean useValues)
public boolean isOrReplace()
public void setIsOrReplace(boolean orReplace)
public java.lang.String toString()
toString
in class java.lang.Object