Annotation Type AerospikeKey


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface AerospikeKey
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The setter attribute is used only on Methods where the method is used to set the key on lazy object instantiation
    boolean
    Store the key as an Aerospike Bin, alternatively you can use @AerospikeRecord.sendKey to store the key in the record's metadata
  • Element Details

    • setter

      boolean setter
      The setter attribute is used only on Methods where the method is used to set the key on lazy object instantiation
      Default:
      false
    • storeAsBin

      boolean storeAsBin
      Store the key as an Aerospike Bin, alternatively you can use @AerospikeRecord.sendKey to store the key in the record's metadata
      Default:
      true