Difference between revisions of "Querying"

From BaseX Documentation
Jump to navigation Jump to search
(Redirected page to XQuery)
 
(77 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Welcome to the Query Portal, which is one of the [[Main Page|main]] sections of this documentation. Here your find more information on performing XPath and XQuery requests. Apart from standard features, BaseX offers numerous extensions, which are listed on this page.
+
#REDIRECT [[XQuery]]
 
 
==Extensions==
 
* [[Full-Text]]: full-text features of XQuery
 
* [[Update]]: update mechanism of XQuery
 
* [[XQuery 3.0]]: supported features of the upcoming [http://www.w3.org/TR/xquery-30/ W3C XQuery 3.0] Recommendation
 
* [[Java Bindings]]: how to call Java methods from XQuery
 
 
 
==Functions==
 
 
 
<onlyinclude>
 
{| class="wikitable sortable"
 
|-
 
! Name
 
! Description
 
! Prefix
 
! Namespace URI
 
|-
 
| [[Database Functions|Database]]
 
| Accessing the database and indexes.
 
| <tt>db</tt>
 
| <tt><nowiki>http://basex.org/db</nowiki></tt>
 
|-
 
| [[Full-text Functions|Full-text]]
 
| Performing full-text operations.
 
| <tt>ft</tt>
 
| <tt><nowiki>http://basex.org/ft</nowiki></tt>
 
|-
 
| [[Utility Functions|Utility]]
 
| Testing and profiling functions.
 
| <tt>util</tt>
 
| <tt><nowiki>http://basex.org/util</nowiki></tt>
 
|-
 
| [[File Functions|File]]
 
| Functions for file handling.
 
| <tt>file</tt>
 
| <tt><nowiki>http://basex.org/file</nowiki></tt>
 
|-
 
| [[HTTP Functions|HTTP]]
 
| Functions for HTTP requests, based on the [http://expath.org/spec/http-client EXPath HTTP Client Module].
 
| <tt>http</tt>
 
| <tt><nowiki>http://expath.org/ns/http-client</nowiki></tt>
 
|-
 
| [[Math Functions|Math]]
 
| Functions for mathematical operations, extending the [http://www.w3.org/TR/xpath-functions-30/ W3C Working Draft].
 
| <tt>math</tt>
 
| <tt><nowiki>http://www.w3.org/2005/xpath-functions/math</nowiki></tt>
 
|}
 
 
 
Note that all namespace URIs are statically bound in BaseX, i.e., they need not be declared in the query prolog.
 
A complete list of the approved and planned XQuery 3.0 functions is found in the current [http://www.w3.org/TR/xpath-functions-30/ W3C Working Draft].
 
 
 
==Indexes==
 
Queries will be analyzed and optimized for index access on the fly.
 
 
 
*[[Indexes|Overview]]: All indexes and their functionality
 
*[[Execution Plan]]: Execution plans of the queries
 
 
 
[[Category:XQuery]]
 

Latest revision as of 20:39, 31 March 2012

Redirect to: