Package com.aerospike.mapper.annotations
Annotation Type AerospikeReference
Bins marked with AerospikeReference need to exist as a separate entity to the referencing entity.
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
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 lazyFields 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 batchLoadWhen 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 tofalse
to prevent the batch load- Default:
- true
-
type
- Default:
- ID
-