Class ConverterProviderResolver

java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.converter.ConverterProviderResolver

public final class ConverterProviderResolver extends Object
Static module to assist with the initialization of attribute converter providers for a StaticTableSchema.
  • Method Details

    • defaultConverterProvider

      public static AttributeConverterProvider defaultConverterProvider()
      Static provider for the default attribute converters that are bundled with the DynamoDB Enhanced Client. This provider will be used by default unless overridden in the static table schema builder or using bean annotations.
    • resolveProviders

      public static AttributeConverterProvider resolveProviders(List<AttributeConverterProvider> providers)
      Resolves a list of attribute converter providers into a single provider. If the list is a singleton, it will just return that provider, otherwise it will combine them into a ChainConverterProvider using the order provided in the list.
      Parameters:
      providers - A list of providers to be combined in strict order
      Returns:
      A single provider that combines all the supplied providers or null if no providers were supplied