Not yet documented. More...
#include <BIdx.h>
Inherits eyedbsm::Idx.
Public Member Functions | |
int | cmp (void const *key, void const *d, unsigned char bswap) |
Not yet documented. | |
BIdx (eyedbsm::DbHandle *vh, unsigned dataSize, KeyType const types[], short dspid, unsigned int degree=BIDX_DEF_DEGREE, unsigned ntypes=1) | |
Not yet documented. | |
BIdx (eyedbsm::DbHandle *vh, Type type, unsigned dataSize, short dspid, unsigned int degree=BIDX_DEF_DEGREE) | |
Not yet documented. | |
BIdx (eyedbsm::DbHandle *vh, eyedbsm::Oid const &idx, eyedbsm::Boolean(*precmp)(void const *p, void const *q, KeyType const *type, int &r)=0) | |
Not yet documented. | |
void | open (eyedbsm::Boolean(*precmp)(void const *p, void const *q, KeyType const *type, int &r)=0) |
Not yet documented. | |
virtual BIdx * | asBIdx () |
Not yet documented. | |
Status | move (short dspid, eyedbsm::Oid &newoid) |
Not yet documented. | |
eyedbsm::Status | reimplementToHash (eyedbsm::Oid &newoid, int key_count, int mag_order=0, short dspid=eyedbsm::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. | |
eyedbsm::Status | reimplementToBTree (eyedbsm::Oid &newoid, int degree=0, short dspid=eyedbsm::DefaultDspid) |
Not yet documented. | |
unsigned | getKeySize () const |
Not yet documented. | |
unsigned | getDataSize () const |
Not yet documented. | |
const Idx::KeyType * | getKeyTypes (unsigned int &nkeys) const |
Not yet documented. | |
short | getDspid () const |
Not yet documented. | |
unsigned int | getDegree () const |
Not yet documented. | |
unsigned int | getMaxChildren () const |
Not yet documented. | |
unsigned int | getCount () const |
Not yet documented. | |
short | getDefaultDspid () const |
Not yet documented. | |
void | setDefaultDspid (short dspid) |
Not yet documented. | |
eyedbsm::Status | getObjects (eyedbsm::Oid *&oids, unsigned int &cnt) const |
Not yet documented. | |
eyedbsm::Status | insert (void const *key, void const *data) |
Not yet documented. | |
Status | insert (const void *key, const void *data, unsigned int datasz) |
Not yet documented. | |
eyedbsm::Status | remove (void const *key, void const *data, eyedbsm::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. | |
eyedbsm::Status | searchAny (void const *key, eyedbsm::Boolean *found, void *data=0) |
Not yet documented. | |
eyedbsm::Status | destroy () |
Not yet documented. | |
eyedbsm::Oid const & | oid () const |
Not yet documented. | |
eyedbsm::Status | status () const |
Not yet documented. | |
Static Public Member Functions | |
static unsigned int | getMagOrder (unsigned int degree) |
Not yet documented. | |
static unsigned int | getDegree (unsigned int magorder) |
Not yet documented. |
Not yet documented.
Definition at line 47 of file BIdx.h.
eyedbsm::BIdx::BIdx | ( | eyedbsm::DbHandle * | vh, | |
unsigned | dataSize, | |||
KeyType const | types[], | |||
short | dspid, | |||
unsigned int | degree = BIDX_DEF_DEGREE , |
|||
unsigned | ntypes = 1 | |||
) |
Not yet documented.
vh | ||
dataSize | ||
types | ||
dspid | ||
degree | ||
ntypes |
Definition at line 249 of file BIdxBTree.cc.
eyedbsm::BIdx::BIdx | ( | eyedbsm::DbHandle * | vh, | |
Type | type, | |||
unsigned | dataSize, | |||
short | dspid, | |||
unsigned int | degree = BIDX_DEF_DEGREE | |||
) |
Not yet documented.
vh | ||
type | ||
dataSize | ||
dspid | ||
degree |
Definition at line 228 of file BIdxBTree.cc.
eyedbsm::BIdx::BIdx | ( | eyedbsm::DbHandle * | vh, | |
eyedbsm::Oid const & | idx, | |||
eyedbsm::Boolean(*)(void const *p, void const *q, KeyType const *type, int &r) | precmp = 0 | |||
) |
virtual BIdx* eyedbsm::BIdx::asBIdx | ( | ) | [inline, virtual] |
int eyedbsm::BIdx::cmp | ( | void const * | key, | |
void const * | d, | |||
unsigned char | bswap | |||
) |
Status eyedbsm::BIdx::destroy | ( | ) |
unsigned int eyedbsm::BIdx::getCount | ( | void | ) | const |
unsigned eyedbsm::BIdx::getDataSize | ( | ) | const [inline] |
short eyedbsm::BIdx::getDefaultDspid | ( | ) | const |
unsigned int eyedbsm::BIdx::getDegree | ( | unsigned int | magorder | ) | [static] |
unsigned int eyedbsm::BIdx::getDegree | ( | ) | const [inline] |
short eyedbsm::BIdx::getDspid | ( | ) | const [inline] |
unsigned eyedbsm::BIdx::getKeySize | ( | ) | const [inline] |
const Idx::KeyType* eyedbsm::BIdx::getKeyTypes | ( | unsigned int & | nkeys | ) | const [inline] |
unsigned int eyedbsm::BIdx::getMagOrder | ( | unsigned int | degree | ) | [static] |
unsigned int eyedbsm::BIdx::getMaxChildren | ( | ) | const [inline] |
Status eyedbsm::BIdx::getObjects | ( | eyedbsm::Oid *& | oids, | |
unsigned int & | cnt | |||
) | const |
Status eyedbsm::BIdx::insert | ( | const void * | key, | |
const void * | data, | |||
unsigned int | datasz | |||
) |
Not yet documented.
key | ||
data | ||
datasz |
Definition at line 232 of file BIdxInsert.cc.
Status eyedbsm::BIdx::insert | ( | void const * | key, | |
void const * | data | |||
) |
Status eyedbsm::BIdx::move | ( | short | dspid, | |
eyedbsm::Oid & | newoid | |||
) |
eyedbsm::Oid const& eyedbsm::BIdx::oid | ( | ) | const [inline] |
void eyedbsm::BIdx::open | ( | eyedbsm::Boolean(*)(void const *p, void const *q, KeyType const *type, int &r) | precmp = 0 |
) |
Status eyedbsm::BIdx::reimplementToBTree | ( | eyedbsm::Oid & | newoid, | |
int | degree = 0 , |
|||
short | dspid = eyedbsm::DefaultDspid | |||
) |
Not yet documented.
newoid | ||
degree | ||
dspid |
Definition at line 463 of file BIdxBTree.cc.
Status eyedbsm::BIdx::reimplementToHash | ( | eyedbsm::Oid & | newoid, | |
int | key_count, | |||
int | mag_order = 0 , |
|||
short | dspid = eyedbsm::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.
newoid | ||
key_count | ||
mag_order | ||
dspid | ||
impl_hints | ||
impl_hints_cnt | ||
hash_key | ||
hash_data | ||
ktype |
Definition at line 439 of file BIdxBTree.cc.
Status eyedbsm::BIdx::remove | ( | const void * | key, | |
const void * | data, | |||
unsigned int | datasz, | |||
Boolean * | found = 0 | |||
) |
Not yet documented.
key | ||
data | ||
datasz | ||
found |
Definition at line 255 of file BIdxDelete.cc.
Status eyedbsm::BIdx::remove | ( | void const * | key, | |
void const * | data, | |||
eyedbsm::Boolean * | found = 0 | |||
) |
Not yet documented.
key | ||
data | ||
found |
Definition at line 260 of file BIdxDelete.cc.
Status eyedbsm::BIdx::search | ( | const void * | key, | |
unsigned int * | found_cnt | |||
) |
Not yet documented.
key | ||
found_cnt | ||
xdata |
Definition at line 100 of file BIdxSearch.cc.
Status eyedbsm::BIdx::searchAny | ( | void const * | key, | |
eyedbsm::Boolean * | found, | |||
void * | data = 0 | |||
) |
Not yet documented.
key | ||
found | ||
data |
Definition at line 106 of file BIdxSearch.cc.
void eyedbsm::BIdx::setDefaultDspid | ( | short | dspid | ) |
eyedbsm::Status eyedbsm::BIdx::status | ( | ) | const [inline] |