public class InsertStatementFormatter extends Object
| Constructor and Description |
|---|
InsertStatementFormatter(String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRowValues(List<net.sf.jsqlparser.schema.Column> columnsForValues,
net.sf.jsqlparser.expression.operators.relational.ExpressionList values)
Add a row with values for this insert statement.
|
String |
format()
Formats this insert statement.
|
public InsertStatementFormatter(String tableName)
public void addRowValues(List<net.sf.jsqlparser.schema.Column> columnsForValues, net.sf.jsqlparser.expression.operators.relational.ExpressionList values)
columnsForValues - the column list for the values being inserted.values - the values to insert. Each value must correspond to a column, in the same order.public String format()
Copyright © 2016. All rights reserved.