首页> 外国专利> TYPE INFERENCE FOR DATALOG WITH COMPLEX TYPE HIERARCHIES

TYPE INFERENCE FOR DATALOG WITH COMPLEX TYPE HIERARCHIES

机译:具有复杂类型层次结构的数据日志的类型推断

摘要

What is disclosed are a novel system and method for inferring types of database queries. In one embodiment a program and associated database schema that includes a type hierarchy is accessed. The program includes query operations to a database that contains relations described by a database schema. Types are inferred from definitions in the program by replacing each database relationship in the program by the types in the database schema. A new program is generated with the types that have been inferred with the new program only accessing unary relations in the database. In another embodiment, testing of each of the types that have been inferred is performed for type emptiness. In response to type emptiness being found for a type that have been inferred, a variety of different operations are performing including removing the type, providing a notification regarding the emptiness found for the type, and more.
机译:公开了一种用于推断数据库查询类型的新颖系统和方法。在一个实施例中,访问包括类型层次结构的程序和相关的数据库模式。该程序包括对数据库的查询操作,该查询操作包含由数据库架构描述的关系。通过用数据库架构中的类型替换程序中的每个数据库关系,可以从程序中的定义推断类型。生成一个新程序,其类型只能通过访问数据库中的一元关系来推断。在另一个实施例中,针对类型为空的情况执行已推断出的每个类型的测试。响应于针对已推断出的类型发现类型为空,正在执行各种不同的操作,包括删除类型,提供关于针对该类型发现的空性的通知等。

著录项

  • 公开/公告号US2012016912A1

    专利类型

  • 公开/公告日2012-01-19

    原文格式PDF

  • 申请/专利权人 MAX SCHAEFER;OEGE DE MOOR;

    申请/专利号US201113183514

  • 发明设计人 OEGE DE MOOR;MAX SCHAEFER;

    申请日2011-07-15

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 17:31:08

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号