Annotation Type AerospikeReference


@Retention(RUNTIME)
@Target(FIELD)
public @interface AerospikeReference
Bins marked with AerospikeExclude will not be mapped to the database, irrespective of other annotations.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  AerospikeReference.ReferenceType  
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    boolean batchLoad
    When a reference is to be loaded, it can either be loaded inline or it can be loaded via a batch load.
    boolean lazy
    Fields marked as being lazy references will not be read from Aerospike at runtime when the parent class is read.
    AerospikeReference.ReferenceType type  
  • 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