public class R2dbcCustomConversions
extends org.springframework.data.convert.CustomConversions
R2dbcCustomConversions
also act as factory for
SimpleTypeHolder
CustomConversions
,
SimpleTypeHolder
org.springframework.data.convert.CustomConversions.ConverterConfiguration, org.springframework.data.convert.CustomConversions.ConverterRegistrationIntent, org.springframework.data.convert.CustomConversions.StoreConversions
Modifier and Type | Field and Description |
---|---|
static org.springframework.data.convert.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(org.springframework.data.convert.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)
|
public static final org.springframework.data.convert.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(org.springframework.data.convert.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–2023 Pivotal Software, Inc.. All rights reserved.