Header for the native RDM Runtime types. More...
Data Structures |
|
struct | RDM_SEARCH_KEY |
The RDM Partial Key data structure. More... |
|
union | RDM_RTREE_FILTER |
struct | RDM_RTREE_KEY |
The RDM R-tree Key data structure. More... |
|
struct | RDM_RANGE_KEY |
The RDM Range Key data structure. More... |
|
struct | RDM_ROW_STATUS_INFO |
RDM Rows status info. More... |
|
struct | RDM_COLUMN_INFO |
Macros |
|
#define | RDM_IDENTIFIER_LEN 127 |
#define | RDM_CATALOG_EMPTY_SCHEMA |
A catalog with an empty schema. More... |
|
#define | RDM_LOCK_NONE (const RDM_TABLE_ID *) (-1) |
#define | RDM_LOCK_ALL (const RDM_TABLE_ID *) (-2) |
#define | RDM_LOCK_SCHEMA (const RDM_TABLE_ID *) (-3) |
#define | RDM_LOCK_DB_OPEN (RDM_TABLE_ID) (-4) |
#define | TABLE_SCHEMA (RDM_TABLE_ID) (0x10002) |
#define | REF_CURSOR ((RDM_REF_ID) 0) |
#define | RDM_COL_HAS_VALUE ((RDM_HAS_VALUE_T) 1) |
#define | RDM_COL_IS_NULL ((RDM_HAS_VALUE_T) 0) |
#define | RDM_ALL_DATA ((size_t) -1) |
#define | RDM_COLUMN_SIZE(table, column) sizeof (((table *) 0)->column) |
Macro for getting the size of a column in the struct definition. More... |
|
Typedefs |
|
typedef uint32_t | RDM_TABLE_ID |
typedef uint32_t | RDM_COLUMN_ID |
typedef uint32_t | RDM_KEY_ID |
typedef uint32_t | RDM_REF_ID |
typedef uint64_t | RDM_TX |
typedef RDM_RETCODE() | RDM_REBUILD_INDEX_REPORT_FCN(const char *table, const char *indexes, uint64_t current, uint64_t total) |
Callback function signature to report status on an ID-index rebuild. More... |
|
typedef uint8_t | RDM_HAS_VALUE_T |
typedef struct RDM_DB_S * | RDM_DB |
typedef struct RDM_CURSOR_S * | RDM_CURSOR |
typedef struct RDM_TRANS_S * | RDM_TRANS |
typedef struct RDM_ENCRYPT_S * | RDM_ENCRYPT |
typedef const struct RDM_ENCRYPT_S * | RDM_ENCRYPT_C |
typedef void(* | RDM_ERROR_FCN) (RDM_DB, RDM_RETCODE, const char *, void *) |
typedef void(* | RDM_ERROR_A_FCN) (RDM_DB, RDM_RETCODE, const char *, void *) |
typedef void(* | RDM_ERROR_W_FCN) (RDM_DB, RDM_RETCODE, const wchar_t *, void *) |
Detailed Description
Header for the native RDM Runtime types.
Macro Definition Documentation
RDM_ALL_DATA
#define RDM_ALL_DATA ((size_t) -1) |
RDM_CATALOG_EMPTY_SCHEMA
#define RDM_CATALOG_EMPTY_SCHEMA |
A catalog with an empty schema.
Use this string as a parameter to rdm_dbLoadCatalog() to set an empty schema
RDM_COL_HAS_VALUE
#define RDM_COL_HAS_VALUE ((RDM_HAS_VALUE_T) 1) |
RDM_COL_IS_NULL
#define RDM_COL_IS_NULL ((RDM_HAS_VALUE_T) 0) |
Coulumn is null
- Examples
- core16Example_main.c, core30Example_main.c, and core31Example_main.c.
RDM_COLUMN_SIZE
#define RDM_COLUMN_SIZE | ( | table, | |
column | |||
) | sizeof (((table *) 0)->column) |
Macro for getting the size of a column in the struct definition.
- Examples
- core03Example_main.c, core04Example_main.c, core06Example_main.c, and core10Example_main.c.
RDM_IDENTIFIER_LEN
#define RDM_IDENTIFIER_LEN 127 |
The maximum identifier length measured in characters not including a null terminator
RDM_LOCK_ALL
#define RDM_LOCK_ALL (const RDM_TABLE_ID *) (-2) |
Lock all of the tables in the database
- Examples
- core02Example_main.c, core03Example_main.c, core04Example_main.c, core05Example_main.c, core06Example_main.c, core07Example_main.c, core08Example_main.c, core09Example_main.c, core10Example_main.c, core11Example_main.c, core12Example_main.c, core13Example_main.c, core20Example_main.c, core21Example_main.c, core22Example_main.c, core23Example_main.c, core24Example_main.c, core25Example_main.c, core28Example_main.c, core29Example_main.c, core30Example_main.c, core31Example_main.c, core34Example_main.c, core35Example_main.c, core38Example_main.c, cpp70Example_main.cpp, rtree/deleteZipcode.c, rtree/insertZipcode.c, rtree/retrieveAllZipcode.c, rtree/retrieveContainedZipcode.c, rtree/retrieveExactZipcode.c, rtree/retrieveOverlapZipcode.c, and rtree/updateZipcode.c.
RDM_LOCK_DB_OPEN
#define RDM_LOCK_DB_OPEN (RDM_TABLE_ID) (-4) |
Lock for opening a database exclusively
RDM_LOCK_NONE
#define RDM_LOCK_NONE (const RDM_TABLE_ID *) (-1) |
Don't lock any tables in the database
- Examples
- cpp55Example_main.cpp.
RDM_LOCK_SCHEMA
#define RDM_LOCK_SCHEMA (const RDM_TABLE_ID *) (-3) |
Lock the schema
REF_CURSOR
#define REF_CURSOR ((RDM_REF_ID) 0) |
The default foreign reference ID for the cursor
TABLE_SCHEMA
#define TABLE_SCHEMA (RDM_TABLE_ID) (0x10002) |
The table ID for the schema
Typedef Documentation
RDM_COLUMN_ID
typedef uint32_t RDM_COLUMN_ID |
The RDM column ID
RDM_CURSOR
typedef struct RDM_CURSOR_S* RDM_CURSOR |
RDM cursor handle
RDM_DB
RDM_ENCRYPT
typedef struct RDM_ENCRYPT_S* RDM_ENCRYPT |
RDM encryption handle
RDM_ENCRYPT_C
typedef const struct RDM_ENCRYPT_S* RDM_ENCRYPT_C |
const RDM encryption handle
RDM_ERROR_A_FCN
typedef void( * RDM_ERROR_A_FCN) (RDM_DB, RDM_RETCODE, const char *, void *) |
RDM_ERROR_FCN
typedef void( * RDM_ERROR_FCN) (RDM_DB, RDM_RETCODE, const char *, void *) |
RDM_ERROR_W_FCN
typedef void( * RDM_ERROR_W_FCN) (RDM_DB, RDM_RETCODE, const wchar_t *, void *) |
RDM_HAS_VALUE_T
typedef uint8_t RDM_HAS_VALUE_T |
RDM Type for whether column has a value or is null
RDM_KEY_ID
typedef uint32_t RDM_KEY_ID |
The RDM key ID
RDM_REBUILD_INDEX_REPORT_FCN
typedef RDM_RETCODE() RDM_REBUILD_INDEX_REPORT_FCN(const char *table, const char *indexes, uint64_t current, uint64_t total) |
Callback function signature to report status on an ID-index rebuild.
RDM_REF_ID
typedef uint32_t RDM_REF_ID |
The RDM foreign reference ID
RDM_TABLE_ID
typedef uint32_t RDM_TABLE_ID |
The RDM table ID
RDM_TRANS
RDM_TX
typedef uint64_t RDM_TX |
Enumeration Type Documentation
RDM_CURSOR_COMPARE
enum RDM_CURSOR_COMPARE |
Enumeration for RDM cursor comparisons.
The enumeration allows for position comparisons between two cursors. A cursor can either be positioned before, after, or equal to the position of another cursor. How positioning is determined is based on the type of cursor being compared.
RDM_CURSOR_STATUS
enum RDM_CURSOR_STATUS |
Enumeration for RDM cursor positions / statuses.
The enumeration identifies the current position for an RDM cursor. A cursor can be positioned at a row, between rows, before all rows, or after all rows
RDM_CURSOR_TYPE
enum RDM_CURSOR_TYPE |
Enumeration for cursor types.
The enumeration specifies the type of a cursor
RDM_ENC_TYPE
enum RDM_ENC_TYPE |
Enumeration for RDM encryption algorithms
The enumeration identifies the supported encryption algorithms.
RDM_ENC_XOR is the only type of encryption that is included in packages without export restrictions.
RDM_LOCK_STATUS
enum RDM_LOCK_STATUS |
Enumeration for RDM table lock status.
This enumeration specifies the table lock status for RDM databases
RDM_OPEN_MODE
enum RDM_OPEN_MODE |
Enumeration for open modes.
The enumeration specifies the open modes. The creat flags always require a catalog set using rdm_dbSetCatalog(). The append modes require any catalog that have been set to match the catalog stored in the database. RDM_OPEN_EXCLUSIVE and RDM_OPEN_SHARED default to create if a catalog have been set and append if it have not been set.
RDM_RANGE
enum RDM_RANGE |
RDM_RTREE_TYPE
enum RDM_RTREE_TYPE |
Query types for an R-tree index.
RDM_TRANS_PRECOMMIT_STATUS
The RDM transaction status identifiers.
RDM_TRANS_STATUS
enum RDM_TRANS_STATUS |
The RDM transaction status identifiers.
Enumerator | |
---|---|
RDM_TRANS_READ |
A read transaction is active |
RDM_TRANS_UPDATE |
An update transaction is active |
RDM_TRANS_SNAPSHOT |
A snapshot is active |
RDM_TRANS_NONE |
There is no transaction active |
RDM_TRIGGERS_STATUS
enum RDM_TRIGGERS_STATUS |
RDM_USER_STATUS
enum RDM_USER_STATUS |
The RDM user status.
Enumerator | |
---|---|
RDM_U_EMPTY |
The user does not exist on the TFS |
RDM_U_LIVE |
The user is in a normal state |