Package org.leo.aws.ddb.annotations
Annotation Type SecondaryIndex
-
@Target(FIELD) @Retention(RUNTIME) @Documented public @interface SecondaryIndex
Represents a GSI/LSI in a DynamoDb field. This is to be used directly on a field only if the field is a part of a single index. If the field is part of multiple indexes, please useSecondaryIndices
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringnameName of the indexProjectionTypeprojectionTypeKeyTypetypeKey type
-
-
-
Element Detail
-
name
String name
Name of the index- Returns:
- Index name
-
-
-
type
KeyType type
Key type- Returns:
-
-
-
projectionType
ProjectionType projectionType
- Returns:
-
-