首页> 外文会议>IEEE international conference on data engineering >XQuery streaming by Forest Transducers
【24h】

XQuery streaming by Forest Transducers

机译:森林传感器XQuery流媒体

获取原文
获取外文期刊封面目录资料

摘要

Streaming of XML transformations is a challenging task and only a few existing systems support streaming. Research approaches generally define custom fragments of XQuery and XPath that are amenable to streaming, and then design custom algorithms for each fragment. These languages have several shortcomings. Here we take a more principled approach to the problem of streaming XQuery-based transformations. We start with an elegant transducer model for which many static analysis problems are well-understood: the Macro Forest Transducer (MFT). We show that a large fragment of XQuery can be translated into MFTs — indeed, a fragment of XQuery, that can express important features that are missing from other XQuery stream engines, such as GCX: our fragment of XQuery supports XPath predicates and let-statements. We then use an existing streaming engine for MFTs and apply a well-founded set of optimizations from functional programming such as strictness analysis and deforestation. Our prototype achieves time and memory efficiency comparable to the fastest known engine for XQuery streaming, GCX. This is surprising because our engine relies on the OCaml built in garbage collector and does not use any specialized buffer management, while GCX's efficiency is due to clever and explicit buffer management.
机译:XML转换的流是一个具有挑战性的任务,只有一些现有系统支持流媒体。研究方法通常定义XQuery和XPath的自定义碎片,这些XPath是用于流式传输的,然后为每个片段设计自定义算法。这些语言有几个缺点。在这里,我们采取了更加原则的方法来传输基于XQuery的转换的问题。我们从优雅的传感器模型开始,许多静态分析问题都很好地理解:宏观林传感器(MFT)。我们表明,XQuery的大片段可以转换为MFTS - 实际上,XQuery的片段,可以表达其他XQuery流引擎中缺少的重要功能,例如GCX:我们的XQuery片段支持XPath谓词和令陈述。然后,我们将现有的流引擎用于MFT,并从功能编程中应用一组创立的优化集,例如严格的分析和砍伐森林。我们的原型实现了与最快已知发动机相当的时间和记忆效率,用于XQuery流,GCX。这令人惊讶,因为我们的发动机依赖于垃圾收集器内置的OCAML,并且不使用任何专门的缓冲区管理,而GCX的效率是由于聪明和显式的缓冲区管理。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号