CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiRecordSelectOperation.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ORA_MULTIRECORDSELECTOPERATION_H
2 #define INCLUDE_ORA_MULTIRECORDSELECTOPERATION_H
3 
5 #include "RelationalOperation.h"
6 #include "MultiIndexDataTrie.h"
7 
8 namespace ora {
9 
11  public:
12  MultiRecordSelectOperation( const std::string& tableName, coral::ISchema& schema );
14 
15  void addOrderId(const std::string& columnName);
16  void selectRow( const std::vector<int>& selection );
17  size_t selectionSize( const std::vector<int>& selection, size_t numberOfIndexes );
18  void clear();
19  void execute();
20 
21  public:
22  int addId(const std::string& columnName);
23 
24  int addData(const std::string& columnName, const std::type_info& columnType );
25 
26  int addBlobData(const std::string& columnName);
27 
28  //int addMetadata( const std::string& columnName, const std::type_info& columnType );
29 
30  int addWhereId( const std::string& columnName );
31 
32  coral::AttributeList& data();
33  coral::AttributeList& whereData();
34  std::string& whereClause();
35 
36  private:
38  std::vector<std::string> m_idCols;
41  std::auto_ptr<coral::AttributeList> m_row;
42 
43  };
44 
45 }
46 
47 #endif
size_t selectionSize(const std::vector< int > &selection, size_t numberOfIndexes)
selection
main part
Definition: corrVsCorr.py:98
int addId(const std::string &columnName)
MultiRecordSelectOperation(const std::string &tableName, coral::ISchema &schema)
int addData(const std::string &columnName, const std::type_info &columnType)
int addWhereId(const std::string &columnName)
int addBlobData(const std::string &columnName)
void addOrderId(const std::string &columnName)
std::auto_ptr< coral::AttributeList > m_row
void selectRow(const std::vector< int > &selection)