eyedbsm::HIdx Class Reference
[eyedbsm]

Not yet documented. More...

#include <HIdx.h>

Inherits eyedbsm::Idx.

List of all members.

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 HIdxasHIdx ()
 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.

Detailed Description

Not yet documented.

Definition at line 58 of file HIdx.h.


Constructor & Destructor Documentation

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 
)

Not yet documented.

Parameters:
vh 
type 
datasz 
dspid 
magorder 
key_count 
impl_hints 
impl_hints_cnt 

Definition at line 421 of file HIdx.cc.

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 
)

Not yet documented.

Parameters:
vh 
poid 
hash_key 
hash_data 
precmp 

Definition at line 454 of file HIdx.cc.


Member Function Documentation

virtual HIdx* eyedbsm::HIdx::asHIdx (  )  [inline, virtual]

Not yet documented.

Returns:

Definition at line 331 of file HIdx.h.

Status eyedbsm::HIdx::collapse (  ) 

Not yet documented.

Returns:

Definition at line 2965 of file HIdx.cc.

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

Not yet documented.

Parameters:
idx_n 
key_count 
mag_order 
dspid 
impl_hints 
impl_hints_cnt 
_hash_key 
_hash_data 
ktype 
Returns:

Definition at line 4554 of file HIdx.cc.

Status eyedbsm::HIdx::destroy (  ) 

Not yet documented.

Returns:

Definition at line 3288 of file HIdx.cc.

Status eyedbsm::HIdx::dumpMemoryMap ( FILE *  fd = stdout  ) 

Not yet documented.

Parameters:
fd 
Returns:

Definition at line 3446 of file HIdx.cc.

Status eyedbsm::HIdx::flush_cache ( bool  insert_data = true  ) 

Not yet documented.

Returns:

Definition at line 2087 of file HIdx.cc.

unsigned int eyedbsm::HIdx::getCount ( void   )  const

Not yet documented.

Returns:

Definition at line 2832 of file HIdx.cc.

unsigned int eyedbsm::HIdx::getDataGroupedSizeof (  )  const [inline]

Not yet documented.

Returns:

Definition at line 473 of file HIdx.h.

short eyedbsm::HIdx::getDefaultDspid (  )  const

Not yet documented.

Returns:

Definition at line 2838 of file HIdx.cc.

const HIdx::_Idx& eyedbsm::HIdx::getIdx (  )  const [inline]

Not yet documented.

Returns:

Definition at line 343 of file HIdx.h.

unsigned int eyedbsm::HIdx::getKeyCount ( unsigned int  magorder  )  [static]

Not yet documented.

Parameters:
magorder 
Returns:

Definition at line 444 of file HIdx.cc.

unsigned int eyedbsm::HIdx::getKeyCount (  )  const [inline]

Not yet documented.

Returns:

Definition at line 485 of file HIdx.h.

const KeyType& eyedbsm::HIdx::getKeyType (  )  const [inline]

Not yet documented.

Returns:

Definition at line 337 of file HIdx.h.

unsigned int eyedbsm::HIdx::getMagOrder ( unsigned int  keycount  )  [static]

Not yet documented.

Parameters:
keycount 
Returns:

Definition at line 438 of file HIdx.cc.

Status eyedbsm::HIdx::getObjects ( Oid *&  oids,
unsigned int &  cnt 
) const

Not yet documented.

Parameters:
oids 
cnt 
Returns:

Definition at line 2921 of file HIdx.cc.

Status eyedbsm::HIdx::getStats ( HIdx::Stats &  stats  )  const

Not yet documented.

Parameters:
stats 
Returns:

Definition at line 4394 of file HIdx.cc.

Status eyedbsm::HIdx::getStats ( std::string &  stats  )  const

Not yet documented.

Parameters:
stats 
Returns:

Definition at line 4318 of file HIdx.cc.

Status eyedbsm::HIdx::insert ( const void *  key,
std::vector< const void * > &  data_v 
)

Not yet documented.

Parameters:
key 
data_v 
Returns:

Definition at line 2132 of file HIdx.cc.

