Annotation Type AerospikeReference


@Retention(RUNTIME) @Target(FIELD) public @interface AerospikeReference
Bins marked with AerospikeReference need to exist as a separate entity to the referencing entity.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    When a reference is to be loaded, it can either be loaded inline or it can be loaded via a batch load.
    boolean
    Fields marked as being lazy references will not be read from Aerospike at runtime when the parent class is read.
     
  • Element Details

    • lazy

      boolean lazy
      Fields marked as being lazy references will not be read from Aerospike at runtime when the parent class is read. Instead, a new object with just the key populated will be created
      Default:
      false
    • batchLoad

      boolean batchLoad
      When a reference is to be loaded, it can either be loaded inline or it can be loaded via a batch load. The batch load is typically significantly more efficient. Set this flag to
      false
      to prevent the batch load
      Default:
      true
    • type

      Default:
      ID