Loading...
Searching...
No Matches
Data Structures | Macros
as_record.h File Reference
#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_geojson.h>
#include <aerospike/as_util.h>
#include <aerospike/as_val.h>
+ Include dependency graph for as_record.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_record
 

Macros

#define AS_RECORD_CLIENT_DEFAULT_TTL   0xFFFFFFFD
 
#define AS_RECORD_DEFAULT_TTL   0
 
#define AS_RECORD_NO_CHANGE_TTL   0xFFFFFFFE
 
#define AS_RECORD_NO_EXPIRE_TTL   0xFFFFFFFF
 

Macro Definition Documentation

◆ AS_RECORD_CLIENT_DEFAULT_TTL

#define AS_RECORD_CLIENT_DEFAULT_TTL   0xFFFFFFFD

Use the applicable client policy ttl (as_policy_write, as_policy_operate, as_policy_scan, as_policy_batch_write, ...). If the policy is not defined for the transaction, use the default in as_config.policies.

Definition at line 228 of file as_record.h.

◆ AS_RECORD_DEFAULT_TTL

#define AS_RECORD_DEFAULT_TTL   0

Use the server default ttl for the namespace in the aerospke server config file.

Definition at line 210 of file as_record.h.

◆ AS_RECORD_NO_CHANGE_TTL

#define AS_RECORD_NO_CHANGE_TTL   0xFFFFFFFE

Do not change the ttl when the record is updated.

Definition at line 221 of file as_record.h.

◆ AS_RECORD_NO_EXPIRE_TTL

#define AS_RECORD_NO_EXPIRE_TTL   0xFFFFFFFF

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 as_record.h.