|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface DynamoDBNativeBoolean
An annotation that marks a boolean
or Boolean
attribute
of a modeled class which should be serialized as a DynamoDB BOOL. For
backwards compatibility with old versions of the DynamoDBMapper
,
by default booleans are serialized using the DynamoDB N type, with a value
of '1' representing 'true' and a value of '0' representing 'false'.
DynamoDBMapper
which do not know about the
BOOL type will be unable to read items containing BOOLs, so don't use me
unless all readers of your table are using an updated version of the mapper.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |