Uses of Package
org.springframework.data.convert
Package
Description
General purpose conversion framework to read objects from a data store abstraction and write it back.
-
ClassDescriptionAPI to easily set up
GenericConverter
instances using Java 8 lambdas, mostly in bidirectional fashion for easy registration as custom type converters of the Spring Data mapping subsystem.AConverterBuilder
aware of both a reading and writing converter.Exposes a reading converter.Interface to represent an intermediate setup step ofConverterBuilder.ConverterAware
defining a reading converter first.Exposes a writing converter.Interface to represent an intermediate setup step ofConverterBuilder.ConverterAware
defining a writing converter first.Value object to capture custom conversion.Value object holding the actualCustomConversions.StoreConversions
and customconverters
configured for registration.Value type to capture store-specific extensions to theCustomConversions
.Interface to read object from store specific sources.Interface to write objects into store specific sinks.PropertyValueConversions
provides access toconverters
that may only be applied to a specificproperty
.PropertyValueConverter
provides a symmetric way of converting certain properties from domain to store-specific values.No-opPropertyValueConverter
implementation.A factory providingvalue converters
.Configuration class used to register aPropertyValueConverter
with aSimplePropertyValueConverterRegistry
that can be used inPropertyValueConversions
.Helper class used to build a fluent API to register how to read a database value into a domain object property.Helper class used to build up a fluent registration API starting with writing.Annotation to clarify intended usage of aConverter
as reading converter in case the conversion types leave room for disambiguation.Interface to abstract implementations of how to access a type alias from a given source or sink.Interface to abstract the mapping from a type alias to the actual type.Interface to define strategies how to store type information in a store specific sink or source.TheValueConversionContext
provides access to the store-specificPersistentProperty
and allows to call the store-default conversion through the read/write methods.A registry ofproperty-specific
value converters
to convert only specific properties/values of an object.Annotation to clarify intended usage of aConverter
as writing converter in case the conversion types leave room for disambiguation.