taco-db  0.1.0
Classes | Namespaces | Typedefs | Functions | Variables
VolatileTree.cpp File Reference
#include "index/volatiletree/VolatileTree.h"
#include <absl/container/flat_hash_map.h>
#include "index/tuple_compare.h"
#include "storage/FileManager.h"
#include "utils/builtin_funcs.h"

Classes

struct  taco::VolatileTreeRecordHeader
 

Namespaces

 taco
 

Typedefs

using taco::tree_type = VolatileTree::tree_type
 

Functions

static bool taco::VTHDRGetIsRecord (VolatileTreeRecordHeader *hdr)
 
static void taco::VTHDRSetIsRecord (VolatileTreeRecordHeader *hdr, bool is_rec)
 
static size_t taco::VTHDRGetBufIdx (VolatileTreeRecordHeader *hdr)
 
static void taco::VTHDRSetBufIdx (VolatileTreeRecordHeader *hdr, size_t bufidx)
 
const IndexKey *& taco::VTHDRKeyPointer (VolatileTreeRecordHeader *hdr)
 
char * taco::VTHDRGetData (VolatileTreeRecordHeader *hdr)
 
void taco::InitVolatileTree ()
 Initializes the internal state of the in-memory tree index. More...
 
void taco::CleanVolatileTree ()
 Cleans up the internal state of the in-memory tree index. More...
 

Variables

static constexpr const uint64_t taco::VTHDR_ISREC_MASK = ((uint64_t) 1) << 32
 
static constexpr const uint64_t taco::VTHDR_BUFIDX_MASK = (((uint64_t) 1) << 32) - 1
 
static absl::flat_hash_map< Oid, std::shared_ptr< VolatileTreeBase > > taco::s_volatile_tree_base