![]() |
#include <aerospike/as_bin.h>
#include <aerospike/as_bytes.h>
#include <aerospike/as_integer.h>
#include <aerospike/as_key.h>
#include <aerospike/as_list.h>
#include <aerospike/as_map.h>
#include <aerospike/as_rec.h>
#include <aerospike/as_string.h>
#include <aerospike/as_util.h>
#include <aerospike/as_val.h>
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | as_record |
Macros | |
#define | AS_RECORD_DEFAULT_TTL 0 |
#define | as_record_inita(__rec, __nbins) |
#define | AS_RECORD_NO_EXPIRE_TTL 0xFFFFFFFF |
#define AS_RECORD_DEFAULT_TTL 0 |
When the record is given a TTL value of ZERO, it will adopt the TTL value that is the default TTL value for the namespace (defined in the config file).
Definition at line 209 of file target/Darwin-i386/include/aerospike/as_record.h.
|
related |
Initialize a stack allocated as_record
then allocate __nbins
capacity for as_record.bins on the stack.
When you are finished using the as_record
instance, you should release the resources allocated to it by calling as_record_destroy()
.
__rec | The as_record * to initialize. |
__nbins | The number of as_record.bins.entries to allocate on the stack. |
Definition at line 242 of file target/Darwin-i386/include/aerospike/as_record.h.
#define AS_RECORD_NO_EXPIRE_TTL 0xFFFFFFFF |
When the record is given a TTL value of 0xFFFFFFFF, it will set the internal void_time value (the absolute clock time value that shows when a record will expire) to zero, which means the record will never expire
Definition at line 216 of file target/Darwin-i386/include/aerospike/as_record.h.