Class KeysSupport
java.lang.Object
io.micronaut.serde.KeysSupport
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeysCreate a key set for the supplied keys.static KeysCreate a key set for the supplied keys.static KeyscreateWithMetadata(List<KeyDescriptor> keys) Create a key set with metadata available to backend-specific key providers.static KeyscreateWithMetadata(List<KeyDescriptor> keys, boolean caseInsensitive) Create a key set with metadata available to backend-specific key providers.static Object[]Find contributed key data by index.static intindexOf(KeysProvider provider) Find the contributed key data index for the given provider.
-
Method Details
-
create
-
create
-
createWithMetadata
Create a key set with metadata available to backend-specific key providers.- Parameters:
keys- The key descriptors- Returns:
- The key set
- Since:
- 3.2
-
createWithMetadata
Create a key set with metadata available to backend-specific key providers.- Parameters:
keys- The key descriptorscaseInsensitive- Whether key matching should be case-insensitive- Returns:
- The key set
- Since:
- 3.2
-
indexOf
Find the contributed key data index for the given provider.- Parameters:
provider- The keys provider- Returns:
- The contributed data index, or
-1if no provider contributes this type
-
get
-