rasdaman complete source
Public Member Functions | Protected Member Functions | List of all members
DBStorageLayout Class Reference

#include <dbstoragelayout.hh>

Inheritance diagram for DBStorageLayout:
DBObject

Public Member Functions

 DBStorageLayout ()
 Construct object that uses system defaults. More...
 
void printStatus (unsigned int level=0, std::ostream &stream=std::cout) const
 
bool supportsTileSize () const
 
bool supportsPCTMin () const
 
bool supportsPCTMax () const
 
bool supportsIndexSize () const
 
bool supportsIndexType () const
 
bool supportsTilingScheme () const
 
bool supportsTileConfiguration () const
 
bool supportsDataFormat () const
 
r_Bytes getPCTMin () const
 
r_Bytes getPCTMax () const
 
unsigned int getIndexSize () const
 
r_Index_Type getIndexType () const
 
r_Tiling_Scheme getTilingScheme () const
 
r_Bytes getTileSize () const
 
r_Minterval getTileConfiguration () const
 
r_Data_Format getDataFormat () const
 
void setPCTMin (r_Bytes bytes)
 
void setPCTMax (r_Bytes bytes)
 
void setIndexSize (unsigned int entries)
 
void setIndexType (r_Index_Type it)
 
void setTilingScheme (r_Tiling_Scheme ts)
 
void setTileSize (r_Bytes ts)
 
void setTileConfiguration (const r_Minterval &tc)
 
void setDataFormat (r_Data_Format df)
 
 ~DBStorageLayout ()
 
- Public Member Functions inherited from DBObject
virtual void destroy (void)
 
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 r_Bytes getTotalStorageSize () const
 
virtual BinaryRepresentation getBinaryRepresentation () const throw (r_Error)
 
virtual void setBinaryRepresentation (const BinaryRepresentation &) throw (r_Error)
 
virtual char * getBinaryName () const
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from DBObject
bool _isPersistent
 
bool _isInDatabase
 
bool _isModified
 
bool _isCached
 
OId myOId
 
OId::OIdType objecttype
 
int referenceCount
 

Constructor & Destructor Documentation

DBStorageLayout::~DBStorageLayout ( )
DBStorageLayout::DBStorageLayout ( const OId id)
throw (r_Error
)
protected

Member Function Documentation

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

Reimplemented from DBObject.

r_Data_Format DBStorageLayout::getDataFormat ( ) const
unsigned int DBStorageLayout::getIndexSize ( ) const
r_Index_Type DBStorageLayout::getIndexType ( ) const
r_Bytes DBStorageLayout::getPCTMax ( ) const
r_Bytes DBStorageLayout::getPCTMin ( ) const
r_Minterval DBStorageLayout::getTileConfiguration ( ) const
r_Bytes DBStorageLayout::getTileSize ( ) const
r_Tiling_Scheme DBStorageLayout::getTilingScheme ( ) const
virtual void DBStorageLayout::insertInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

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

Reimplemented from DBObject.

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

Reimplemented from DBObject.

void DBStorageLayout::setDataFormat ( r_Data_Format  df)
void DBStorageLayout::setIndexSize ( unsigned int  entries)
void DBStorageLayout::setIndexType ( r_Index_Type  it)
void DBStorageLayout::setPCTMax ( r_Bytes  bytes)
void DBStorageLayout::setPCTMin ( r_Bytes  bytes)
void DBStorageLayout::setTileConfiguration ( const r_Minterval &  tc)
void DBStorageLayout::setTileSize ( r_Bytes  ts)
void DBStorageLayout::setTilingScheme ( r_Tiling_Scheme  ts)
bool DBStorageLayout::supportsDataFormat ( ) const
bool DBStorageLayout::supportsIndexSize ( ) const
bool DBStorageLayout::supportsIndexType ( ) const
bool DBStorageLayout::supportsPCTMax ( ) const
bool DBStorageLayout::supportsPCTMin ( ) const
bool DBStorageLayout::supportsTileConfiguration ( ) const
bool DBStorageLayout::supportsTileSize ( ) const
bool DBStorageLayout::supportsTilingScheme ( ) const
virtual void DBStorageLayout::updateInDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.


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