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

    Fields
    Modifier and Type
    Field
    Description
    static final org.springframework.data.convert.CustomConversions.StoreConversions
     
    static final List<Object>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    R2dbcCustomConversions(org.springframework.data.convert.CustomConversions.ConverterConfiguration converterConfiguration)
     
     
    R2dbcCustomConversions(org.springframework.data.convert.CustomConversions.StoreConversions storeConversions, Collection<?> converters)
    Create a new R2dbcCustomConversions instance registering the given converters.
  • Method Summary

    Modifier and Type
    Method
    Description
    of(R2dbcDialect dialect, Object... converters)
    Create a new R2dbcCustomConversions from the given R2dbcDialect and converters.
    of(R2dbcDialect dialect, Collection<?> converters)
    Create a new R2dbcCustomConversions from the given R2dbcDialect and converters.

    Methods inherited from class org.springframework.data.convert.CustomConversions

    getCustomWriteTarget, getCustomWriteTarget, getPropertyValueConversions, getSimpleTypeHolder, hasCustomReadTarget, hasCustomWriteTarget, hasCustomWriteTarget, hasValueConverter, isSimpleType, registerConvertersIn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • STORE_CONVERTERS

      public static final List<Object> 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 new R2dbcCustomConversions 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