Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::BufferObject Struct Reference

Abstract object with holds a Page and more information of it. Holds also Pointer to previous or next pages, which holds also data of the same column. This double linked list will be created by BufferManager. Iterate with prev() and next(). For debugging, printStatus() prints the page-status-byte of this and all next pages. More...

#include <buffer_object.hpp>

Collaboration diagram for CoGaDB::BufferObject:

List of all members.

Public Member Functions

 BufferObject (PagePtr, std::string, std::string, std::string)
 BufferObject (const BufferObject &)
 ~BufferObject ()
BufferObjectoperator= (const BufferObject &)
PagePtr getPage ()
std::string getPath () const
std::string getTableName () const
std::string getColName () const
BufferObjectnext () const
BufferObjectprev () const
void setNext (BufferObject *)
void setPrev (BufferObject *)
bool containsContentOf (std::string, std::string) const
void printStatus () const

Private Attributes

struct BufferObject_next
struct BufferObject_prev
PagePtr _page
std::string _path
std::string _table
std::string _col

Detailed Description

Abstract object with holds a Page and more information of it. Holds also Pointer to previous or next pages, which holds also data of the same column. This double linked list will be created by BufferManager. Iterate with prev() and next(). For debugging, printStatus() prints the page-status-byte of this and all next pages.


Constructor & Destructor Documentation

CoGaDB::BufferObject::BufferObject ( PagePtr  page,
std::string  path,
std::string  table,
std::string  col 
)

Member Function Documentation

bool CoGaDB::BufferObject::containsContentOf ( std::string  table,
std::string  col 
) const

References _col, and _table.

References _col.

References _page.

Referenced by CoGaDB::RowPage::getStringFromPage(), and CoGaDB::RowPage::getValueFromPage().

Here is the caller graph for this function:

References _path.

References _table.

References _next.

Referenced by CoGaDB::RowPage::getStringFromPage(), and CoGaDB::RowPage::getValueFromPage().

Here is the caller graph for this function:

BufferObject& CoGaDB::BufferObject::operator= ( const BufferObject )

References _prev.

Referenced by CoGaDB::BufferManager::getPages().

Here is the caller graph for this function:

References _next, _page, and printStatus().

Referenced by printStatus().

Here is the call graph for this function:

Here is the caller graph for this function:

References _next.

Referenced by CoGaDB::BufferManager::createPage().

Here is the caller graph for this function:

References _prev.


Member Data Documentation

std::string CoGaDB::BufferObject::_col [private]

Referenced by containsContentOf(), and getColName().

Referenced by next(), printStatus(), and setNext().

std::string CoGaDB::BufferObject::_path [private]

Referenced by getPath().

Referenced by prev(), and setPrev().

std::string CoGaDB::BufferObject::_table [private]

Referenced by containsContentOf(), and getTableName().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines