@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DynamoDbIndexRangeKey
This annotation is required if this attribute will be used as index key for item queries.
Modifier and Type | Optional Element | Description |
---|---|---|
String |
attributeName |
Optional parameter when the name of the attribute as stored in DynamoDB
should differ from the name used by the getter / setter.
|
String |
globalSecondaryIndexName |
Parameter for the name of the global secondary index.
|
String[] |
globalSecondaryIndexNames |
Parameter for the names of the global secondary indexes.
|
String |
localSecondaryIndexName |
Parameter for the name of the local secondary index.
|
String[] |
localSecondaryIndexNames |
Parameter for the names of the local secondary indexes.
|
String attributeName
String localSecondaryIndexName
This is required if this attribute is the index key for only one local secondary index.
String[] localSecondaryIndexNames
This is required if this attribute is the index key for multiple local secondary indexes.
String globalSecondaryIndexName
This is required if this attribute is the index key for only one global secondary index.
String[] globalSecondaryIndexNames
This is required if this attribute is the index key for multiple global secondary indexes.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.