Class StatementMapper.InsertSpec
java.lang.Object
org.springframework.data.r2dbc.core.StatementMapper.InsertSpec
- Enclosing interface:
- StatementMapper
INSERT
specification.-
Constructor Summary
ModifierConstructorDescriptionprotected
InsertSpec
(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementMapper.InsertSpec
Create anINSERT
specification fortable
.static StatementMapper.InsertSpec
create
(SqlIdentifier table) Create anINSERT
specification fortable
.getTable()
withColumn
(String column, Parameter value) Associate a column with aParameter
and create a newStatementMapper.InsertSpec
.withColumn
(SqlIdentifier column, Parameter value) Associate a column with aParameter
and create a newStatementMapper.InsertSpec
.
-
Constructor Details
-
InsertSpec
-
-
Method Details
-
create
Create anINSERT
specification fortable
.- Parameters:
table
-- Returns:
- the
StatementMapper.InsertSpec
.
-
create
Create anINSERT
specification fortable
.- Parameters:
table
-- Returns:
- the
StatementMapper.InsertSpec
. - Since:
- 1.1
-
withColumn
Associate a column with aParameter
and create a newStatementMapper.InsertSpec
.- Parameters:
column
-value
-- Returns:
- the
StatementMapper.InsertSpec
. - Since:
- 1.2
-
withColumn
Associate a column with aParameter
and create a newStatementMapper.InsertSpec
.- Parameters:
column
-value
-- Returns:
- the
StatementMapper.InsertSpec
. - Since:
- 1.2
-
getTable
-
getAssignments
-