public class UpdateMapper extends QueryMapper
QueryMapper that maps Update to update assignments.QueryMapper.Field, QueryMapper.MetadataBackedField| Constructor and Description |
|---|
UpdateMapper(R2dbcConverter converter)
Creates a new
QueryMapper with the given R2dbcConverter. |
| Modifier and Type | Method and Description |
|---|---|
BoundAssignments |
getMappedObject(BindMarkers markers,
Map<String,? extends Object> assignments,
org.springframework.data.relational.core.sql.Table table,
org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
|
BoundAssignments |
getMappedObject(BindMarkers markers,
Update update,
org.springframework.data.relational.core.sql.Table table,
org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
|
convertValue, getMappedObject, getMappedObject, getMappingContextpublic UpdateMapper(R2dbcConverter converter)
QueryMapper with the given R2dbcConverter.converter - must not be null.public BoundAssignments getMappedObject(BindMarkers markers, Update update, org.springframework.data.relational.core.sql.Table table, @Nullable org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
markers - bind markers object, must not be null.update - update definition to map, must not be null.table - must not be null.entity - related RelationalPersistentEntity, can be null.BoundAssignments.public BoundAssignments getMappedObject(BindMarkers markers, Map<String,? extends Object> assignments, org.springframework.data.relational.core.sql.Table table, @Nullable org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
markers - bind markers object, must not be null.assignments - update/insert definition to map, must not be null.table - must not be null.entity - related RelationalPersistentEntity, can be null.BoundAssignments.Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.