Annotation Type PartitionKey


@Inherited @Retention(RUNTIME) @Target(FIELD) public @interface PartitionKey
Interface for type partition key
  • 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:
      ""