Annotation Interface PartitionKey


@Retention(RUNTIME) @Target({FIELD,METHOD}) @Documented public @interface PartitionKey
Field annotation indicating that entity field should be used as partition key.
Since:
3.9.0
Author:
radovanradic
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the partition key if the serialized attribute name differs from the field name.
  • Element Details

    • value

      String value
      The name of the partition key if the serialized attribute name differs from the field name.
      Returns:
      partition key name
      Default:
      ""