public class Insert extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
columns |
protected String |
comment |
protected String |
tableName |
Modifier and Type | Method and Description |
---|---|
Insert |
addColumn(String columnName) |
Insert |
addColumn(String columnName,
Object value,
LiteralType type) |
Insert |
addColumn(String columnName,
String valueExpression) |
Insert |
addColumns(String[] columnNames) |
Insert |
addColumns(String[] columnNames,
boolean[] insertable) |
Insert |
addColumns(String[] columnNames,
boolean[] insertable,
String[] valueExpressions) |
Insert |
addIdentityColumn(String columnName) |
protected Dialect |
getDialect() |
Insert |
setComment(String comment) |
Insert |
setTableName(String tableName) |
String |
toStatementString() |
public Insert(Dialect dialect)
protected Dialect getDialect()
public Insert addColumns(String[] columnNames, boolean[] insertable, String[] valueExpressions)
public Insert addColumn(String columnName, Object value, LiteralType type) throws Exception
Exception
public String toStatementString()
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.