public class Insert extends Object implements Statement
columnNames
matches
an item in itemsList
Constructor and Description |
---|
Insert() |
Modifier and Type | Method and Description |
---|---|
void |
accept(StatementVisitor statementVisitor) |
List<Column> |
getColumns()
Get the columns (found in "INSERT INTO (col1,col2..) [...]" )
|
ItemsList |
getItemsList()
Get the values (as VALUES (...) or SELECT)
|
List<SelectExpressionItem> |
getReturningExpressionList() |
Select |
getSelect() |
Table |
getTable() |
boolean |
isReturningAllColumns() |
boolean |
isUseSelectBrackets() |
boolean |
isUseValues() |
void |
setColumns(List<Column> list) |
void |
setItemsList(ItemsList list) |
void |
setReturningAllColumns(boolean returningAllColumns) |
void |
setReturningExpressionList(List<SelectExpressionItem> returningExpressionList) |
void |
setSelect(Select select) |
void |
setTable(Table name) |
void |
setUseSelectBrackets(boolean useSelectBrackets) |
void |
setUseValues(boolean useValues) |
String |
toString() |
public void accept(StatementVisitor statementVisitor)
public Table getTable()
public void setTable(Table name)
public List<Column> getColumns()
Column
public ItemsList getItemsList()
public void setItemsList(ItemsList list)
public boolean isUseValues()
public void setUseValues(boolean useValues)
public boolean isReturningAllColumns()
public void setReturningAllColumns(boolean returningAllColumns)
public List<SelectExpressionItem> getReturningExpressionList()
public void setReturningExpressionList(List<SelectExpressionItem> returningExpressionList)
public Select getSelect()
public void setSelect(Select select)
public boolean isUseSelectBrackets()
public void setUseSelectBrackets(boolean useSelectBrackets)
Copyright © 2006–2018 TinyGroup. All rights reserved.