SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_filedesc.h"
#include "sion_tools.h"
#include "sion_fd.h"
#include "sion_file.h"
#include "sion_metadata.h"
#include "sion_internal.h"
#include "sion_internal_seek.h"
#include "sion_printts.h"
#include "sion_keyvalue.h"
#include "sion_keyvalue_inline.h"
Go to the source code of this file.
Functions | |
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) |
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_key_full_scan (int sid) |
Performs a full scan of all meta data in current file. More... | |
int | sion_fread_key_iterator_reset (int sid) |
Resets key iterator. More... | |
int | sion_fread_key_iterator_next (int sid, uint64_t *keyptr, size_t *sizeptr) |
Forward to next key. More... | |
int | sion_seek_key (int sid, uint64_t key, int entrynum, sion_int64 posinentry) |
Seek to position in 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_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_key_get_stat (int sid, uint64_t key, sion_key_stat_t *keystatptr) |
get statistics about key More... | |
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) |