@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DynamoDbBean
BeanTableSchema
must have this annotation. If a class is used as an attribute type within another
annotated DynamoDb class, either as a document or flattened with the DynamoDbFlatten
annotation, it will also
require this annotation to work automatically without an explicit AttributeConverter
.
Attribute Converter Providers
Using AttributeConverterProvider
s is optional and, if used, the supplied provider supersedes the default
converter provided by the table schema.
Note:
AttributeConverter
s for all types used in the schema.
(converterProviders = {CustomAttributeConverter.class, DefaultAttributeConverterProvider.class});
Example using DynamoDbBean
:
{@code
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends AttributeConverterProvider>[] |
converterProviders |
public abstract Class<? extends AttributeConverterProvider>[] converterProviders
Copyright © 2022. All rights reserved.