Module kdb_c_api::native [−][src]
Expand description
This module exposes bare C API functions. As most of them are provided with a “safe” wrapper function with an intuitive name and intuitive implementation for Rust, there is no gain to darely use these functions.
The only exceptions are k
and knk
which are not provided with a “safe” wrapper because
these functions are using elipsis (...
) as their argument.
Functions
b9⚠ | Serialize q object and return serialized q byte list object on success: otherwise null. Mode is either of: |
d9⚠ | Deserialize a bytes into q object. |
dj⚠ | Convert days from |
dl⚠ | Load C function as q function ( |
dot⚠ | Apply a function to q list object |
ee⚠ | Capture (and reset) error string into usual error object. |
ja⚠ | Add a raw value to a q simple list and returns a pointer to the (potentially reallocated) |
jk⚠ | Add a q object to a q compound list.
Returns a pointer to the (potentially reallocated) |
js⚠ | Add an internalized char array to a symbol list.
Returns a pointer to the (potentially reallocated) |
jv⚠ | Append a q list object to a q list.
Returns a pointer to the (potentially reallocated) |
k⚠ | Send a text query or evaluate the text query in a process which are loading the shared library.
As this library is purposed to build shared object, the only choice of |
ka⚠ | Creates an atom of the specified type. |
kb⚠ | Constructor of q bool object. |
kc⚠ | Constructor of q char object. |
kd⚠ | Constructor of q date object. |
ke⚠ | Constructor of q real object. |
kf⚠ | Constructor of q float object. |
kg⚠ | Constructor of q byte object. |
kh⚠ | Constructor of q short object. |
ki⚠ | Constructor of q int object. |
kj⚠ | Constructor of q long object. |
knk⚠ | Constructor of q compound list. |
knt⚠ | Constructor of q keyed table object. |
kp⚠ | Constructor of q string object. |
kpn⚠ | Constructor if q string object with a fixed length. |
krr⚠ | Constructor of q error. |
ks⚠ | Constructor of q symbol object. |
kt⚠ | Constructor of q time object. |
ktd⚠ | Constructor of simple q table object from q keyed table object. |
ktj⚠ | Constructor of q timestamp from elapsed time in nanoseconds since kdb+ epoch ( |
ktn⚠ | Constructor of q simple list. |
ku⚠ | Constructor of q GUID object. |
kz⚠ | Constructor of q datetime object from the number of days since kdb+ epoch ( |
m9⚠ | Release the memory allocated for the thread’s pool. Call when the thread is about to complete, releasing the memory allocated for that thread’s pool. |
orr⚠ | Similar to krr but this function appends a system-error message to string S before passing it to |
r0⚠ | Decrement reference count of the q object. The decrement must be done when |
r1⚠ | Increment reference count of the q object. Increment must be done when you passed arguments
to Rust function and intends to return it to q side or when you pass some |
sd0⚠ | Remove callback from the associated kdb+ socket and call |
sd0x⚠ | Remove callback from the associated kdb+ socket and call |
sd1⚠ | Register callback to the associated kdb+ socket. |
setm⚠ | Set whether interning symbols uses a lock: |
sn⚠ | Intern |
ss⚠ | Intern a null-terminated char array. Returns an interned char array and should be used to add char array to a symbol vector. |
xD⚠ | Constructor of q dictionary object. |
xT⚠ | Constructor of q table object from q dictionary object. |
ymd⚠ | Convert ymd to the number of days from |