Turnstone Operating System
Loading...
Searching...
No Matches
tosdb_memtable.64.c File Reference

tosdb memtable interface implementation More...

#include <tosdb/tosdb.h>
#include <tosdb/tosdb_internal.h>
#include <logging.h>
#include <bplustree.h>
#include <compression.h>
#include <strings.h>

Functions

 MODULE ("turnstone.kernel.db")
 
int8_t tosdb_memtable_index_comparator (const void *i1, const void *i2)
 
int8_t tosdb_memtable_record_id_comparator (const void *i1, const void *i2)
 
static int8_t tosdb_memtable_index_key_destroyer (memory_heap_t *heap, void *key)
 
static int8_t tosdb_memtable_index_key_cloner (memory_heap_t *heap, const void *key, void **cloned_key)
 
int8_t tosdb_memtable_secondary_index_comparator (const void *i1, const void *i2)
 
int8_t tosdb_memtable_secondary_index_record_id_comparator (const void *i1, const void *i2)
 
static int8_t tosdb_memtable_secondary_index_key_destroyer (memory_heap_t *heap, void *key)
 
static int8_t tosdb_memtable_secondary_index_key_cloner (memory_heap_t *heap, const void *key, void **cloned_key)
 
tosdb_memtable_ttosdb_memtable_new_internal (tosdb_table_t *tbl)
 
boolean_t tosdb_memtable_new (tosdb_table_t *tbl)
 
boolean_t tosdb_memtable_free (tosdb_memtable_t *mt)
 
boolean_t tosdb_memtable_upsert_internal (tosdb_memtable_t *mt, tosdb_record_t *record, boolean_t del, tosdb_memtable_t **mt_out)
 
boolean_t tosdb_memtable_upsert (tosdb_record_t *record, boolean_t del)
 
boolean_t tosdb_memtable_persist (tosdb_memtable_t *mt)
 
boolean_t tosdb_memtable_index_persist (tosdb_memtable_t *mt, tosdb_block_sstable_list_item_t *stli, uint64_t idx, tosdb_memtable_index_t *mt_idx)
 
boolean_t tosdb_memtable_is_deleted (tosdb_record_t *record)
 
boolean_t tosdb_memtable_get (tosdb_record_t *record)
 
boolean_t tosdb_memtable_search (tosdb_record_t *record, set_t *results)
 

Detailed Description

tosdb memtable interface implementation

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.