Class R2dbcCustomConversions
java.lang.Object
org.springframework.data.convert.CustomConversions
org.springframework.data.r2dbc.convert.R2dbcCustomConversions
public class R2dbcCustomConversions
extends org.springframework.data.convert.CustomConversions
Value object to capture custom conversion.
R2dbcCustomConversions
also act as factory for
SimpleTypeHolder
- Author:
- Mark Paluch, Jens Schauder
- See Also:
-
CustomConversions
SimpleTypeHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.convert.CustomConversions
org.springframework.data.convert.CustomConversions.ConverterConfiguration, org.springframework.data.convert.CustomConversions.ConverterRegistrationIntent, org.springframework.data.convert.CustomConversions.StoreConversions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.springframework.data.convert.CustomConversions.StoreConversions
-
Constructor Summary
ModifierConstructorDescriptionprotected
R2dbcCustomConversions
(org.springframework.data.convert.CustomConversions.ConverterConfiguration converterConfiguration) R2dbcCustomConversions
(org.springframework.data.convert.CustomConversions.StoreConversions storeConversions, Collection<?> converters) Create a newR2dbcCustomConversions
instance registering the given converters. -
Method Summary
Modifier and TypeMethodDescriptionstatic R2dbcCustomConversions
of
(R2dbcDialect dialect, Object... converters) static R2dbcCustomConversions
of
(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
public static final org.springframework.data.convert.CustomConversions.StoreConversions STORE_CONVERSIONS
-
-
Constructor Details
-
R2dbcCustomConversions
public R2dbcCustomConversions(org.springframework.data.convert.CustomConversions.StoreConversions storeConversions, Collection<?> converters) Create a newR2dbcCustomConversions
instance registering the given converters.- Parameters:
storeConversions
- must not be null.converters
- must not be null.
-
R2dbcCustomConversions
protected R2dbcCustomConversions(org.springframework.data.convert.CustomConversions.ConverterConfiguration converterConfiguration)
-
-
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
-