@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface DynamoDBIndexHashKey
This annotation is required if this attribute will be used as index key for item queries.
Modifier and Type | Optional Element and 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.
|
public abstract String attributeName
public abstract String globalSecondaryIndexName
This is required if this attribute is the index key for only one global secondary index.
public abstract String[] globalSecondaryIndexNames
Copyright © 2015. All rights reserved.