Status eyedbsm::HIdx::insert ( const void *  key,
const void *  data,
unsigned int  datasz 
)

Not yet documented.

Parameters:
key 
data 
datasz 
Returns:

Definition at line 2123 of file HIdx.cc.

Status eyedbsm::HIdx::insert ( const void *  key,
const void *  data 
)

Not yet documented.

Parameters:
key 
data 
Returns:

Definition at line 2114 of file HIdx.cc.

Status eyedbsm::HIdx::insert_cache ( const void *  key,
std::vector< const void * > &  data_v 
)

Not yet documented.

Parameters:
key 
data_v 
Returns:

Definition at line 2070 of file HIdx.cc.

Status eyedbsm::HIdx::insert_cache ( const void *  key,
const void *  data 
)

Not yet documented.

Parameters:
key 
data 
Returns:

Definition at line 2063 of file HIdx.cc.

Boolean eyedbsm::HIdx::isDataGroupedByKey (  )  const [inline]

Not yet documented.

Returns:

Definition at line 461 of file HIdx.h.

bool eyedbsm::HIdx::isDataVarSize (  )  const [inline]

Not yet documented.

Returns:

Definition at line 467 of file HIdx.h.

Status eyedbsm::HIdx::move ( short  dspid,
eyedbsm::Oid &  newoid,
hash_key_t  hash_key = 0,
void *  hash_data = 0 
)

Not yet documented.

Parameters:
dspid 
Returns:

Definition at line 4624 of file HIdx.cc.

Oid const& eyedbsm::HIdx::oid (  )  const [inline]

Not yet documented.

Returns:

Definition at line 455 of file HIdx.h.

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 
)

Not yet documented.

Parameters:
hash_key 
hash_data 
precmp 

Definition at line 602 of file HIdx.cc.

Status eyedbsm::HIdx::printStat ( FILE *  fd = stdout  )  const

Not yet documented.

Parameters:
fd 
Returns:

Definition at line 3466 of file HIdx.cc.

Status eyedbsm::HIdx::reimplementToBTree ( Oid &  newoid,
int  degree = 0,
short  dspid = DefaultDspid 
)

Not yet documented.

Parameters:
newoid 
degree 
dspid 
Returns:

Definition at line 4602 of file HIdx.cc.

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 
)

Not yet documented.

Parameters:
newoid 
key_count 
mag_order 
dspid 
impl_hints 
impl_hints_cnt 
hash_key 
hash_data 
ktype 
Returns:

Definition at line 4682 of file HIdx.cc.

Status eyedbsm::HIdx::remove ( const void *  key,
const void *  data,
unsigned int  datasz,
Boolean *  found = 0 
)

Not yet documented.

Parameters:
key 
data 
datasz 
found 
Returns:

Definition at line 2583 of file HIdx.cc.

Status eyedbsm::HIdx::remove ( const void *  key,
const void *  data,
Boolean *  found = 0 
)

Not yet documented.

Parameters:
key 
data 
found 
Returns:

Definition at line 2592 of file HIdx.cc.

Status eyedbsm::HIdx::search ( const void *  key,
unsigned int *  found_cnt 
)

Not yet documented.

Parameters:
key 
found_cnt 
data 
Returns:

Definition at line 3168 of file HIdx.cc.

Status eyedbsm::HIdx::searchAny ( const void *  key,
Boolean *  found,
void *  data = 0 
)

Not yet documented.

Parameters:
key 
found 
data 
Returns:

Definition at line 3153 of file HIdx.cc.

void eyedbsm::HIdx::setDefaultDspid ( short  dspid  ) 

Not yet documented.

Parameters:
dspid 

Definition at line 2845 of file HIdx.cc.

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

Not yet documented.

Parameters:
stats 
key_count 
mag_order 
impl_hints 
impl_hints_cnt 
hash_key 
hash_data 
Returns:

Definition at line 4715 of file HIdx.cc.

Status eyedbsm::HIdx::status (  )  const [inline]

Not yet documented.

Returns:

Definition at line 479 of file HIdx.h.


The documentation for this class was generated from the following files:

Generated on Wed May 26 10:25:12 2010 for eyedb by  doxygen 1.6.1