Annotation Type 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
      java.lang.String value
      The name of the partition key if the serialized attribute name differs from the field name.
    • Element Detail

      • value

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