Class R2dbcCustomConversions
java.lang.Object
org.springframework.data.convert.CustomConversions
org.springframework.data.r2dbc.convert.R2dbcCustomConversions
Value object to capture custom conversion.
R2dbcCustomConversions also act as factory for
SimpleTypeHolder- Author:
- Mark Paluch, Jens Schauder
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.convert.CustomConversions
CustomConversions.ConverterConfiguration, CustomConversions.ConverterRegistrationIntent, CustomConversions.StoreConversions -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedR2dbcCustomConversions(CustomConversions.ConverterConfiguration converterConfiguration) R2dbcCustomConversions(CustomConversions.StoreConversions storeConversions, Collection<?> converters) Create a newR2dbcCustomConversionsinstance registering the given converters. -
Method Summary
Modifier and TypeMethodDescriptionstatic R2dbcCustomConversionsof(R2dbcDialect dialect, Object... converters) static R2dbcCustomConversionsof(R2dbcDialect dialect, Collection<?> converters) Methods inherited from class org.springframework.data.convert.CustomConversions
getCustomWriteTarget, getCustomWriteTarget, getPropertyValueConversions, getSimpleTypeHolder, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, hasValueConverter, isSimpleType, registerConvertersIn
-
Field Details
-
STORE_CONVERTERS
-
STORE_CONVERSIONS
-
-
Constructor Details
-
R2dbcCustomConversions
public R2dbcCustomConversions(CustomConversions.StoreConversions storeConversions, Collection<?> converters) Create a newR2dbcCustomConversionsinstance registering the given converters.- Parameters:
storeConversions- must not be null.converters- must not be null.
-
R2dbcCustomConversions
-
-
Method Details
-
of
- Parameters:
dialect- must not be null.converters- must not be null.- Returns:
- the custom conversions object.
- Since:
- 1.2
-
of
- Parameters:
dialect- must not be null.converters- must not be null.- Returns:
- the custom conversions object.
- Since:
- 1.2
-