Xquery Developer's Guide

Xquery Developer's Guide

BEAAquaLogic Data Services Platform™ XQuery Developer’s Guide Note: Product documentation may be revised post-release and made available from the following BEA e-docs site: http://e-docs.bea.com/aldsp/docs25/index.html Version: 2.5 Document Date: June 2005 Revised: September 2006 Copyright Copyright © 1995-2006 BEA Systems, Inc. All Rights Reserved. Restricted Rights Legend This software is protected by copyright, and may be protected by patent laws. No copying or other use of this software is permitted unless you have entered into a license agreement with BEA authorizing such use. This document is protected by copyright and may not be copied photocopied, reproduced, translated, or reduced to any electronic medium or machine readable form, in whole or in part, without prior consent, in writing, from BEA Systems, Inc. Information in this document is subject to change without notice and does not represent a commitment on the part of BEA Systems. THE DOCUMENTATION IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. FURTHER, BEA SYSTEMS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE, OR THE RESULTS OF THE USE, OF THE DOCUMENT IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. Trademarks and Service Marks Copyright © 1995-2006 BEA Systems, Inc. All Rights Reserved. BEA, BEA JRockit, BEA WebLogic Portal, BEA WebLogic Server, BEA WebLogic Workshop, Built on BEA, Jolt, JoltBeans, SteelThread, Top End, Tuxedo, and WebLogic are registered trademarks of BEA Systems, Inc. BEA AquaLogic, BEA AquaLogic Data Services Platform, BEA AquaLogic Enterprise Security, BEA AquaLogic Interaction, BEA AquaLogic Interaction Analytics, BEA AquaLogic Interaction Collaboration, BEA AquaLogic Interaction Content Services, BEA AquaLogic Interaction Data Services, BEA AquaLogic Interaction Integration Services, BEA AquaLogic Interaction Process, BEA AquaLogic Interaction Publisher, BEA AquaLogic Interaction Studio, BEA AquaLogic Service Bus, BEA AquaLogic Service Registry, BEA Builder, BEA Campaign Manager for WebLogic, BEA eLink, BEA Kodo, BEA Liquid Data for WebLogic, BEA Manager, BEA MessageQ, BEA SALT, BEA Service Architecture Leveraging Tuxedo, BEA WebLogic Commerce Server, BEA WebLogic Communications Platform, BEA WebLogic Enterprise, BEA WebLogic Enterprise Platform, BEA WebLogic Enterprise Security, BEA WebLogic Express, BEA WebLogic Integration, BEA WebLogic Java Adapter for Mainframe, BEA WebLogic JDriver, BEA WebLogic Log Central, BEA WebLogic Mobility Server, BEA WebLogic Network Gatekeeper, BEA WebLogic Personalization Server, BEA WebLogic Personal Messaging API, BEA WebLogic Platform, BEA WebLogic Portlets for Groupware Integration, BEA WebLogic Real Time, BEA WebLogic RFID Compliance Express, BEA WebLogic RFID Edge Server, BEA WebLogic RFID Enterprise Server, BEA WebLogic Server Process Edition, BEA WebLogic SIP Server, BEA WebLogic WorkGroup Edition, BEA Workshop for WebLogic Platform, BEA Workshop JSP, BEA Workshop JSP Editor, BEA Workshop Struts, BEA Workshop Studio, Dev2Dev, Liquid Computing, and Think Liquid are trademarks of BEA Systems, Inc. Accelerated Knowledge Transfer, AKT, BEA Mission Critical Support, BEA Mission Critical Support Continuum, and BEA SOA Self Assessment are service marks of BEA Systems, Inc. All other names and marks are property of their respective owners. Contents Introducing the AquaLogic Data Services Platform XQuery Engine XML and XQuery . 1-2 XQuery Use in AquaLogic Data Services Platform. 1-2 Supported XQuery Specifications . 1-3 Learning More About the XQuery Language . 1-3 BEA’s XQuery Implementation BEA XQuery Function Implementation . 2-2 Function Overview . 2-2 Access Control Functions. 2-5 Duration, Date, and Time Functions. 2-7 Execution Control Functions. 2-12 Numeric Functions . 2-17 Other Functions . 2-18 QName Functions . 2-20 Sequence Functions . 2-21 String Functions . 2-21 Unsupported XQuery Functions . 2-26 Implementation-Specific Functions and Operators . 2-26 BEA XQuery Language Implementation. 2-27 XQuery Language Support (and Unsupported Features) . 2-27 XQuery Developer’s Guide v Extensions to the XQuery Language in the AquaLogic Data Services Platform XQuery Engine 2-28 Implementation-Defined Values for XQuery Language Processing . .2-32 XQuery Engine and SQL Introduction . .3-2 Base and Core RDBMS Support . .3-2 How the XQuery Engine Supports SQL Data Sources . .3-3 XQuery-SQL Data Type Mappings . .3-6 SQL Pushdown: Performance Optimization . .3-9 Common Query Patterns. .3-13 Grouping and Aggregation . .3-22 Direct SQL Data Services and Pushdown . .3-30 Distributed Query Pushdown . .3-31 Preventing SQL Pushdown . .3-32 Understanding XML Namespaces Introducing XML Namespaces . .4-1 Exploring XML Schema Namespaces . .4-2 Using XML Namespaces in AquaLogic Data Services Platform Queries and Schemas . .4-3 Best Practices Using XQuery Introducing Data Service Design . .5-1 Understanding Data Service Design Principles . .5-3 Applying Data Service Implementation Guidelines. .5-5 Understanding AquaLogic Data Services Platform Annotations XDS Annotations . .6-1 General Properties . .6-3 vi XQuery Developer’s Guide Data Access Properties . 6-4 Target Type Properties . 6-9 Key Properties. 6-10 Relationship Properties . 6-11 Update Properties. 6-12 Security Properties. 6-14 Function Annotations. 6-15 General Properties . 6-17 UI Properties . 6-17 Cache Properties. 6-18 Behavioral Properties. 6-19 Polymorphic Functions . 6-20 Signature Properties. 6-21 Native Properties . 6-21 XFL Annotations . 6-22 General Properties . 6-23 Data Access Properties . 6-23 Annotations Reference XML Schema for Annotations . .A-1 XQuery-SQL Mapping Reference IBM DB2/NT 8 . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    168 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us