@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PartitionKey
Storable
property as being a member of the partition key.
This key is ignored if the underlying repository lacks support for partitioning.
Example:
@PrimaryKey("userInfoID") @PartitionKey("userInfoGroup") public interface UserInfo extends Storable<UserInfo> { long getUserInfoID(); void setUserInfoID(long id); String getUserInfoGroup(); void setUserInfoGroup(String group); ... }
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
value
A list of property names.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.