Class UpdateMapper
java.lang.Object
org.springframework.data.cassandra.core.convert.QueryMapper
org.springframework.data.cassandra.core.convert.UpdateMapper
Map
Update to CQL-specific data types.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.cassandra.core.convert.QueryMapper
QueryMapper.Field, QueryMapper.MetadataBackedField -
Constructor Summary
ConstructorsConstructorDescriptionUpdateMapper(CassandraConverter converter) Creates a newUpdateMapperwith the givenCassandraConverter. -
Method Summary
Modifier and TypeMethodDescriptiongetMappedObject(Update update, CassandraPersistentEntity<?> entity) Methods inherited from class org.springframework.data.cassandra.core.convert.QueryMapper
getConverter, getMappedColumnNames, getMappedObject, getMappedSelectors, getMappedSort, getMappingContext
-
Constructor Details
-
UpdateMapper
Creates a newUpdateMapperwith the givenCassandraConverter.- Parameters:
converter- must not be null.
-
-
Method Details
-
getMappedObject
Map aUpdatewith atype hint. Update mapping translates property names to column names and mapsupdate operationvalues to simple Cassandra values.- Parameters:
update- must not be null.entity- must not be null.- Returns:
- the mapped
Filter.
-