Data Request Broker
2-3-release

Package fr.gael.drb.query

An implementation of XQuery 1.0 over the DRB API®.

See:
          Description

Interface Summary
ParameterResolver Deprecated.  
 

Class Summary
Environment Environment of static analysis and dynamic evaluation of an XQuery.
ExternalVariable Variable declared as external in the XQuery module prologs.
GrammarContext A collection of styles used to render xquery script.
Parameter A parameter to be or already resolved.
Query Top level class for the evaluation of a query.
TokenElement Simple class to represent a lexical token.
XQueryDocument XQuery document class.
 

Exception Summary
CancelException Exception thrown on cancellation of a dynamic evaluation.
DynamicException Dynamic error of an XQuery dynamic evalutation phase.
StaticException Static exception of an XQuery static analysis phase.
TypeException Type exception of an XQuery static analysis or dynamic evalutation phases.
 

Package fr.gael.drb.query Description

An implementation of XQuery 1.0 over the DRB API®.

DRB API® Data query engine compiles and processes a XQuery script according to the specifications provided by the W3C. The basic building block of XQuery is the expression. The language provides several kinds of expressions which may be constructed from keywords, symbols, and operands. In general, the operands of an expression are other expressions. XQuery is a functional language which allows various kinds of expressions to be nested with full generality. It is also a strongly-typed language in which the operands of various expressions, operators, and functions must conform to designated types. Like XML, XQuery is a case-sensitive language where keywords use lower-case characters.

The fr.gael.drb.query contains all interfaces and classes required to deal with XQuery within DRP API®. Query class generates query to be parsed. The implementation of XQuery within DRB API® is based on "XQuery 1.0: An XML Query Language - W3C Working Draft 20 December 2001" . The XQuery engine is compatible with the latest working draft of the W3C but is not yet fully compliant: only a subset of keywords and functions are recognized. It must be reminded that DRB API® implements most basics XQuery functions with some variation which are mentioned in the API documentation.

The supported XQuery functions are listed using the following command line:

java -jar [DRB_INSTALLATION_HOME]/lib/java/drb-[M]-[m]-[t].jar --help xql


Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .