Not yet documented. More...
#include <HIdx.h>
Inherits eyedbsm::Idx.
Public Member Functions | |
HIdx (DbHandle *vh, KeyType type, unsigned int datasz, short dspid, int magorder, int key_count=0, const int *impl_hints=0, unsigned int impl_hints_cnt=0) | |
Not yet documented. | |
HIdx (DbHandle *vh, const Oid *poid, hash_key_t hash_key=0, void *hash_data=0, Boolean(*precmp)(void const *p, void const *q, KeyType const *type, int &r)=0) | |
Not yet documented. | |
void | open (hash_key_t hash_key=0, void *hash_data=0, Boolean(*precmp)(void const *p, void const *q, KeyType const *type, int &r)=0) |
Not yet documented. | |
unsigned int | getCount () const |
Not yet documented. | |
short | getDefaultDspid () const |
Not yet documented. | |
void | setDefaultDspid (short dspid) |
Not yet documented. | |
Status | getObjects (Oid *&oids, unsigned int &cnt) const |
Not yet documented. | |
virtual HIdx * | asHIdx () |
Not yet documented. | |
const KeyType & | getKeyType () const |
Not yet documented. | |
const HIdx::_Idx & | getIdx () const |
Not yet documented. | |
Status | insert (const void *key, const void *data) |
Not yet documented. | |
Status | insert (const void *key, const void *data, unsigned int datasz) |
Not yet documented. | |
Status | insert (const void *key, std::vector< const void * > &data_v) |
Not yet documented. | |
Status | insert_cache (const void *key, const void *data) |
Not yet documented. | |
Status | insert_cache (const void *key, std::vector< const void * > &data_v) |
Not yet documented. | |
Status | flush_cache (bool insert_data=true) |
Not yet documented. | |
Status | remove (const void *key, const void *data, Boolean *found=0) |
Not yet documented. | |
Status | remove (const void *key, const void *data, unsigned int datasz, Boolean *found=0) |
Not yet documented. | |
Status | search (const void *key, unsigned int *found_cnt) |
Not yet documented. | |
Status | searchAny (const void *key, Boolean *found, void *data=0) |
Not yet documented. | |
Status | destroy () |
Not yet documented. | |
Status | printStat (FILE *fd=stdout) const |
Not yet documented. | |
Status | dumpMemoryMap (FILE *fd=stdout) |
Not yet documented. | |
Oid const & | oid () const |
Not yet documented. | |
Boolean | isDataGroupedByKey () const |
Not yet documented. | |
bool | isDataVarSize () const |
Not yet documented. | |
unsigned int | getDataGroupedSizeof () const |
Not yet documented. | |
Status | status () const |
Not yet documented. | |
unsigned int | getKeyCount () const |
Not yet documented. | |
Status | collapse () |
Not yet documented. | |
Status | copy (HIdx *&idx_n, int key_count, int mag_order=0, short dspid=DefaultDspid, const int *impl_hints=0, unsigned int impl_hints_cnt=0, hash_key_t _hash_key=0, void *_hash_data=0, KeyType *ktype=0) const |
Not yet documented. | |
Status | getStats (std::string &stats) const |
Not yet documented. | |
Status | getStats (HIdx::Stats &stats) const |
Not yet documented. | |
Status | move (short dspid, eyedbsm::Oid &newoid, hash_key_t hash_key=0, void *hash_data=0) |
Not yet documented. | |
Status | reimplementToHash (Oid &newoid, int key_count, int mag_order=0, short dspid=DefaultDspid, const int *impl_hints=0, unsigned int impl_hints_cnt=0, hash_key_t hash_key=0, void *hash_data=0, KeyType *ktype=0) |
Not yet documented. | |
Status | reimplementToBTree (Oid &newoid, int degree=0, short dspid=DefaultDspid) |
Not yet documented. | |
Status | simulate (HIdx::Stats &stats, int key_count, int mag_order=0, const int *impl_hints=0, unsigned int impl_hints_cnt=0, hash_key_t hash_key=0, void *hash_data=0) const |
Not yet documented. | |
Static Public Member Functions | |
static unsigned int | getMagOrder (unsigned int keycount) |
Not yet documented. | |
static unsigned int | getKeyCount (unsigned int magorder) |
Not yet documented. |
Not yet documented.
Definition at line 58 of file HIdx.h.
eyedbsm::HIdx::HIdx | ( | DbHandle * | vh, | |
KeyType | type, | |||
unsigned int | datasz, | |||
short | dspid, | |||
int | magorder, | |||
int | key_count = 0 , |
|||
const int * | impl_hints = 0 , |
|||
unsigned int | impl_hints_cnt = 0 | |||
) |
eyedbsm::HIdx::HIdx | ( | DbHandle * | vh, | |
const Oid * | poid, | |||
hash_key_t | hash_key = 0 , |
|||
void * | hash_data = 0 , |
|||
Boolean(*)(void const *p, void const *q, KeyType const *type, int &r) | precmp = 0 | |||
) |
virtual HIdx* eyedbsm::HIdx::asHIdx | ( | ) | [inline, virtual] |
Status eyedbsm::HIdx::collapse | ( | ) |
Status eyedbsm::HIdx::copy | ( | HIdx *& | idx_n, | |
int | key_count, | |||
int | mag_order = 0 , |
|||
short | dspid = DefaultDspid , |
|||
const int * | impl_hints = 0 , |
|||
unsigned int | impl_hints_cnt = 0 , |
|||
hash_key_t | _hash_key = 0 , |
|||
void * | _hash_data = 0 , |
|||
KeyType * | ktype = 0 | |||
) | const |
Status eyedbsm::HIdx::destroy | ( | ) |
Status eyedbsm::HIdx::dumpMemoryMap | ( | FILE * | fd = stdout |
) |
Status eyedbsm::HIdx::flush_cache | ( | bool | insert_data = true |
) |
unsigned int eyedbsm::HIdx::getCount | ( | void | ) | const |
unsigned int eyedbsm::HIdx::getDataGroupedSizeof | ( | ) | const [inline] |
short eyedbsm::HIdx::getDefaultDspid | ( | ) | const |
const HIdx::_Idx& eyedbsm::HIdx::getIdx | ( | ) | const [inline] |
unsigned int eyedbsm::HIdx::getKeyCount | ( | unsigned int | magorder | ) | [static] |
unsigned int eyedbsm::HIdx::getKeyCount | ( | ) | const [inline] |
const KeyType& eyedbsm::HIdx::getKeyType | ( | ) | const [inline] |
unsigned int eyedbsm::HIdx::getMagOrder | ( | unsigned int | keycount | ) | [static] |
Status eyedbsm::HIdx::getObjects | ( | Oid *& | oids, | |
unsigned int & | cnt | |||
) | const |
Status eyedbsm::HIdx::getStats | ( | HIdx::Stats & | stats | ) | const |
Status eyedbsm::HIdx::getStats | ( | std::string & | stats | ) | const |
Status eyedbsm::HIdx::insert | ( | const void * | key, | |
std::vector< const void * > & | data_v | |||
) |
Status eyedbsm::HIdx::insert | ( | const void * | key, | |
const void * | data, | |||
unsigned int | datasz | |||
) |
Status eyedbsm::HIdx::insert | ( | const void * | key, | |
const void * | data | |||
) |
Status eyedbsm::HIdx::insert_cache | ( | const void * | key, | |
std::vector< const void * > & | data_v | |||
) |
Status eyedbsm::HIdx::insert_cache | ( | const void * | key, | |
const void * | data | |||
) |
Boolean eyedbsm::HIdx::isDataGroupedByKey | ( | ) | const [inline] |
bool eyedbsm::HIdx::isDataVarSize | ( | ) | const [inline] |
Status eyedbsm::HIdx::move | ( | short | dspid, | |
eyedbsm::Oid & | newoid, | |||
hash_key_t | hash_key = 0 , |
|||
void * | hash_data = 0 | |||
) |
Oid const& eyedbsm::HIdx::oid | ( | ) | const [inline] |
void eyedbsm::HIdx::open | ( | hash_key_t | hash_key = 0 , |
|
void * | hash_data = 0 , |
|||
Boolean(*)(void const *p, void const *q, KeyType const *type, int &r) | precmp = 0 | |||
) |
Status eyedbsm::HIdx::printStat | ( | FILE * | fd = stdout |
) | const |
Status eyedbsm::HIdx::reimplementToBTree | ( | Oid & | newoid, | |
int | degree = 0 , |
|||
short | dspid = DefaultDspid | |||
) |
Status eyedbsm::HIdx::reimplementToHash | ( | Oid & | newoid, | |
int | key_count, | |||
int | mag_order = 0 , |
|||
short | dspid = DefaultDspid , |
|||
const int * | impl_hints = 0 , |
|||
unsigned int | impl_hints_cnt = 0 , |
|||
hash_key_t | hash_key = 0 , |
|||
void * | hash_data = 0 , |
|||
KeyType * | ktype = 0 | |||
) |
Status eyedbsm::HIdx::remove | ( | const void * | key, | |
const void * | data, | |||
unsigned int | datasz, | |||
Boolean * | found = 0 | |||
) |
Status eyedbsm::HIdx::remove | ( | const void * | key, | |
const void * | data, | |||
Boolean * | found = 0 | |||
) |
Status eyedbsm::HIdx::search | ( | const void * | key, | |
unsigned int * | found_cnt | |||
) |
Status eyedbsm::HIdx::searchAny | ( | const void * | key, | |
Boolean * | found, | |||
void * | data = 0 | |||
) |
void eyedbsm::HIdx::setDefaultDspid | ( | short | dspid | ) |
Status eyedbsm::HIdx::simulate | ( | HIdx::Stats & | stats, | |
int | key_count, | |||
int | mag_order = 0 , |
|||
const int * | impl_hints = 0 , |
|||
unsigned int | impl_hints_cnt = 0 , |
|||
hash_key_t | hash_key = 0 , |
|||
void * | hash_data = 0 | |||
) | const |
Status eyedbsm::HIdx::status | ( | ) | const [inline] |