1 #ifndef INCLUDE_ORA_RELATIONALOPERATION_H
2 #define INCLUDE_ORA_RELATIONALOPERATION_H
5 #include "CoralBase/AttributeList.h"
6 #include "CoralBase/AttributeListSpecification.h"
29 virtual void reset() = 0;
40 virtual void addId(
const std::string& columnName ) = 0;
42 virtual void addData(
const std::string& columnName,
const std::type_info& columnType ) = 0;
44 virtual void addBlobData(
const std::string& columnName) = 0;
48 virtual void addWhereId(
const std::string& columnName ) = 0;
50 virtual coral::AttributeList&
data() = 0;
52 virtual coral::AttributeList&
whereData() = 0;
68 void addId(
const std::string& columnName);
70 void addData(
const std::string& columnName,
const std::type_info& columnType );
74 void addWhereId(
const std::string& columnName );
76 coral::AttributeList&
data();
114 coral::IBulkOperation&
setUp(
int rowCacheSize );
164 void addOrderId(
const std::string& columnName);
171 void addId(
const std::string& columnName);
173 void addData(
const std::string& columnName,
const std::type_info& columnType );
179 void addWhereId(
const std::string& columnName );
181 coral::AttributeList&
data();
185 coral::AttributeListSpecification*
m_spec;
std::auto_ptr< coral::IQuery > m_query
virtual coral::AttributeList & whereData()=0
coral::ISchema & m_schema
coral::AttributeListSpecification & attributeListSpecification()
void addId(const std::string &columnName)
UpdateOperation(const std::string &tableName, coral::ISchema &schema)
BulkInsertOperation(const std::string &tableName, coral::ISchema &schema)
SelectOperation(const std::string &tableName, coral::ISchema &schema)
InsertOperation(const std::string &tableName, coral::ISchema &schema)
std::string m_whereClause
coral::IBulkOperation & setUp(int rowCacheSize)
virtual std::string & whereClause()=0
std::string & whereClause()
DeleteOperation(const std::string &tableName, coral::ISchema &schema)
coral::ISchema & m_schema
coral::AttributeListSpecification * m_spec
coral::AttributeList & data()
void addOrderId(const std::string &columnName)
virtual void addId(const std::string &columnName)=0
void addData(const std::string &columnName, const std::type_info &columnType)
virtual coral::AttributeList & data()=0
std::vector< coral::IBulkOperation * > m_bulkOperations
coral::AttributeList & whereData()
coral::ISchema & m_schema
coral::ICursor * m_cursor
virtual void addWhereId(const std::string &columnName)=0
void addWhereId(const std::string &columnName)
virtual bool isRequired()=0
void addBlobData(const std::string &columnName)
coral::ISchema & m_schema
coral::AttributeList m_whereData
virtual void addBlobData(const std::string &columnName)=0
virtual ~IRelationalOperation()
coral::ISchema & m_schema
virtual void addData(const std::string &columnName, const std::type_info &columnType)=0
virtual ~IRelationalData()
std::vector< std::string > m_orderByCols