CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MappingToSchema.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ORA_MAPPINGTOSCHEMA_H
2 #define INCLUDE_ORA_MAPPINGTOSCHEMA_H
3 
4 namespace coral {
5 
6  class ISchema;
7 
8 }
9 
10 namespace ora {
11 
12  class MappingTree;
13  class TableInfo;
14 
20  public:
22  explicit MappingToSchema( coral::ISchema& schema );
23 
26 
27  bool check( const MappingTree& mapping );
28 
29  void create( const MappingTree& mapping );
30 
31  void alter( const MappingTree& mapping );
32 
33  private:
34 
35  void createTable( const TableInfo& tableInfo );
36 
37  private:
39  coral::ISchema& m_schema;
40 
41  };
42 
43 }
44 
45 #endif
tuple schema
Definition: dataDML.py:2334
coral::ISchema & m_schema
Reference to the schema in use.
void createTable(const TableInfo &tableInfo)
~MappingToSchema()
Destructor.
bool check(const MappingTree &mapping)
MappingToSchema(coral::ISchema &schema)
Constructor.
void alter(const MappingTree &mapping)
void create(const MappingTree &mapping)