Annotation Type AerospikeEnum


@Retention(RUNTIME)
@Target(FIELD)
public @interface AerospikeEnum
Tags an enum field of a class to set a value field to store its value in the Aerospike database instead of the enum constant name. default behaviour (without using this annotation or without specifying the value field's name) is to store the entire constant name in the Aerospike database.
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String enumField  
  • Element Details

    • enumField

      String enumField
      Default:
      ""