首页> 外国专利> Evaluation of multiple Xpath queries in a streaming XPath processor

Evaluation of multiple Xpath queries in a streaming XPath processor

机译:在流XPath处理器中评估多个Xpath查询

摘要

Progressive evaluation of predicate expressions in streaming XPath processor. A method for evaluating multiple XPath predicate expressions of multiple XPath queries includes identifying includes determining hit of a location path in a SAX event. All XPath predicate expressions of all XPath queries corresponding to the location path are then identified. All leaf nodes in the XPath predicate expressions corresponding to the location path are then determined. Thereafter, storage of nearest parent nodes of the leaf nodes is checked. Each nearest parent node is a first parent node which is encountered while moving from a leaf node towards a root node in an XPath predicate expression and which requires storage for storing intermediate Boolean result. Results of parent nodes of the leaf nodes are the determined based on the checking. Thereafter, the results of the parent nodes are stored if the results of the parent nodes are Boolean results. Further, results of root nodes of the XPath predicate expressions are determined by progressively evaluating subsequent parent nodes of the parent node.
机译:流式XPath处理器中谓词表达式的渐进评估。一种用于评估多个XPath查询的多个XPath谓词表达式的方法,包括识别包括确定SAX事件中位置路径的命中。然后,标识与位置路径相对应的所有XPath查询的所有XPath谓词表达式。然后确定XPath谓词表达式中与位置路径相对应的所有叶节点。此后,检查叶节点中最近的父节点的存储。每个最近的父节点是在XPath谓词表达式中从叶节点移向根节点时遇到的第一个父节点,并且需要存储以存储中间布尔结果。根据检查确定叶节点的父节点的结果。此后,如果父节点的结果是布尔结果,则存储父节点的结果。此外,通过逐步评估父节点的后续父节点来确定XPath谓词表达式的根节点的结果。

著录项

  • 公开/公告号US8117188B1

    专利类型

  • 公开/公告日2012-02-14

    原文格式PDF

  • 申请/专利权人 ARUN KUMAR;

    申请/专利号US20080056292

  • 发明设计人 ARUN KUMAR;

    申请日2008-03-27

  • 分类号G06F7/00;

  • 国家 US

  • 入库时间 2022-08-21 17:28:02

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号