rasdaman complete source
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
DBRCIndexDS Class Reference

#include <dbrcindexds.hh>

Inheritance diagram for DBRCIndexDS:
IndexDS DBObject

Public Member Functions

 DBRCIndexDS (const r_Minterval &definedDomain, unsigned int numberTiles, OId::OIdType theEntryType=OId::BLOBOID)
 
virtual r_Minterval getCoveredDomain () const
 
virtual r_Minterval getAssignedDomain () const
 return defined domain More...
 
virtual r_Minterval getObjectDomain (unsigned int pos) const
 return defined domain More...
 
virtual r_Dimension getDimension () const
 throw r_Error_FeatureNotSupported More...
 
virtual void setAssignedDomain (const r_Minterval &domain)
 
virtual unsigned int getSize () const
 throw r_Error_FeatureNotSupported More...
 
virtual r_Bytes getTotalStorageSize () const
 this will return the maximum number of tiles that can be stored in the definedDomain. More...
 
virtual bool isValid () const
 
virtual bool isUnderFull () const
 returns true More...
 
virtual bool isOverFull () const
 returns false More...
 
virtual bool isSameAs (const IndexDS *pix) const
 returns false More...
 
virtual bool removeObject (unsigned int pos)
 
virtual bool removeObject (const KeyObject &theKey)
 throw r_Error_FeatureNotSupported More...
 
virtual void insertObject (const KeyObject &theKey, unsigned int pos)
 throw r_Error_FeatureNotSupported More...
 
virtual void setObject (const KeyObject &theKey, unsigned int pos)
 throw r_Error_FeatureNotSupported More...
 
virtual void setObjectDomain (const r_Minterval &dom, unsigned int pos)
 throw r_Error_FeatureNotSupported More...
 
virtual const KeyObjectgetObject (unsigned int pos) const
 throw r_Error_FeatureNotSupported More...
 
virtual void getObjects (KeyObjectVector &objs) const
 throw r_Error_FeatureNotSupported More...
 
virtual unsigned int getOptimalSize () const
 throw r_Error_FeatureNotSupported More...
 
virtual void freeDS ()
 returns the maximum number of entries that can be stored in this index More...
 
virtual OId::OIdPrimitive getIdentifier () const
 
virtual void printStatus (unsigned int level=0, std::ostream &stream=std::cout) const
 
virtual ~DBRCIndexDS ()
 
virtual void destroy ()
 
virtual IndexDSgetNewInstance () const
 
virtual OId::OIdType getBaseOIdType () const
 throw r_Error_FeatureNotSupported More...
 
virtual OId::OIdCounter getBaseCounter () const
 
- Public Member Functions inherited from IndexDS
 IndexDS ()
 
 IndexDS (const OId &id)
 
- Public Member Functions inherited from DBObject
int getReferenceCount (void) const
 
void incrementReferenceCount (void)
 
void decrementReferenceCount (void)
 
virtual ~DBObject ()
 
 DBObject ()
 
 DBObject (const DBObject &old)
 
 DBObject (const OId &id) throw (r_Error)
 
virtual void setPersistent (bool newPersistent) throw (r_Error)
 
bool isPersistent () const
 
void validate () throw (r_Error)
 
virtual void setModified () throw (r_Error)
 
bool isModified () const
 
OId getOId () const
 
EOId getEOId () const
 
OId::OIdType getObjectType () const
 
DBObjectoperator= (const DBObject &old)
 
bool isCached () const
 
virtual void setCached (bool newCached)
 
virtual r_Bytes getMemorySize () const
 
virtual BinaryRepresentation getBinaryRepresentation () const throw (r_Error)
 
virtual void setBinaryRepresentation (const BinaryRepresentation &) throw (r_Error)
 
virtual char * getBinaryName () const
 

Static Public Attributes

static r_Bytes BytesPerTupel
 

Protected Member Functions

 DBRCIndexDS (const OId &id)
 
virtual void readFromDb () throw (r_Error)
 
virtual void updateInDb () throw (r_Error)
 
virtual void deleteFromDb () throw (r_Error)
 
virtual void insertInDb () throw (r_Error)
 
- Protected Member Functions inherited from DBObject
virtual void release ()
 

Protected Attributes

OId::OIdCounter myBaseCounter
 
OId::OIdType myBaseOIdType
 
OId::OIdCounter mySize
 
