SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Functions
sion_keyvalue.h File Reference
#include <stdint.h>
#include "sion_const.h"
#include "sion_common.h"
#include "sion_filedesc.h"
Include dependency graph for sion_keyvalue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t sion_fwrite_key (const void *data, uint64_t key, size_t size, size_t nitems, int sid)
 Writes data for key. More...
 
size_t sion_fread_key (void *data, uint64_t key, size_t size, size_t nitems, int sid)
 Read data for key. More...
 
int sion_seek_key (int sid, uint64_t key, int entrynum, sion_int64 posinentry)
 Seek to position in key. More...
 
int sion_key_full_scan (int sid)
 Performs a full scan of all meta data in current file. More...
 
int sion_key_get_stat (int sid, uint64_t key, sion_key_stat_t *keystat)
 get statistics about key More...
 
int sion_key_list_iterator_reset (int sid)
 Resets key iterator. More...
 
int sion_key_list_iterator_next (int sid, uint64_t *keyptr)
 Forward to next key. More...
 
int sion_fread_key_iterator_reset (int sid)
 Resets key iterator. More...
 
int sion_fread_key_iterator_next (int sid, uint64_t *key, size_t *size)
 Forward to next key. More...
 
int sion_get_keyval_mode (int sid)
 Return selected mode for key value. More...
 
char * sion_keyval_type_to_str (int type)
 Returns key value mode as string. More...
 
int _sion_keyval_check_env (_sion_filedesc *sion_filedesc, sion_int64 file_mode_flags)
 
int _sion_keyval_dup_dataptr (_sion_filedesc *sion_filedesc, _sion_filedesc *new_filedesc)
 
int _sion_store_and_write_key_and_len (_sion_filedesc *sion_filedesc, uint64_t key, size_t len)
 
int _sion_write_value (_sion_filedesc *sion_filedesc, const void *data, uint64_t key, size_t len)
 
int _sion_find_and_read_key_and_len (_sion_filedesc *sion_filedesc, uint64_t key, size_t len, size_t *datalen)
 
int _sion_read_value (_sion_filedesc *sion_filedesc, void *data, uint64_t key, size_t len)