public static class StatementMapper.InsertSpec extends Object
INSERT specification.| Modifier | Constructor and Description |
|---|---|
protected |
InsertSpec(String table,
Map<String,SettableValue> assignments) |
| Modifier and Type | Method and Description |
|---|---|
static StatementMapper.InsertSpec |
create(String table)
Create an
INSERT specification for table. |
Map<String,SettableValue> |
getAssignments() |
String |
getTable() |
StatementMapper.InsertSpec |
withColumn(String column,
SettableValue value)
Associate a column with a
SettableValue and create a new StatementMapper.InsertSpec. |
protected InsertSpec(String table, Map<String,SettableValue> assignments)
public static StatementMapper.InsertSpec create(String table)
INSERT specification for table.table - StatementMapper.InsertSpec.public StatementMapper.InsertSpec withColumn(String column, SettableValue value)
SettableValue and create a new StatementMapper.InsertSpec.column - value - StatementMapper.InsertSpec.public String getTable()
public Map<String,SettableValue> getAssignments()
Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.