public class UpdateMapper extends QueryMapper
QueryMapper that maps Update to update assignments.QueryMapper.Field, QueryMapper.MetadataBackedField| Constructor and Description |
|---|
UpdateMapper(R2dbcDialect dialect,
R2dbcConverter converter)
Creates a new
QueryMapper with the given R2dbcConverter. |
| Modifier and Type | Method and Description |
|---|---|
BoundAssignments |
getMappedObject(BindMarkers markers,
Map<org.springframework.data.relational.core.sql.SqlIdentifier,? 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)
Deprecated.
|
BoundAssignments |
getMappedObject(BindMarkers markers,
org.springframework.data.relational.core.query.Update update,
org.springframework.data.relational.core.sql.Table table,
org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
|
convertValue, getBindValue, getBindValue, getMappedObject, getMappedObject, getMappedObject, getMappedObject, getMappedSort, getMappingContext, toSqlpublic UpdateMapper(R2dbcDialect dialect, R2dbcConverter converter)
QueryMapper with the given R2dbcConverter.dialect - must not be null.converter - must not be null.@Deprecated public BoundAssignments getMappedObject(BindMarkers markers, Update update, org.springframework.data.relational.core.sql.Table table, @Nullable org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity)
getMappedObject(BindMarkers, org.springframework.data.relational.core.query.Update, Table, RelationalPersistentEntity)
instead.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, org.springframework.data.relational.core.query.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<org.springframework.data.relational.core.sql.SqlIdentifier,? 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–2021 Pivotal Software, Inc.. All rights reserved.