Package software.amazon.awssdk.enhanced.dynamodb.mapper.annotations
package software.amazon.awssdk.enhanced.dynamodb.mapper.annotations
-
Annotation TypesClassDescriptionThis meta-annotation is not used directly in DynamoDb beans, it is used to annotate other annotations that are used with DynamoDb beans.Used to explicitly designate a field or getter or setter to participate as an attribute in the mapped database object with a custom name.Class level annotation that identifies this class as being a DynamoDb mappable entity.Associates a custom
AttributeConverter
with this attribute.This annotation is used to flatten all the attributes of a separate DynamoDb bean that is stored in the current bean object and add them as top level attributes to the record that is read and written to the database.Opts this attribute out of participating in the table schema.Specifies that when callingTableSchema.itemToMap(Object, boolean)
, a separate DynamoDB object that is stored in the current object should ignore the attributes with null values.Class level annotation that identifies this class as being a DynamoDb mappable entity.Denotes this attribute as being the primary partition key of the DynamoDb table.Specifies that when callingTableSchema.mapToItem(Map)
, a separate DynamoDB object that is stored in the current object should be initialized as empty class if all fields in this class are null.Denotes a partition key for a global secondary index.Denotes an optional sort key for a global or local secondary index.Denotes this attribute as being the optional primary sort key of the DynamoDb table.Specifies the behavior when this attribute is updated as part of an 'update' operation such as UpdateItem.