eyedb::IndexImpl Class Reference
[eyedb]

Inheritance diagram for eyedb::IndexImpl:

eyedb::gbxObject

List of all members.

Public Types

enum  Type { Hash = 1, BTree }

Public Member Functions

 IndexImpl (Type type, const Dataspace *dataspace=0, unsigned int keycount_or_degree=0, BEMethod_C *mth=0, const int impl_hints[]=0, unsigned int impl_hints_cnt=0)
 Not yet documented.
Type getType () const
 Not yet documented.
const char * getStringType () const
 Not yet documented.
IndexImplclone () const
 Not yet documented.
const DataspacegetDataspace () const
 Not yet documented.
Bool compare (const IndexImpl *idximpl) const
 Not yet documented.
unsigned int getKeycount () const
 Not yet documented.
BEMethod_CgetHashMethod () const
 Not yet documented.
std::string getHintsString () const
 Not yet documented.
std::string toString (const char *indent="") const
 Not yet documented.
unsigned int getDegree () const
 Not yet documented.
const int * getImplHints (unsigned int &_impl_hints_cnt) const
 Not yet documented.
 ~IndexImpl ()
unsigned int getMagorder (unsigned int def_magorder) const
 Not yet documented.
void setHashMethod (BEMethod_C *)
void setDataspace (const Dataspace *_d)

Static Public Member Functions

static Status make (Type type, const char *hints, IndexImpl *&idximpl, Bool is_string=False)
 Not yet documented.
static Status make (Database *db, Type type, const char *hints, IndexImpl *&idximpl, Bool is_string=False)
 Not yet documented.
static unsigned int estimateHashKeycount (unsigned int magorder)
 Not yet documented.
static unsigned int estimateBTreeDegree (unsigned int magorder)
 Not yet documented.
static const char * hashHintToStr (unsigned int hints, Bool cap=False)
 Not yet documented.
static bool isHashHintImplemented (unsigned int hints)
 Not yet documented.
static Status decode (Database *, Data, Offset &, IndexImpl *&)
static Status code (Data &, Offset &, Size &, const IndexImpl &)


Detailed Description

Definition at line 38 of file IndexImpl.h.


Member Enumeration Documentation

enum eyedb::IndexImpl::Type

Enumerator:
Hash 
BTree 

Definition at line 41 of file IndexImpl.h.


Constructor & Destructor Documentation

eyedb::IndexImpl::IndexImpl ( Type  type,
const Dataspace dataspace = 0,
unsigned int  keycount_or_degree = 0,
BEMethod_C mth = 0,
const int  impl_hints[] = 0,
unsigned int  impl_hints_cnt = 0 
)

Not yet documented.

Parameters:
type 
dataspace 
keycount_or_degree 
mth 
impl_hints 
impl_hints_cnt 

Definition at line 418 of file IndexImpl.cc.


Member Function Documentation

static Status eyedb::IndexImpl::make ( Type  type,
const char *  hints,
IndexImpl *&  idximpl,
Bool  is_string = False 
) [inline, static]

Not yet documented.

Parameters:
type 
hints 
idximpl 
is_string 
Returns:

Definition at line 69 of file IndexImpl.h.

Status eyedb::IndexImpl::make ( Database db,
Type  type,
const char *  hints,
IndexImpl *&  idximpl,
Bool  is_string = False 
) [static]

Not yet documented.

Parameters:
db 
type 
hints 
idximpl 
is_string 
Returns:

Definition at line 466 of file IndexImpl.cc.

Type eyedb::IndexImpl::getType (  )  const [inline]

Not yet documented.

Returns:

Definition at line 91 of file IndexImpl.h.

const char* eyedb::IndexImpl::getStringType (  )  const [inline]

Not yet documented.

Returns:

Definition at line 97 of file IndexImpl.h.

IndexImpl * eyedb::IndexImpl::clone (  )  const

Not yet documented.

Returns:

Definition at line 579 of file IndexImpl.cc.

const Dataspace* eyedb::IndexImpl::getDataspace (  )  const [inline]

Not yet documented.

Returns:

Definition at line 109 of file IndexImpl.h.

Bool eyedb::IndexImpl::compare ( const IndexImpl idximpl  )  const

Not yet documented.

Parameters:
idximpl 
Returns:

Definition at line 591 of file IndexImpl.cc.

unsigned int eyedb::IndexImpl::getKeycount (  )  const [inline]

Not yet documented.

Returns:

Definition at line 122 of file IndexImpl.h.

BEMethod_C* eyedb::IndexImpl::getHashMethod (  )  const [inline]

Not yet documented.

Returns:

Definition at line 128 of file IndexImpl.h.

std::string eyedb::IndexImpl::getHintsString (  )  const

Not yet documented.

Returns:

Definition at line 482 of file IndexImpl.cc.

std::string eyedb::IndexImpl::toString ( const char *  indent = ""  )  const

Not yet documented.

Parameters:
indent 
Returns:

Definition at line 529 of file IndexImpl.cc.

unsigned int eyedb::IndexImpl::getDegree (  )  const [inline]

Not yet documented.

Returns:

Definition at line 147 of file IndexImpl.h.

const int* eyedb::IndexImpl::getImplHints ( unsigned int &  _impl_hints_cnt  )  const [inline]

Not yet documented.

Parameters:
_impl_hints_cnt 
Returns:

Definition at line 154 of file IndexImpl.h.

unsigned int eyedb::IndexImpl::getMagorder ( unsigned int  def_magorder  )  const

Not yet documented.

Parameters:
def_magorder 
Returns:

Definition at line 615 of file IndexImpl.cc.

unsigned int eyedb::IndexImpl::estimateHashKeycount ( unsigned int  magorder  )  [static]

Not yet documented.

Parameters:
magorder 
Returns:

Definition at line 630 of file IndexImpl.cc.

unsigned int eyedb::IndexImpl::estimateBTreeDegree ( unsigned int  magorder  )  [static]

Not yet documented.

Parameters:
magorder 
Returns:

Definition at line 636 of file IndexImpl.cc.

const char * eyedb::IndexImpl::hashHintToStr ( unsigned int  hints,
Bool  cap = False 
) [static]

Not yet documented.

Parameters:
hints 
cap 
Returns:

Definition at line 110 of file IndexImpl.cc.

bool eyedb::IndexImpl::isHashHintImplemented ( unsigned int  hints  )  [static]

Not yet documented.

Parameters:
hints 
Returns:

Definition at line 130 of file IndexImpl.cc.


The documentation for this class was generated from the following files:
Generated on Mon Dec 22 18:16:19 2008 for eyedb by  doxygen 1.5.3