基于MDA的类图模型到Cassandra数据模型转换方法研究-计算机软件与理论专业论文.docxVIP

  • 5
  • 0
  • 约8.37万字
  • 约 81页
  • 2019-02-13 发布于上海
  • 举报

基于MDA的类图模型到Cassandra数据模型转换方法研究-计算机软件与理论专业论文.docx

基于MDA的类图模型到Cassandra数据模型转换方法研究-计算机软件与理论专业论文

为Cassandra设计数据库模式时必须考虑查询模式,而这类信息原本并 为Cassandra设计数据库模式时必须考虑查询模式,而这类信息原本并 不包含在类图中。本文设计了标注系统来解决这个问题。通过人工添加标注 为模型转换提供额外的辅助信息。在设计模型映射规则时必须考虑源模型 与目标模型的特性,例如如何处理类图中的各类类间关系,如何将类图转换 为适合于Cassandra的数据库模式等。在实现了到Cassandra数据模型的转 换后,第二阶段的转换相对简单直接。本文最后用一个关于就业管理系统的 例子验证了两阶段的模型转换,证明本文的模型转换具有可行性并能为 Cassandra生成合适的数据库模式。 关键词:模型转换 元建模 类图 NoSQL Cassandra ATL模型 驱动架构 万方数据 RESREACH RESREACH ON MODEL TRANSFORⅣ【ATION METHOD BASED 0N MDA:FROM CLASS DIAGRAM MODEL TO CASSANDRA DATE MODEL ABSTRACT With the coming of big data era,data are generated in an unprecedented speed.There is immeasurable value hidden in big data but which cannot be handled by traditional database techniques because they lack well horizontal scalability and then NoSQL databases emerged as times require.NoSQL stores offer a better capacity of squeezing value from big data.However,designing a proper schema for NoSQL databases is totally different from designing for relational databases and it would be such a blessing if this process can be automated. Here we use MDA to achieve this goal.MDA sees the process of software development as a series of model transformations.In this thesis we transformed class diagrams,a kind of UML diagrams that is widely used in object。oriented software development,into Cassandra data model.So far Cassandra is the most popular column—oriented database.The model transformation proposed in the thesis is based on meta—modeling mothed and Can be separated into two phases. Phase one is about model—to.model transformation.In this phase class diagram instances are transformed into database schemas and both of them are represented in xmi files.Phase two is model.to.text transformation.Executive code will be III 万方数据 generated generated at this phase. In order to achieve phase one transformation,the meta.models of the source model and the target model should be obtained at first.Some of existing work built meta-models for class diagrams but which did not in accordance with the definition of UML standard,w

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档