首页> 外国专利> Dynamic mapping of extensible datasets to relational database schemas

Dynamic mapping of extensible datasets to relational database schemas

机译:可扩展数据集到关系数据库模式的动态映射

摘要

A text file is received. The text file is arranged in an extensible format and includes a plurality of metadata lines, a header line, and a plurality of content lines. Keys are retrieved from the content lines. For each key, a data type and a number from at least one metadata table is retrieved. Using a combination of each key and the corresponding data type and number, a column title is derived. Upon verification that the derived column title does not already exist, a column for each key is generated in a content table having a dynamic structure in a relational database schema. The column has the derived column title, a column type based on the corresponding retrieved data type, and the number of generated columns determined by the corresponding retrieved number. The retrieved value is mapped into the column associated with the corresponding key.
机译:收到一个文本文件。文本文件以可扩展格式排列,并且包括多个元数据行,标题行和多个内容行。从内容行检索密钥。对于每个键,从至少一个元数据表中检索数据类型和数字。使用每个键以及相应的数据类型和数字的组合,可以得出列标题。在验证派生的列标题尚不存在时,将在具有关系数据库模式中动态结构的内容表中为每个键生成一个列。该列具有派生的列标题,基于相应的检索到的数据类型的列类型以及由相应的检索到的数量确定的生成的列数。检索到的值映射到与相应键关联的列中。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号