rasdaman base DBMS
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
BLOBTile Class Reference

#include <blobtile.hh>

Inheritance diagram for BLOBTile:
DBTile DBObject InlineTile

Public Member Functions

 BLOBTile (r_Data_Format dataformat=r_Array)
 
 BLOBTile (const OId &BlobId) throw (r_Error)
 
 BLOBTile (r_Bytes newSize, char c=0, r_Data_Format dataformat=r_Array)
 
 BLOBTile (r_Bytes newSize, r_Bytes patSize, const char *pat, r_Data_Format dataformat=r_Array)
 
 BLOBTile (r_Bytes newSize, const char *newCells, r_Data_Format dataformat=r_Array)
 
 BLOBTile (r_Bytes newSize, const char *newCells, r_Data_Format dataformat, const OId &myOId)
 
 BLOBTile (const OId &BlobId, r_Bytes newSize, r_Data_Format newFmt)
 
virtual ~BLOBTile ()
 
- Public Member Functions inherited from DBTile
virtual ~DBTile ()
 
void resize (r_Bytes newSize)
 
virtual r_Bytes getMemorySize () const
 
virtual void printStatus (unsigned int level=0, std::ostream &stream=std::cout) const
 
void setNoModificationData (char *data) const
 
void setNoModificationSize (r_Bytes newSize) const
 
char * getCells ()
 get contents as array of chars for read access. More...
 
const char * getCells () const
 get contents as array of chars for read access. More...
 
char getCell (r_Bytes index) const
 get one char in the contents of the DBTile. More...
 
r_Data_Format getDataFormat () const
 
r_Data_Format getCurrentFormat () const
 
void setDataFormat (const r_Data_Format &dataformat)
 
void setCurrentFormat (const r_Data_Format &dataformat) const
 
r_Bytes getSize () const
 get size of contents of DBTile in chars. More...
 
void setCell (r_Bytes index, char newCell)
 change one char in the contents of the DBTile. More...
 
void setCells (char *newCells)
 
 DBTile (r_Data_Format dataformat=r_Array)
 
 DBTile (const OId &BlobId) throw (r_Error)
 
 DBTile (r_Bytes newSize, char c=0, r_Data_Format dataformat=r_Array)
 
 DBTile (r_Bytes newSize, r_Bytes patSize, const char *pat, r_Data_Format dataformat=r_Array)
 
 DBTile (r_Bytes newSize, const char *newCells, r_Data_Format dataformat=r_Array)
 
- 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 getTotalStorageSize () const
 
virtual BinaryRepresentation getBinaryRepresentation () const throw (r_Error)
 
virtual void setBinaryRepresentation (const BinaryRepresentation &) throw (r_Error)
 
virtual char * getBinaryName () const
 

Static Public Member Functions

static void kill (const OId &target, unsigned int range=0)
 

Static Public Attributes

static r_Bytes BLOBBufferLength
 

Protected Member Functions

virtual void updateInDb () throw (r_Error)
 
virtual void insertInDb () throw (r_Error)
 
virtual void readFromDb () throw (r_Error)
 
virtual void deleteFromDb () throw (r_Error)
 
- Protected Member Functions inherited from DBObject
virtual void release ()
 

Additional Inherited Members

- Protected Attributes inherited from DBTile
r_Bytes size
 
char * cells
 
r_Data_Format dataFormat
 
r_Data_Format currentFormat
 
- Protected Attributes inherited from DBObject
bool _isPersistent
 
bool _isInDatabase
 
bool _isModified
 
bool _isCached
 
OId myOId
 
OId::OIdType objecttype
 
int referenceCount
 

Constructor & Destructor Documentation

virtual BLOBTile::~BLOBTile ( )
virtual

Member Function Documentation

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

Reimplemented from DBObject.

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

Reimplemented from DBObject.

static void BLOBTile::kill ( const OId target,
unsigned int  range = 0 
)
static
virtual void BLOBTile::readFromDb ( )
throw (r_Error
)
protectedvirtual

Reimplemented from DBObject.

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

Reimplemented from DBObject.

Member Data Documentation

r_Bytes BLOBTile::BLOBBufferLength
static

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