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_bufferLen_by_id
uint64_t doc_get_bufferLen_by_id(uint32_t doc_id, uint32_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
doc_get_bufferLen_by_key
uint64_t doc_get_bufferLen_by_key(uint32_t doc_id, char* key_str, uint32_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
doc_get_bufferPtr_by_id
uint8_t* doc_get_bufferPtr_by_id(uint32_t doc_id, uint32_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
doc_get_bufferPtr_by_key
uint8_t* doc_get_bufferPtr_by_key(uint32_t doc_id, char* key_str, uint32_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
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_memberCount
uint64_t doc_get_memberCount(uint32_t doc_id)
Undocumented in source. Be warned that the author may not have intended to support it.
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
int64_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

parse_string
string[] parse_string(char* str, uint len)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

BAD_RESULT
enum BAD_RESULT;
Undocumented in source.

Static variables

recyclerDoc
Recycle!Document recyclerDoc;
Undocumented in source.

Meta