Type Definition kdb_c_api::K [−][src]
type K = *mut k0;
Expand description
Struct representing q object.
Trait Implementations
impl KUtility for K
[src]
impl KUtility for K
[src]fn as_mut_slice<'a, T>(self) -> &'a mut [T]
[src]
fn as_mut_slice<'a, T>(self) -> &'a mut [T]
[src]Derefer K
as a mutable slice of the specified type. The supported types are: Read more
fn get_string(&self) -> Result<String, &'static str>
[src]
fn get_string(&self) -> Result<String, &'static str>
[src]Get an underlying q string as String
. Read more
fn append(&mut self, list: K) -> Result<K, &'static str>
[src]
fn append(&mut self, list: K) -> Result<K, &'static str>
[src]Append a q list object to a q list.
Returns a pointer to the (potentially reallocated) K
object. Read more
fn push(&mut self, atom: K) -> Result<K, &'static str>
[src]
fn push(&mut self, atom: K) -> Result<K, &'static str>
[src]Add a q object to a q compound list.
Returns a pointer to the (potentially reallocated) K
object. Read more
fn push_raw<T>(&mut self, atom: T) -> Result<K, &'static str>
[src]
fn push_raw<T>(&mut self, atom: T) -> Result<K, &'static str>
[src]Add a raw value to a q simple list and returns a pointer to the (potentially reallocated) K
object. Read more
fn push_symbol(&mut self, symbol: &str) -> Result<K, &'static str>
[src]
fn push_symbol(&mut self, symbol: &str) -> Result<K, &'static str>
[src]Add an internalized char array to symbol list.
Returns a pointer to the (potentially reallocated) K
object. Read more
fn push_symbol_n(&mut self, symbol: &str, n: I) -> Result<K, &'static str>
[src]
fn push_symbol_n(&mut self, symbol: &str, n: I) -> Result<K, &'static str>
[src]Add an internalized char array to symbol list.
Returns a pointer to the (potentially reallocated) K
object. Read more
fn len(&self) -> i64
[src]
fn len(&self) -> i64
[src]Get a length of the list. More specifically, a value of k0.value.list.n
for list types.
Otherwise 2 for table and 1 for atom and null. Read more