public class R2dbcCustomConversions extends CustomConversions
R2dbcCustomConversions
also act as factory for
SimpleTypeHolder
CustomConversions
,
SimpleTypeHolder
CustomConversions.ConverterConfiguration, CustomConversions.ConverterRegistrationIntent, CustomConversions.StoreConversions
Modifier and Type | Field and Description |
---|---|
static CustomConversions.StoreConversions |
STORE_CONVERSIONS |
static List<Object> |
STORE_CONVERTERS |
Constructor and Description |
---|
R2dbcCustomConversions(Collection<?> converters)
Deprecated.
since 1.3, use
of(R2dbcDialect, Object...) or
#R2dbcCustomConversions(StoreConversions, Collection) directly to consider dialect-native
simple types. Use CustomConversions.StoreConversions#NONE to omit store-specific converters. |
R2dbcCustomConversions(CustomConversions.StoreConversions storeConversions,
Collection<?> converters)
Create a new
R2dbcCustomConversions instance registering the given converters. |
Modifier and Type | Method and Description |
---|---|
static R2dbcCustomConversions |
of(R2dbcDialect dialect,
Collection<?> converters)
|
static R2dbcCustomConversions |
of(R2dbcDialect dialect,
Object... converters)
|
getCustomWriteTarget, getCustomWriteTarget, getSimpleTypeHolder, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, isSimpleType, registerConvertersIn
public static final CustomConversions.StoreConversions STORE_CONVERSIONS
@Deprecated public R2dbcCustomConversions(Collection<?> converters)
of(R2dbcDialect, Object...)
or
#R2dbcCustomConversions(StoreConversions, Collection)
directly to consider dialect-native
simple types. Use CustomConversions.StoreConversions#NONE
to omit store-specific converters.R2dbcCustomConversions
instance registering the given converters.converters
- must not be null.public R2dbcCustomConversions(CustomConversions.StoreConversions storeConversions, Collection<?> converters)
R2dbcCustomConversions
instance registering the given converters.storeConversions
- must not be null.converters
- must not be null.public static R2dbcCustomConversions of(R2dbcDialect dialect, Object... converters)
dialect
- must not be null.converters
- must not be null.public static R2dbcCustomConversions of(R2dbcDialect dialect, Collection<?> converters)
dialect
- must not be null.converters
- must not be null.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.