首页> 外文期刊>The Journal of Functional and Logic Programming >Aggregation in Functional Query Languages
【24h】

Aggregation in Functional Query Languages

机译:功能查询语言中的聚合

获取原文
           

摘要

We consider the problem of improving the computational efficiency of a functional query language. Our focus is on aggregate operations which have proven to be of practical interest in database querying. Since aggregate operations are typically non-monotonic in nature, recursive programs making use of aggregate operations must be suitably restricted in order that they have a well-defined meaning. In a recent paper we showed that partial-order clauses provide a well-structured means of formulating such queries. The present paper extends earlier work in exploring the notion of declarative pruning. By "declarative pruning" we mean that the programmer can specify declarative information about certain functions in the program without altering the meanings of these functions. Using this information, our proposed execution model provides for more efficient program execution. Essentially we require that certain domains must be totally-ordered (as opposed to being partially-ordered). Given this information, we show how the search space of solutions can be pruned efficiently. The paper presents examples illustrating the language and its computation model, and also presents a formal operational semantics.
机译:我们考虑提高功能查询语言的计算效率的问题。我们的重点是已证明在数据库查询中具有实际意义的聚合操作。由于聚合操作通常本质上是非单调的,因此必须适当限制使用聚合操作的递归程序,以使它们具有明确定义的含义。在最近的一篇论文中,我们显示了偏序子句提供了一种构造此类查询的结构良好的方法。本文扩展了探索声明式修剪概念的早期工作。所谓“声明式修剪”是指程序员可以在不更改这些功能含义的情况下,指定有关程序中某些功能的声明性信息。利用此信息,我们提出的执行模型可提供更有效的程序执行。本质上,我们要求某些域必须是完全有序的(而不是部分有序的)。有了这些信息,我们将展示如何有效地修剪解决方案的搜索空间。本文提供了说明语言及其计算模型的示例,还提供了形式化的操作语义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号