CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::SelectOperation Class Reference

#include <RelationalOperation.h>

Inheritance diagram for ora::SelectOperation:
ora::IRelationalData

Public Member Functions

int addBlobData (const std::string &columnName)
 
int addData (const std::string &columnName, const std::type_info &columnType)
 
int addId (const std::string &columnName)
 
void addOrderId (const std::string &columnName)
 
int addWhereId (const std::string &columnName)
 
coral::AttributeListSpecification & attributeListSpecification ()
 
void clear ()
 
coral::AttributeList & data ()
 
void execute ()
 
bool nextCursorRow ()
 
 SelectOperation (const std::string &tableName, coral::ISchema &schema)
 
std::string & whereClause ()
 
coral::AttributeList & whereData ()
 
 ~SelectOperation ()
 
- Public Member Functions inherited from ora::IRelationalData
virtual ~IRelationalData ()
 

Private Attributes

coral::ICursor * m_cursor
 
std::vector< std::string > m_orderByCols
 
std::auto_ptr< coral::IQuery > m_query
 
coral::ISchema & m_schema
 
coral::AttributeListSpecification * m_spec
 
std::string m_tableName
 
std::string m_whereClause
 
coral::AttributeList m_whereData
 

Detailed Description

Definition at line 159 of file RelationalOperation.h.

Constructor & Destructor Documentation

ora::SelectOperation::SelectOperation ( const std::string &  tableName,
coral::ISchema &  schema 
)
explicit

Definition at line 241 of file RelationalOperation.cc.

ora::SelectOperation::~SelectOperation ( )

Definition at line 253 of file RelationalOperation.cc.

Member Function Documentation

int ora::SelectOperation::addBlobData ( const std::string &  columnName)
virtual

Implements ora::IRelationalData.

Definition at line 294 of file RelationalOperation.cc.

int ora::SelectOperation::addData ( const std::string &  columnName,
const std::type_info &  columnType 
)
virtual

Implements ora::IRelationalData.

Definition at line 284 of file RelationalOperation.cc.

int ora::SelectOperation::addId ( const std::string &  columnName)
virtual

Implements ora::IRelationalData.

Definition at line 275 of file RelationalOperation.cc.

void ora::SelectOperation::addOrderId ( const std::string &  columnName)

Definition at line 257 of file RelationalOperation.cc.

int ora::SelectOperation::addWhereId ( const std::string &  columnName)
virtual

Implements ora::IRelationalData.

Definition at line 303 of file RelationalOperation.cc.

coral::AttributeListSpecification & ora::SelectOperation::attributeListSpecification ( )

Definition at line 346 of file RelationalOperation.cc.

void ora::SelectOperation::clear ( void  )
coral::AttributeList & ora::SelectOperation::data ( )
virtual

Implements ora::IRelationalData.

Definition at line 314 of file RelationalOperation.cc.

void ora::SelectOperation::execute ( )

Definition at line 328 of file RelationalOperation.cc.

bool ora::SelectOperation::nextCursorRow ( )

Definition at line 261 of file RelationalOperation.cc.

std::string & ora::SelectOperation::whereClause ( )
virtual

Implements ora::IRelationalData.

Definition at line 324 of file RelationalOperation.cc.

coral::AttributeList & ora::SelectOperation::whereData ( )
virtual

Implements ora::IRelationalData.

Definition at line 320 of file RelationalOperation.cc.

Member Data Documentation

coral::ICursor* ora::SelectOperation::m_cursor
private

Definition at line 190 of file RelationalOperation.h.

std::vector<std::string> ora::SelectOperation::m_orderByCols
private

Definition at line 188 of file RelationalOperation.h.

std::auto_ptr<coral::IQuery> ora::SelectOperation::m_query
private

Definition at line 189 of file RelationalOperation.h.

coral::ISchema& ora::SelectOperation::m_schema
private

Definition at line 192 of file RelationalOperation.h.

coral::AttributeListSpecification* ora::SelectOperation::m_spec
private

Definition at line 185 of file RelationalOperation.h.

std::string ora::SelectOperation::m_tableName
private

Definition at line 191 of file RelationalOperation.h.

std::string ora::SelectOperation::m_whereClause
private

Definition at line 187 of file RelationalOperation.h.

coral::AttributeList ora::SelectOperation::m_whereData
private

Definition at line 186 of file RelationalOperation.h.