| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 |
<!-- |
| 3 |
Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 4 |
and the EPL 1.0 (https://h2database.com/html/license.html). |
| 5 |
Initial Developer: H2 Group |
| 6 |
--> |
| 7 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
| 8 |
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> |
| 9 |
JCR 2.0 SQL-2 Grammar |
| 10 |
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> |
| 11 |
</head><body> |
| 12 |
|
| 13 |
<h1>JCR 2.0 SQL-2 Grammar</h1> |
| 14 |
<!-- syntax-start |
| 15 |
<p class="notranslate"> |
| 16 |
<c:forEach var="item" items="grammar"> |
| 17 |
<a href="#${item.link}">${item.topic}</a><br /> |
| 18 |
</c:forEach> |
| 19 |
</p> |
| 20 |
syntax-end --> |
| 21 |
<!-- railroad-start --> |
| 22 |
<table class="notranslate index"> |
| 23 |
<tr> |
| 24 |
<td class="index"> |
| 25 |
<c:forEach var="item" items="grammar-0"> |
| 26 |
<a href="#${item.link}" >${item.topic}</a><br /> |
| 27 |
</c:forEach> |
| 28 |
</td><td class="index"> |
| 29 |
<c:forEach var="item" items="grammar-1"> |
| 30 |
<a href="#${item.link}" >${item.topic}</a><br /> |
| 31 |
</c:forEach> |
| 32 |
</td><td class="index"> |
| 33 |
<c:forEach var="item" items="grammar-2"> |
| 34 |
<a href="#${item.link}" >${item.topic}</a><br /> |
| 35 |
</c:forEach> |
| 36 |
</td> |
| 37 |
</tr> |
| 38 |
</table> |
| 39 |
<!-- railroad-end --> |
| 40 |
|
| 41 |
<hr /> |
| 42 |
<p> |
| 43 |
These railroad diagrams are based on the |
| 44 |
<a href="http://www.day.com/specs/jcr/2.0/6_Query.html#6.6.2%20JCR-SQL2%20Notation">JCR 2.0 specification</a>. |
| 45 |
</p><p> |
| 46 |
The diagrams are created with a small <a href="Create.java">Java program</a> |
| 47 |
and this <a href="help.csv">BNF</a>. The program uses the BNF parser / converter |
| 48 |
of the <a href="https://h2database.com">H2 database engine</a>. |
| 49 |
</p><p> |
| 50 |
Please send feedback to the <a href="https://jackrabbit.apache.org/jcr/mailing-lists.html">Jackrabbit User List</a>. |
| 51 |
</p> |
| 52 |
|
| 53 |
<c:forEach var="item" items="grammar"> |
| 54 |
<hr /> |
| 55 |
<h3 id="${item.link}" class="notranslate">${item.topic}</h3> |
| 56 |
<!-- railroad-start --> |
| 57 |
${item.railroad} |
| 58 |
<!-- railroad-end --> |
| 59 |
<!-- syntax-start |
| 60 |
<pre> |
| 61 |
${item.syntax} |
| 62 |
</pre> |
| 63 |
syntax-end --> |
| 64 |
<p>${item.text}</p> |
| 65 |
<!-- |
| 66 |
<p>Example:</p> |
| 67 |
<p class="notranslate"> |
| 68 |
${item.example}</p> |
| 69 |
--> |
| 70 |
</c:forEach> |
| 71 |
|
| 72 |
</body></html> |