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;
42 virtual int addData(
const std::string& columnName,
const std::type_info& columnType ) = 0;
50 virtual coral::AttributeList&
data() = 0;
52 virtual coral::AttributeList&
whereData() = 0;
76 coral::AttributeList&
data();
114 coral::IBulkOperation&
setUp(
int rowCacheSize );
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
virtual int addWhereId(const std::string &columnName)=0
coral::AttributeListSpecification & attributeListSpecification()
int addData(const std::string &columnName, const std::type_info &columnType)
UpdateOperation(const std::string &tableName, coral::ISchema &schema)
virtual int addData(const std::string &columnName, const std::type_info &columnType)=0
BulkInsertOperation(const std::string &tableName, coral::ISchema &schema)
SelectOperation(const std::string &tableName, coral::ISchema &schema)
InsertOperation(const std::string &tableName, coral::ISchema &schema)
virtual int addBlobData(const std::string &columnName)=0
std::string m_whereClause
int addWhereId(const std::string &columnName)
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()
int addId(const std::string &columnName)
void addOrderId(const std::string &columnName)
virtual coral::AttributeList & data()=0
std::vector< coral::IBulkOperation * > m_bulkOperations
coral::AttributeList & whereData()
coral::ISchema & m_schema
coral::ICursor * m_cursor
virtual bool isRequired()=0
coral::ISchema & m_schema
coral::AttributeList m_whereData
virtual ~IRelationalOperation()
int addBlobData(const std::string &columnName)
virtual int addId(const std::string &columnName)=0
coral::ISchema & m_schema
virtual ~IRelationalData()
std::vector< std::string > m_orderByCols