Interface KeysProvider

All Known Implementing Classes:
BsonKeysProvider, JacksonKeysProvider

@Internal public interface KeysProvider
Service-loaded contributor for backend-specific key data.
Since:
3.1
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    Create backend-specific data for the supplied keys.
    default Object[]
    create(List<String> keys, boolean caseInsensitive)
    Create backend-specific data for the supplied keys.
    The contribution type supplied by this provider.
  • Method Details

    • keysType

      Class<?> keysType()
      The contribution type supplied by this provider.
      Returns:
      The contribution type
    • create

      Object[] create(List<String> keys)
      Create backend-specific data for the supplied keys. The returned value must be safe to reuse across encoder and decoder instances.
      Parameters:
      keys - The keys
      Returns:
      The backend-specific data
    • create

      default Object[] create(List<String> keys, boolean caseInsensitive)
      Create backend-specific data for the supplied keys. The returned value must be safe to reuse across encoder and decoder instances.
      Parameters:
      keys - The keys
      caseInsensitive - Whether key matching should be case-insensitive
      Returns:
      The backend-specific data