arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1303.1716cs.PLcs.DB
收藏

NoSQL语言的静态和动态语义

Static and dynamic semantics of NoSQL languages

Véronique Benzaken, Giuseppe Castagna, Kim Nguy\~ên, Jérôme Siméon

摘要:

我们提出了一个演算处理半结构化数据,跨越几个新的查询语言,广泛归类为“NoSQL”之间的应用领域的差异。这种演算允许用户定义自己的运算符,捕获更广泛的数据处理能力,同时提供迄今为止仅典型的原始硬编码运算符的类型精度。类型推断算法基于语义类型检查,从而产生既精确又足够灵活以处理结构化和半结构化数据的类型信息。我们通过对Jaql的一个大片段进行编码来说明这种演算的使用,包括JSON上的操作和迭代器,嵌入式SQL表达式和联合分组,并展示了编码如何直接为Jaql生成一个类型规则,即在代码中不添加任何类型定义或类型注释。

英文摘要:

We present a calculus for processing semistructured data that spans differences of application area among several novel query languages, broadly categorized as "NoSQL". This calculus lets users define their own operators, capturing a wider range of data processing capabilities, whilst providing a typing precision so far typical only of primitive hard-coded operators. The type inference algorithm is based on semantic type checking, resulting in type information that is both precise, and flexible enough to handle structured and semistructured data. We illustrate the use of this calculus by encoding a large fragment of Jaql, including operations and iterators over JSON, embedded SQL expressions, and co-grouping, and show how the encoding directly yields a typing discipline for Jaql as it is, namely without the addition of any type definition or type annotation in the code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