tagion.mobile.DocumentWrapperApi

Undocumented in source.

Members

Functions

create_doc
uint32_t create_doc(uint8_t* data_ptr, uint32_t len)

Creating Document by ubyte array

create_test_doc
uint32_t create_test_doc()

Creating Document by ubyte array

delete_doc_by_id
void delete_doc_by_id(uint32_t id)

Deleting the specific Document

doc_as_json
const(char*) doc_as_json(uint32_t doc_id)

return doc as json It uses UF-16 codding

doc_get_docLen_by_id
uint64_t doc_get_docLen_by_id(uint32_t doc_id, uint32_t index)

Getting the Document value from Document by index It uses UF-16 codding

doc_get_docLen_by_key
uint64_t doc_get_docLen_by_key(uint32_t doc_id, char* key_str, uint32_t len)

getting the Document value from Document by string key It uses UF-16 codding

doc_get_docPtr_by_id
uint8_t* doc_get_docPtr_by_id(uint32_t doc_id, uint32_t index)

Getting the Document value from Document by index It uses UF-16 codding

doc_get_docPtr_by_key
uint8_t* doc_get_docPtr_by_key(uint32_t doc_id, char* key_str, uint32_t len)

getting the Document value from Document by string key It uses UF-16 codding

doc_get_int_by_id
int32_t doc_get_int_by_id(uint32_t doc_id, uint32_t index)

Getting the int value from Document by integer index

doc_get_int_by_key
int32_t doc_get_int_by_key(uint32_t doc_id, char* key_str, uint32_t len)

Getting the int value from Document by string key

doc_get_long_by_key
int64_t doc_get_long_by_key(uint32_t doc_id, char* key_str, uint32_t len)

Getting the long value from Document by string key

doc_get_str_by_id
const(char*) doc_get_str_by_id(uint32_t doc_id, uint32_t index)

Getting the string value from Document by index It uses UF-16 codding

doc_get_str_by_key
const(char*) doc_get_str_by_key(uint32_t doc_id, char* key_str, uint32_t len)

getting the string value from Document by string key It uses UF-16 codding

doc_get_ulong_by_key
uint64_t doc_get_ulong_by_key(uint32_t doc_id, char* key_str, uint32_t len)

Getting the ulong value from Document by string key

get_docLen
uint64_t get_docLen(uint32_t doc_id)

getting the Document value It uses UF-16 codding

get_docPtr
uint8_t* get_docPtr(uint32_t doc_id)

getting the Document value It uses UF-16 codding