You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2015/09/13 07:10:06 UTC
svn commit: r1702701 [2/2] - in /incubator/calcite/site: ./ css/ docs/
fonts/ news/ news/2015/06/05/algebra-builder/
Modified: incubator/calcite/site/docs/reference.html
URL: http://svn.apache.org/viewvc/incubator/calcite/site/docs/reference.html?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/docs/reference.html (original)
+++ incubator/calcite/site/docs/reference.html Sun Sep 13 05:10:05 2015
@@ -107,8 +107,6 @@
- <option value="/docs/index.html">Background</option>
-
@@ -151,8 +149,6 @@
- <option value="/docs/tutorial.html">Tutorial</option>
-
@@ -161,8 +157,6 @@
- <option value="/docs/algebra.html">Algebra</option>
-
@@ -200,8 +194,6 @@
- <option value="/docs/adapter.html">Adapters</option>
-
@@ -240,8 +232,6 @@
- <option value="/docs/avatica.html">Avatica</option>
-
@@ -292,8 +282,6 @@
- <option value="/docs/stream.html">Streaming</option>
-
@@ -320,8 +308,6 @@
- <option value="/docs/lattice.html">Lattices</option>
-
@@ -365,8 +351,6 @@
- <option value="/docs/reference.html">SQL language</option>
-
@@ -397,8 +381,6 @@
- <option value="/docs/model.html">JSON models</option>
-
@@ -425,8 +407,6 @@
- <option value="/docs/howto.html">HOWTO</option>
-
@@ -462,8 +442,6 @@
- <option value="/docs/downloads.html">Downloads</option>
-
@@ -498,8 +476,6 @@
- <option value="/docs/history.html">History</option>
-
@@ -528,8 +504,6 @@
- <option value="/docs/contributing.html">Contributing</option>
-
@@ -558,8 +532,6 @@
- <option value="/docs/api.html">API</option>
-
@@ -607,6 +579,7 @@ form.</p>
<div class="highlight"><pre><code class="language-sql" data-lang="sql"><span class="k">statement</span><span class="p">:</span>
<span class="n">setStatement</span>
+ <span class="o">|</span> <span class="n">resetStatement</span>
<span class="o">|</span> <span class="k">explain</span>
<span class="o">|</span> <span class="k">insert</span>
<span class="o">|</span> <span class="k">update</span>
@@ -615,7 +588,11 @@ form.</p>
<span class="o">|</span> <span class="n">query</span>
<span class="n">setStatement</span><span class="p">:</span>
- <span class="k">ALTER</span> <span class="p">(</span> <span class="k">SYSTEM</span> <span class="o">|</span> <span class="k">SESSION</span> <span class="p">)</span> <span class="k">SET</span> <span class="n">identifier</span> <span class="o">=</span> <span class="n">expression</span>
+ <span class="p">[</span> <span class="k">ALTER</span> <span class="p">(</span> <span class="k">SYSTEM</span> <span class="o">|</span> <span class="k">SESSION</span> <span class="p">)</span> <span class="p">]</span> <span class="k">SET</span> <span class="n">identifier</span> <span class="s1">'='</span> <span class="n">expression</span>
+
+<span class="n">resetStatement</span><span class="p">:</span>
+ <span class="p">[</span> <span class="k">ALTER</span> <span class="p">(</span> <span class="k">SYSTEM</span> <span class="o">|</span> <span class="k">SESSION</span> <span class="p">)</span> <span class="p">]</span> <span class="k">RESET</span> <span class="n">identifier</span>
+ <span class="o">|</span> <span class="p">[</span> <span class="k">ALTER</span> <span class="p">(</span> <span class="k">SYSTEM</span> <span class="o">|</span> <span class="k">SESSION</span> <span class="p">)</span> <span class="p">]</span> <span class="k">RESET</span> <span class="k">ALL</span>
<span class="k">explain</span><span class="p">:</span>
<span class="k">EXPLAIN</span> <span class="n">PLAN</span>
@@ -1854,6 +1831,8 @@ passed to the aggregate function.</p>
<ul>
+
+
@@ -1861,27 +1840,38 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/index.html">Background</a></li>
+
+
@@ -1889,37 +1879,53 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/tutorial.html">Tutorial</a></li>
+
+
@@ -1927,8 +1933,10 @@ passed to the aggregate function.</p>
+
+
<li class=""><a href="/docs/algebra.html">Algebra</a></li>
@@ -1942,6 +1950,8 @@ passed to the aggregate function.</p>
<ul>
+
+
@@ -1949,11 +1959,14 @@ passed to the aggregate function.</p>
+
<li class=""><a href="/docs/adapter.html">Adapters</a></li>
+
+
@@ -1961,17 +1974,23 @@ passed to the aggregate function.</p>
+
+
+
+
<li class=""><a href="/docs/avatica.html">Avatica</a></li>
+
+
@@ -1979,35 +1998,50 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/stream.html">Streaming</a></li>
+
+
@@ -2015,24 +2049,34 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/lattice.html">Lattices</a></li>
@@ -2046,6 +2090,8 @@ passed to the aggregate function.</p>
<ul>
+
+
@@ -2053,33 +2099,47 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
+
+
+
<li class="current"><a href="/docs/reference.html">SQL language</a></li>
+
+
@@ -2087,31 +2147,44 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/model.html">JSON models</a></li>
+
+
@@ -2119,20 +2192,28 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/howto.html">HOWTO</a></li>
@@ -2146,6 +2227,8 @@ passed to the aggregate function.</p>
<ul>
+
+
@@ -2153,21 +2236,29 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
<li class=""><a href="/docs/downloads.html">Downloads</a></li>
+
+
@@ -2175,23 +2266,32 @@ passed to the aggregate function.</p>
+
+
+
+
+
+
+
<li class=""><a href="/docs/history.html">History</a></li>
+
+
@@ -2199,19 +2299,26 @@ passed to the aggregate function.</p>
+
+
+
+
+
<li class=""><a href="/docs/contributing.html">Contributing</a></li>
+
+
@@ -2219,10 +2326,13 @@ passed to the aggregate function.</p>
+
+
+
<li class=""><a href="/docs/api.html">API</a></li>
Modified: incubator/calcite/site/docs/stream.html
URL: http://svn.apache.org/viewvc/incubator/calcite/site/docs/stream.html?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/docs/stream.html (original)
+++ incubator/calcite/site/docs/stream.html Sun Sep 13 05:10:05 2015
@@ -107,8 +107,6 @@
- <option value="/docs/index.html">Background</option>
-
@@ -151,8 +149,6 @@
- <option value="/docs/tutorial.html">Tutorial</option>
-
@@ -161,8 +157,6 @@
- <option value="/docs/algebra.html">Algebra</option>
-
@@ -200,8 +194,6 @@
- <option value="/docs/adapter.html">Adapters</option>
-
@@ -240,8 +232,6 @@
- <option value="/docs/avatica.html">Avatica</option>
-
@@ -292,8 +282,6 @@
- <option value="/docs/stream.html">Streaming</option>
-
@@ -320,8 +308,6 @@
- <option value="/docs/lattice.html">Lattices</option>
-
@@ -365,8 +351,6 @@
- <option value="/docs/reference.html">SQL language</option>
-
@@ -397,8 +381,6 @@
- <option value="/docs/model.html">JSON models</option>
-
@@ -425,8 +407,6 @@
- <option value="/docs/howto.html">HOWTO</option>
-
@@ -462,8 +442,6 @@
- <option value="/docs/downloads.html">Downloads</option>
-
@@ -498,8 +476,6 @@
- <option value="/docs/history.html">History</option>
-
@@ -528,8 +504,6 @@
- <option value="/docs/contributing.html">Contributing</option>
-
@@ -558,8 +532,6 @@
- <option value="/docs/api.html">API</option>
-
@@ -1254,6 +1226,8 @@ Language: Semantic Foundations and Query
<ul>
+
+
@@ -1261,27 +1235,38 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/index.html">Background</a></li>
+
+
@@ -1289,37 +1274,53 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/tutorial.html">Tutorial</a></li>
+
+
@@ -1327,8 +1328,10 @@ Language: Semantic Foundations and Query
+
+
<li class=""><a href="/docs/algebra.html">Algebra</a></li>
@@ -1342,6 +1345,8 @@ Language: Semantic Foundations and Query
<ul>
+
+
@@ -1349,11 +1354,14 @@ Language: Semantic Foundations and Query
+
<li class=""><a href="/docs/adapter.html">Adapters</a></li>
+
+
@@ -1361,17 +1369,23 @@ Language: Semantic Foundations and Query
+
+
+
+
<li class=""><a href="/docs/avatica.html">Avatica</a></li>
+
+
@@ -1379,35 +1393,50 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class="current"><a href="/docs/stream.html">Streaming</a></li>
+
+
@@ -1415,24 +1444,34 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/lattice.html">Lattices</a></li>
@@ -1446,6 +1485,8 @@ Language: Semantic Foundations and Query
<ul>
+
+
@@ -1453,33 +1494,47 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/reference.html">SQL language</a></li>
+
+
@@ -1487,31 +1542,44 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/model.html">JSON models</a></li>
+
+
@@ -1519,20 +1587,28 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/howto.html">HOWTO</a></li>
@@ -1546,6 +1622,8 @@ Language: Semantic Foundations and Query
<ul>
+
+
@@ -1553,21 +1631,29 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
<li class=""><a href="/docs/downloads.html">Downloads</a></li>
+
+
@@ -1575,23 +1661,32 @@ Language: Semantic Foundations and Query
+
+
+
+
+
+
+
<li class=""><a href="/docs/history.html">History</a></li>
+
+
@@ -1599,19 +1694,26 @@ Language: Semantic Foundations and Query
+
+
+
+
+
<li class=""><a href="/docs/contributing.html">Contributing</a></li>
+
+
@@ -1619,10 +1721,13 @@ Language: Semantic Foundations and Query
+
+
+
<li class=""><a href="/docs/api.html">API</a></li>
Modified: incubator/calcite/site/docs/tutorial.html
URL: http://svn.apache.org/viewvc/incubator/calcite/site/docs/tutorial.html?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/docs/tutorial.html (original)
+++ incubator/calcite/site/docs/tutorial.html Sun Sep 13 05:10:05 2015
@@ -107,8 +107,6 @@
- <option value="/docs/index.html">Background</option>
-
@@ -151,8 +149,6 @@
- <option value="/docs/tutorial.html">Tutorial</option>
-
@@ -161,8 +157,6 @@
- <option value="/docs/algebra.html">Algebra</option>
-
@@ -200,8 +194,6 @@
- <option value="/docs/adapter.html">Adapters</option>
-
@@ -240,8 +232,6 @@
- <option value="/docs/avatica.html">Avatica</option>
-
@@ -292,8 +282,6 @@
- <option value="/docs/stream.html">Streaming</option>
-
@@ -320,8 +308,6 @@
- <option value="/docs/lattice.html">Lattices</option>
-
@@ -365,8 +351,6 @@
- <option value="/docs/reference.html">SQL language</option>
-
@@ -397,8 +381,6 @@
- <option value="/docs/model.html">JSON models</option>
-
@@ -425,8 +407,6 @@
- <option value="/docs/howto.html">HOWTO</option>
-
@@ -462,8 +442,6 @@
- <option value="/docs/downloads.html">Downloads</option>
-
@@ -498,8 +476,6 @@
- <option value="/docs/history.html">History</option>
-
@@ -528,8 +504,6 @@
- <option value="/docs/contributing.html">Contributing</option>
-
@@ -558,8 +532,6 @@
- <option value="/docs/api.html">API</option>
-
@@ -752,7 +724,7 @@ format. Here is the model:</p>
<p>The model defines a single schema called âSALESâ. The schema is
powered by a plugin class,
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvSchemaFactory.java">org.apache.calcite.adapter.csv.CsvSchemaFactory</a>,
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvSchemaFactory.java">org.apache.calcite.adapter.csv.CsvSchemaFactory</a>,
which is part of the
calcite-example-csv project and implements the Calcite interface
<a href="/apidocs/org/apache/calcite/schema/SchemaFactory.html">SchemaFactory</a>.
@@ -776,16 +748,16 @@ schema, passing in the <code>directory</
<p>Driven by the model, the schema factory instantiates a single schema
called âSALESâ. The schema is an instance of
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvSchema.java">org.apache.calcite.adapter.csv.CsvSchema</a>
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvSchema.java">org.apache.calcite.adapter.csv.CsvSchema</a>
and implements the Calcite interface
-<a href="/calcite/apidocs/org/apache/calcite/schema/Schema.html">Schema</a>.</p>
+<a href="/apidocs/org/apache/calcite/schema/Schema.html">Schema</a>.</p>
<p>A schemaâs job is to produce a list of tables. (It can also list sub-schemas and
table-functions, but these are advanced features and calcite-example-csv does
not support them.) The tables implement Calciteâs
<a href="/apidocs/org/apache/calcite/schema/Table.html">Table</a>
interface. <code>CsvSchema</code> produces tables that are instances of
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTable.java">CsvTable</a>
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTable.java">CsvTable</a>
and its sub-classes.</p>
<p>Here is the relevant code from <code>CsvSchema</code>, overriding the
@@ -956,7 +928,7 @@ They donât need to live in a custom
<span class="o">+</span><span class="c1">--------+--------+</span></code></pre></div>
<p>The schema is a regular one, and contains a custom table powered by
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableFactory.java">org.apache.calcite.adapter.csv.CsvTableFactory</a>,
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableFactory.java">org.apache.calcite.adapter.csv.CsvTableFactory</a>,
which implements the Calcite interface
<a href="/apidocs/org/apache/calcite/schema/TableFactory.html">TableFactory</a>.
Its <code>create</code> method instantiates a <code>CsvScannableTable</code>,
@@ -1045,13 +1017,13 @@ similar schemas:</p>
<p>This causes a <code>CsvSchema</code> to be created with
<code>flavor = TRANSLATABLE</code>,
and its <code>createTable</code> method creates instances of
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTranslatableTable.java">CsvTranslatableTable</a>
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTranslatableTable.java">CsvTranslatableTable</a>
rather than a <code>CsvScannableTable</code>.</p>
<p><code>CsvTranslatableTable</code> implements the
<code><a href="/apidocs/org/apache/calcite/schema/TranslatableTable.html#toRel()">TranslatableTable.toRel()</a></code>
method to create
-<a href="http://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableScan.java">CsvTableScan</a>.
+<a href="https://github.com/apache/incubator-calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableScan.java">CsvTableScan</a>.
Table scans are the leaves of a query operator tree.
The usual implementation is
<code><a href="/apidocs/org/apache/calcite/adapter/enumerable/EnumerableTableScan.html">EnumerableTableScan</a></code>,
@@ -1334,6 +1306,8 @@ relational operators?</p>
<ul>
+
+
@@ -1341,27 +1315,38 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/index.html">Background</a></li>
+
+
@@ -1369,37 +1354,53 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class="current"><a href="/docs/tutorial.html">Tutorial</a></li>
+
+
@@ -1407,8 +1408,10 @@ relational operators?</p>
+
+
<li class=""><a href="/docs/algebra.html">Algebra</a></li>
@@ -1422,6 +1425,8 @@ relational operators?</p>
<ul>
+
+
@@ -1429,11 +1434,14 @@ relational operators?</p>
+
<li class=""><a href="/docs/adapter.html">Adapters</a></li>
+
+
@@ -1441,17 +1449,23 @@ relational operators?</p>
+
+
+
+
<li class=""><a href="/docs/avatica.html">Avatica</a></li>
+
+
@@ -1459,35 +1473,50 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/stream.html">Streaming</a></li>
+
+
@@ -1495,24 +1524,34 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/lattice.html">Lattices</a></li>
@@ -1526,6 +1565,8 @@ relational operators?</p>
<ul>
+
+
@@ -1533,33 +1574,47 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/reference.html">SQL language</a></li>
+
+
@@ -1567,31 +1622,44 @@ relational operators?</p>
+
+
+
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/model.html">JSON models</a></li>
+
+
@@ -1599,20 +1667,28 @@ relational operators?</p>
+
+
+
+
+
+
+
+
<li class=""><a href="/docs/howto.html">HOWTO</a></li>
@@ -1626,6 +1702,8 @@ relational operators?</p>
<ul>
+
+
@@ -1633,21 +1711,29 @@ relational operators?</p>
+
+
+
+
+
+
<li class=""><a href="/docs/downloads.html">Downloads</a></li>
+
+
@@ -1655,23 +1741,32 @@ relational operators?</p>
+
+
+
+
+
+
+
<li class=""><a href="/docs/history.html">History</a></li>
+
+
@@ -1679,19 +1774,26 @@ relational operators?</p>
+
+
+
+
+
<li class=""><a href="/docs/contributing.html">Contributing</a></li>
+
+
@@ -1699,10 +1801,13 @@ relational operators?</p>
+
+
+
<li class=""><a href="/docs/api.html">API</a></li>
Modified: incubator/calcite/site/fonts/fontawesome-webfont.svg
URL: http://svn.apache.org/viewvc/incubator/calcite/site/fonts/fontawesome-webfont.svg?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/fonts/fontawesome-webfont.svg (original)
+++ incubator/calcite/site/fonts/fontawesome-webfont.svg Sun Sep 13 05:10:05 2015
@@ -517,4 +517,4 @@
<glyph unicode="" horiz-adv-x="1792" />
<glyph unicode="" horiz-adv-x="1792" />
</font>
-</defs></svg>
\ No newline at end of file
+</defs></svg>
Modified: incubator/calcite/site/news/2015/06/05/algebra-builder/index.html
URL: http://svn.apache.org/viewvc/incubator/calcite/site/news/2015/06/05/algebra-builder/index.html?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/news/2015/06/05/algebra-builder/index.html (original)
+++ incubator/calcite/site/news/2015/06/05/algebra-builder/index.html Sun Sep 13 05:10:05 2015
@@ -184,7 +184,7 @@ algebra (together with transformation ru
but to create algebra expressions you had to master a complex API.</p>
<p>Weâre solving this problem by introducing an
-<a href="http://calcite.hydromatic.net/apidocs/org/apache/calcite/tools/RelBuilder.html">algebra builder</a>,
+<a href="/apidocs/org/apache/calcite/tools/RelBuilder.html">algebra builder</a>,
a single class with all the methods you need to build any relational
expression.</p>
Modified: incubator/calcite/site/news/index.html
URL: http://svn.apache.org/viewvc/incubator/calcite/site/news/index.html?rev=1702701&r1=1702700&r2=1702701&view=diff
==============================================================================
--- incubator/calcite/site/news/index.html (original)
+++ incubator/calcite/site/news/index.html Sun Sep 13 05:10:05 2015
@@ -361,7 +361,7 @@ algebra (together with transformation ru
but to create algebra expressions you had to master a complex API.</p>
<p>Weâre solving this problem by introducing an
-<a href="http://calcite.hydromatic.net/apidocs/org/apache/calcite/tools/RelBuilder.html">algebra builder</a>,
+<a href="/apidocs/org/apache/calcite/tools/RelBuilder.html">algebra builder</a>,
a single class with all the methods you need to build any relational
expression.</p>