InlineMinterval myDomain
 
short currentDbRows
 
- Protected Attributes inherited from DBObject
bool _isPersistent
 
bool _isInDatabase
 
bool _isModified
 
bool _isCached
 
OId myOId
 
OId::OIdType objecttype
 
int referenceCount
 

Constructor & Destructor Documentation

DBRCIndexDS::DBRCIndexDS ( const r_Minterval definedDomain,
unsigned int  numberTiles,
OId::OIdType  theEntryType = OId::BLOBOID 
)
virtual DBRCIndexDS::~DBRCIndexDS ( )
virtual
DBRCIndexDS::DBRCIndexDS ( const OId id)
protected

Member Function Documentation

virtual void DBRCIndexDS::deleteFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

virtual void DBRCIndexDS::destroy ( )
virtual

Reimplemented from DBObject.

virtual void DBRCIndexDS::freeDS ( )
virtual

returns the maximum number of entries that can be stored in this index

Implements IndexDS.

virtual r_Minterval DBRCIndexDS::getAssignedDomain ( ) const
virtual

return defined domain

Implements IndexDS.

virtual OId::OIdCounter DBRCIndexDS::getBaseCounter ( ) const
virtual
virtual OId::OIdType DBRCIndexDS::getBaseOIdType ( ) const
virtual

throw r_Error_FeatureNotSupported

virtual r_Minterval DBRCIndexDS::getCoveredDomain ( ) const
virtual

Implements IndexDS.

virtual r_Dimension DBRCIndexDS::getDimension ( ) const
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual OId::OIdPrimitive DBRCIndexDS::getIdentifier ( ) const
virtual

Implements IndexDS.

virtual IndexDS* DBRCIndexDS::getNewInstance ( ) const
virtual

Implements IndexDS.

virtual const KeyObject& DBRCIndexDS::getObject ( unsigned int  pos) const
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual r_Minterval DBRCIndexDS::getObjectDomain ( unsigned int  pos) const
virtual

return defined domain

Implements IndexDS.

virtual void DBRCIndexDS::getObjects ( KeyObjectVector objs) const
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual unsigned int DBRCIndexDS::getOptimalSize ( ) const
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual unsigned int DBRCIndexDS::getSize ( ) const
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual r_Bytes DBRCIndexDS::getTotalStorageSize ( ) const
virtual

this will return the maximum number of tiles that can be stored in the definedDomain.

Reimplemented from DBObject.

virtual void DBRCIndexDS::insertInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

virtual void DBRCIndexDS::insertObject ( const KeyObject theKey,
unsigned int  pos 
)
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual bool DBRCIndexDS::isOverFull ( ) const
virtual

returns false

Implements IndexDS.

virtual bool DBRCIndexDS::isSameAs ( const IndexDS pix) const
virtual

returns false

Implements IndexDS.

virtual bool DBRCIndexDS::isUnderFull ( ) const
virtual

returns true

Implements IndexDS.

virtual bool DBRCIndexDS::isValid ( ) const
virtual

Implements IndexDS.

virtual void DBRCIndexDS::printStatus ( unsigned int  level = 0,
std::ostream &  stream = std::cout 
) const
virtual

Reimplemented from DBObject.

virtual void DBRCIndexDS::readFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

virtual bool DBRCIndexDS::removeObject ( unsigned int  pos)
virtual

Implements IndexDS.

virtual bool DBRCIndexDS::removeObject ( const KeyObject theKey)
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual void DBRCIndexDS::setAssignedDomain ( const r_Minterval domain)
virtual

Implements IndexDS.

virtual void DBRCIndexDS::setObject ( const KeyObject theKey,
unsigned int  pos 
)
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual void DBRCIndexDS::setObjectDomain ( const r_Minterval dom,
unsigned int  pos 
)
virtual

throw r_Error_FeatureNotSupported

Implements IndexDS.

virtual void DBRCIndexDS::updateInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

Member Data Documentation

r_Bytes DBRCIndexDS::BytesPerTupel
static
short DBRCIndexDS::currentDbRows
protected
OId::OIdCounter DBRCIndexDS::myBaseCounter
protected
OId::OIdType DBRCIndexDS::myBaseOIdType
protected
InlineMinterval DBRCIndexDS::myDomain
protected
OId::OIdCounter DBRCIndexDS::mySize
protected

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