Modified: tajo/site/docs/current/functions/string_func_and_operators.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/functions/string_func_and_operators.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/functions/string_func_and_operators.html (original) +++ tajo/site/docs/current/functions/string_func_and_operators.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>String Functions and Operators — Apache Tajo 0.10.0 documentation</title> + <title>String Functions and Operators — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="../index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/> <link rel="up" title="Functions" href="../functions.html"/> <link rel="next" title="DateTime Functions and Operators" href="datetime_func_and_operators.html"/> <link rel="prev" title="Math Functions and Operators" href="math_func_and_operators.html"/> @@ -113,6 +113,7 @@ <li class="toctree-l2 current"><a class="current reference internal" href="">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../table_management.html">Table Management</a><ul> @@ -146,11 +147,17 @@ <li class="toctree-l2"><a class="reference internal" href="../hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="../swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="../jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../tajo_client_api.html">Tajo Client API</a></li> @@ -195,8 +202,8 @@ <h1>String Functions and Operators<a class="headerlink" href="#string-functions-and-operators" title="Permalink to this headline">¶</a></h1> <dl class="function"> <dt> -<tt class="descname">str1 || str2</tt></dt> -<dd><p>Returns the concatnenated string of both side strings <tt class="docutils literal"><span class="pre">str1</span></tt> and <tt class="docutils literal"><span class="pre">str2</span></tt>.</p> +<code class="descname">str1 || str2</code></dt> +<dd><p>Returns the concatnenated string of both side strings <code class="docutils literal"><span class="pre">str1</span></code> and <code class="docutils literal"><span class="pre">str2</span></code>.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -222,7 +229,7 @@ <dl class="function"> <dt id="char_length"> -<tt class="descname">char_length</tt><big>(</big><em>string text</em><big>)</big><a class="headerlink" href="#char_length" title="Permalink to this definition">¶</a></dt> +<code class="descname">char_length</code><span class="sig-paren">(</span><em>string text</em><span class="sig-paren">)</span><a class="headerlink" href="#char_length" title="Permalink to this definition">¶</a></dt> <dd><p>Returns Number of characters in string</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -246,7 +253,7 @@ <dl class="function"> <dt id="trim"> -<tt class="descname">trim</tt><big>(</big><em>[leading | trailing | both] [characters] from string</em><big>)</big><a class="headerlink" href="#trim" title="Permalink to this definition">¶</a></dt> +<code class="descname">trim</code><span class="sig-paren">(</span><em>[leading | trailing | both] [characters] from string</em><span class="sig-paren">)</span><a class="headerlink" href="#trim" title="Permalink to this definition">¶</a></dt> <dd><p>Removes the characters (a space by default) from the start/end/both ends of the string</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -273,7 +280,7 @@ <dl class="function"> <dt id="btrim"> -<tt class="descname">btrim</tt><big>(</big><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#btrim" title="Permalink to this definition">¶</a></dt> +<code class="descname">btrim</code><span class="sig-paren">(</span><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#btrim" title="Permalink to this definition">¶</a></dt> <dd><p>Removes the characters (a space by default) from the both ends of the string</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -303,7 +310,7 @@ <dl class="function"> <dt id="ltrim"> -<tt class="descname">ltrim</tt><big>(</big><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#ltrim" title="Permalink to this definition">¶</a></dt> +<code class="descname">ltrim</code><span class="sig-paren">(</span><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#ltrim" title="Permalink to this definition">¶</a></dt> <dd><p>Removes the characters (a space by default) from the start ends of the string</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -330,7 +337,7 @@ <dl class="function"> <dt id="rtrim"> -<tt class="descname">rtrim</tt><big>(</big><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><big>)</big><a class="headerlink" href="#rtrim" title="Permalink to this definition">¶</a></dt> +<code class="descname">rtrim</code><span class="sig-paren">(</span><em>string text</em><span class="optional">[</span>, <em>characters text</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#rtrim" title="Permalink to this definition">¶</a></dt> <dd><p>Removes the characters (a space by default) from the end ends of the string</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -357,7 +364,7 @@ <dl class="function"> <dt id="split_part"> -<tt class="descname">split_part</tt><big>(</big><em>string text</em>, <em>delimiter text</em>, <em>field int</em><big>)</big><a class="headerlink" href="#split_part" title="Permalink to this definition">¶</a></dt> +<code class="descname">split_part</code><span class="sig-paren">(</span><em>string text</em>, <em>delimiter text</em>, <em>field int</em><span class="sig-paren">)</span><a class="headerlink" href="#split_part" title="Permalink to this definition">¶</a></dt> <dd><p>Splits a string on delimiter and return the given field (counting from one)</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -385,7 +392,7 @@ <dl class="function"> <dt id="regexp_replace"> -<tt class="descname">regexp_replace</tt><big>(</big><em>string text</em>, <em>pattern text</em>, <em>replacement text</em><big>)</big><a class="headerlink" href="#regexp_replace" title="Permalink to this definition">¶</a></dt> +<code class="descname">regexp_replace</code><span class="sig-paren">(</span><em>string text</em>, <em>pattern text</em>, <em>replacement text</em><span class="sig-paren">)</span><a class="headerlink" href="#regexp_replace" title="Permalink to this definition">¶</a></dt> <dd><p>Replaces substrings matched to a given regular expression pattern</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -413,7 +420,7 @@ <dl class="function"> <dt id="upper"> -<tt class="descname">upper</tt><big>(</big><em>string text</em><big>)</big><a class="headerlink" href="#upper" title="Permalink to this definition">¶</a></dt> +<code class="descname">upper</code><span class="sig-paren">(</span><em>string text</em><span class="sig-paren">)</span><a class="headerlink" href="#upper" title="Permalink to this definition">¶</a></dt> <dd><p>makes an input text to be upper case</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -435,7 +442,7 @@ <dl class="function"> <dt id="lower"> -<tt class="descname">lower</tt><big>(</big><em>string text</em><big>)</big><a class="headerlink" href="#lower" title="Permalink to this definition">¶</a></dt> +<code class="descname">lower</code><span class="sig-paren">(</span><em>string text</em><span class="sig-paren">)</span><a class="headerlink" href="#lower" title="Permalink to this definition">¶</a></dt> <dd><p>makes an input text to be lower case</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> @@ -495,7 +502,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true
Modified: tajo/site/docs/current/genindex.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/genindex.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/genindex.html (original) +++ tajo/site/docs/current/genindex.html Tue Jun 30 04:16:52 2015 @@ -8,7 +8,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Index — Apache Tajo 0.10.0 documentation</title> + <title>Index — Apache Tajo 0.11.0 documentation</title> @@ -29,7 +29,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> @@ -111,6 +111,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -144,11 +145,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -196,6 +203,7 @@ | <a href="#E"><strong>E</strong></a> | <a href="#F"><strong>F</strong></a> | <a href="#G"><strong>G</strong></a> + | <a href="#J"><strong>J</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#N"><strong>N</strong></a> @@ -346,6 +354,16 @@ </dl></td> </tr></table> +<h2 id="J">J</h2> +<table style="width: 100%" class="indextable genindextable"><tr> + <td style="width: 33%" valign="top"><dl> + + <dt><a href="functions/json_func.html#json_extract_path_text">json_extract_path_text() (built-in function)</a> + </dt> + + </dl></td> +</tr></table> + <h2 id="L">L</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> @@ -520,7 +538,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/getting_started.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/getting_started.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/getting_started.html (original) +++ tajo/site/docs/current/getting_started.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Getting Started — Apache Tajo 0.10.0 documentation</title> + <title>Getting Started — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <link rel="next" title="Configuration" href="configuration.html"/> <link rel="prev" title="Introduction" href="introduction.html"/> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -145,11 +146,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -195,7 +202,7 @@ <h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this headline">¶</a></h2> <blockquote> <div><ul class="simple"> -<li>Hadoop 2.3.0 or higher (up to 2.5.1)</li> +<li>Hadoop 2.3.0 or higher (up to 2.6.0)</li> <li>Java 1.6 or 1.7</li> <li>Protocol buffer 2.5.0</li> </ul> @@ -267,7 +274,7 @@ Download the file that ends in .tar.gz t </div> <div class="admonition warning"> <p class="first admonition-title">Warning</p> -<p class="last">By default, <em>Catalog server</em> which manages table meta data uses <a class="reference external" href="http://db.apache.org/derby/">Apache Derby</a> as a persistent storage, and Derby stores data into <tt class="docutils literal"><span class="pre">/tmp/tajo-catalog-${username}</span></tt> directory. But, some operating systems may remove all contents in <tt class="docutils literal"><span class="pre">/tmp</span></tt> when booting up. In order to ensure persistent store of your catalog data, you need to set a proper location of derby directory. To learn Catalog configuration, please refer to <a class="reference internal" href="configuration/catalog_configuration.html"><em>Catalog Configuration</em></a>.</p> +<p class="last">By default, <em>Catalog server</em> which manages table meta data uses <a class="reference external" href="http://db.apache.org/derby/">Apache Derby</a> as a persistent storage, and Derby stores data into <code class="docutils literal"><span class="pre">/tmp/tajo-catalog-${username}</span></code> directory. But, some operating systems may remove all contents in <code class="docutils literal"><span class="pre">/tmp</span></code> when booting up. In order to ensure persistent store of your catalog data, you need to set a proper location of derby directory. To learn Catalog configuration, please refer to <a class="reference internal" href="configuration/catalog_configuration.html"><em>Catalog Configuration</em></a>.</p> </div> </div> <div class="section" id="first-query-execution"> @@ -284,7 +291,7 @@ Download the file that ends in .tar.gz t <CTRL + D> </pre></div> </div> -<p>Apache Tajo⢠provides a SQL shell which allows users to interactively submit SQL queries. In order to use this shell, please execute <tt class="docutils literal"><span class="pre">bin/tsql</span></tt></p> +<p>Apache Tajo⢠provides a SQL shell which allows users to interactively submit SQL queries. In order to use this shell, please execute <code class="docutils literal"><span class="pre">bin/tsql</span></code></p> <div class="highlight-python"><div class="highlight"><pre>$ $TAJO_HOME/bin/tsql tajo> </pre></div> @@ -297,7 +304,7 @@ tajo> create external table table1 ( name text, score float, type text) - using csv with ('text.delimiter'='|') location 'file:/home/x/table1'; + using text with ('text.delimiter'='|') location 'file:/home/x/table1'; </pre></div> </div> <p>To load an external table, you need to use âcreate external tableâ statement. @@ -323,7 +330,7 @@ If the table resides in HDFS, you should type TEXT </pre></div> </div> -<p><tt class="docutils literal"><span class="pre">\d</span> <span class="pre">[table</span> <span class="pre">name]</span></tt> command shows the description of a given table.</p> +<p><code class="docutils literal"><span class="pre">\d</span> <span class="pre">[table</span> <span class="pre">name]</span></code> command shows the description of a given table.</p> <p>Also, you can execute SQL queries as follows:</p> <div class="highlight-python"><div class="highlight"><pre>tajo> select * from table1 where id > 2; final state: QUERY_SUCCEEDED, init time: 0.069 sec, response time: 0.397 sec @@ -382,7 +389,7 @@ If you want to know more explanation for <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/hbase_integration.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/hbase_integration.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/hbase_integration.html (original) +++ tajo/site/docs/current/hbase_integration.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>HBase Integration — Apache Tajo 0.10.0 documentation</title> + <title>HBase Integration — Apache Tajo 0.11.0 documentation</title> @@ -28,8 +28,8 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> - <link rel="next" title="Tajo JDBC Driver" href="jdbc_driver.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> + <link rel="next" title="OpenStack Swift Integration" href="swift_integration.html"/> <link rel="prev" title="HCatalog Integration" href="hcatalog_integration.html"/> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -145,11 +146,17 @@ <li class="toctree-l2"><a class="reference internal" href="#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -192,9 +199,9 @@ <h1>HBase Integration<a class="headerlink" href="#hbase-integration" title="Permalink to this headline">¶</a></h1> <p>Apache Tajo⢠storage supports integration with Apache HBaseâ¢. This integration allows Tajo to access all tables used in Apache HBase.</p> -<p>In order to use this feature, you need to build add some configs into <tt class="docutils literal"><span class="pre">conf/tajo-env.sh</span></tt> and then add some properties into a table create statement.</p> +<p>In order to use this feature, you need to build add some configs into <code class="docutils literal"><span class="pre">conf/tajo-env.sh</span></code> and then add some properties into a table create statement.</p> <p>This section describes how to setup HBase integration.</p> -<p>First, you need to set your HBase home directory to the environment variable <tt class="docutils literal"><span class="pre">HBASE_HOME</span></tt> in conf/tajo-env.sh as follows:</p> +<p>First, you need to set your HBase home directory to the environment variable <code class="docutils literal"><span class="pre">HBASE_HOME</span></code> in conf/tajo-env.sh as follows:</p> <div class="highlight-python"><div class="highlight"><pre>export HBASE_HOME=/path/to/your/hbase/directory </pre></div> </div> @@ -213,12 +220,12 @@ This integration allows Tajo to access a </div> <p>Options</p> <ul class="simple"> -<li><tt class="docutils literal"><span class="pre">table</span></tt> : Set hbase origin table name. If you want to create an external table, the table must exists on HBase. The other way, if you want to create a managed table, the table must doesn’t exist on HBase.</li> -<li><tt class="docutils literal"><span class="pre">columns</span></tt> : :key means HBase row key. The number of columns entry need to equals to the number of Tajo table column</li> -<li><tt class="docutils literal"><span class="pre">hbase.zookeeper.quorum</span></tt> : Set zookeeper quorum address. You can use different zookeeper cluster on the same Tajo database. If you don’t set the zookeeper address, Tajo will refer the property of hbase-site.xml file.</li> -<li><tt class="docutils literal"><span class="pre">hbase.zookeeper.property.clientPort</span></tt> : Set zookeeper client port. If you don’t set the port, Tajo will refer the property of hbase-site.xml file.</li> +<li><code class="docutils literal"><span class="pre">table</span></code> : Set hbase origin table name. If you want to create an external table, the table must exists on HBase. The other way, if you want to create a managed table, the table must doesn’t exist on HBase.</li> +<li><code class="docutils literal"><span class="pre">columns</span></code> : :key means HBase row key. The number of columns entry need to equals to the number of Tajo table column</li> +<li><code class="docutils literal"><span class="pre">hbase.zookeeper.quorum</span></code> : Set zookeeper quorum address. You can use different zookeeper cluster on the same Tajo database. If you don’t set the zookeeper address, Tajo will refer the property of hbase-site.xml file.</li> +<li><code class="docutils literal"><span class="pre">hbase.zookeeper.property.clientPort</span></code> : Set zookeeper client port. If you don’t set the port, Tajo will refer the property of hbase-site.xml file.</li> </ul> -<p><tt class="docutils literal"><span class="pre">IF</span> <span class="pre">NOT</span> <span class="pre">EXISTS</span></tt> allows <tt class="docutils literal"><span class="pre">CREATE</span> <span class="pre">[EXTERNAL]</span> <span class="pre">TABLE</span></tt> statement to avoid an error which occurs when the table does not exist.</p> +<p><code class="docutils literal"><span class="pre">IF</span> <span class="pre">NOT</span> <span class="pre">EXISTS</span></code> allows <code class="docutils literal"><span class="pre">CREATE</span> <span class="pre">[EXTERNAL]</span> <span class="pre">TABLE</span></code> statement to avoid an error which occurs when the table does not exist.</p> </div> <div class="section" id="drop-table"> <h2>DROP TABLE<a class="headerlink" href="#drop-table" title="Permalink to this headline">¶</a></h2> @@ -226,11 +233,11 @@ This integration allows Tajo to access a <div class="highlight-sql"><div class="highlight"><pre><span class="k">DROP</span> <span class="k">TABLE</span> <span class="p">[</span><span class="n">IF</span> <span class="k">EXISTS</span><span class="p">]</span> <span class="o"><</span><span class="k">table_name</span><span class="o">></span> <span class="p">[</span><span class="n">PURGE</span><span class="p">]</span> </pre></div> </div> -<p><tt class="docutils literal"><span class="pre">IF</span> <span class="pre">EXISTS</span></tt> allows <tt class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></tt> statement to avoid an error which occurs when the table does not exist. <tt class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></tt> statement removes a table from Tajo catalog, but it does not remove the contents on HBase cluster. If <tt class="docutils literal"><span class="pre">PURGE</span></tt> option is given, <tt class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></tt> statement will eliminate the entry in the catalog as well as the contents on HBase cluster.</p> +<p><code class="docutils literal"><span class="pre">IF</span> <span class="pre">EXISTS</span></code> allows <code class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></code> statement to avoid an error which occurs when the table does not exist. <code class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></code> statement removes a table from Tajo catalog, but it does not remove the contents on HBase cluster. If <code class="docutils literal"><span class="pre">PURGE</span></code> option is given, <code class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></code> statement will eliminate the entry in the catalog as well as the contents on HBase cluster.</p> </div> <div class="section" id="insert-overwrite-into"> <h2>INSERT (OVERWRITE) INTO<a class="headerlink" href="#insert-overwrite-into" title="Permalink to this headline">¶</a></h2> -<p>INSERT OVERWRITE statement overwrites a table data of an existing table. Tajo’s INSERT OVERWRITE statement follows <tt class="docutils literal"><span class="pre">INSERT</span> <span class="pre">INTO</span> <span class="pre">SELECT</span></tt> statement of SQL. The examples are as follows:</p> +<p>INSERT OVERWRITE statement overwrites a table data of an existing table. Tajo’s INSERT OVERWRITE statement follows <code class="docutils literal"><span class="pre">INSERT</span> <span class="pre">INTO</span> <span class="pre">SELECT</span></code> statement of SQL. The examples are as follows:</p> <div class="highlight-sql"><div class="highlight"><pre><span class="c1">-- when a target table schema and output schema are equivalent to each other</span> <span class="k">INSERT</span> <span class="n">OVERWRITE</span> <span class="k">INTO</span> <span class="n">t1</span> <span class="k">SELECT</span> <span class="n">l_orderkey</span><span class="p">,</span> <span class="n">l_partkey</span><span class="p">,</span> <span class="n">l_quantity</span> <span class="k">FROM</span> <span class="n">lineitem</span><span class="p">;</span> <span class="c1">-- or</span> @@ -271,7 +278,7 @@ put 'blog', 'jhkim-01', put 'blog', 'jhkim-01', 'info:date', '2014-10-22' </pre></div> </div> -<p>And then create the table and query the table meta data with <tt class="docutils literal"><span class="pre">\d</span></tt> option:</p> +<p>And then create the table and query the table meta data with <code class="docutils literal"><span class="pre">\d</span></code> option:</p> <div class="highlight-sql"><div class="highlight"><pre>default> \d blog; table name: default.blog @@ -337,7 +344,7 @@ blrunner-01, Jaehwa Jung, 2014-10-31, <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> - <a href="jdbc_driver.html" class="btn btn-neutral float-right" title="Tajo JDBC Driver"/>Next <span class="fa fa-arrow-circle-right"></span></a> + <a href="swift_integration.html" class="btn btn-neutral float-right" title="OpenStack Swift Integration"/>Next <span class="fa fa-arrow-circle-right"></span></a> <a href="hcatalog_integration.html" class="btn btn-neutral" title="HCatalog Integration"><span class="fa fa-arrow-circle-left"></span> Previous</a> @@ -369,7 +376,7 @@ blrunner-01, Jaehwa Jung, 2014-10-31, <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/hcatalog_integration.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/hcatalog_integration.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/hcatalog_integration.html (original) +++ tajo/site/docs/current/hcatalog_integration.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>HCatalog Integration — Apache Tajo 0.10.0 documentation</title> + <title>HCatalog Integration — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <link rel="next" title="HBase Integration" href="hbase_integration.html"/> <link rel="prev" title="Backup and Restore Catalog" href="backup_and_restore/catalog.html"/> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -145,11 +146,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -195,20 +202,20 @@ This integration allows Tajo to access a Depending on your purpose, you can execute either SQL queries or HiveQL queries on the same tables managed in Apache Hive.</p> <p>In order to use this feature, you need to build Tajo with a specified maven profile -and then add some configs into <tt class="docutils literal"><span class="pre">conf/tajo-env.sh</span></tt> and <tt class="docutils literal"><span class="pre">conf/catalog-site.xml</span></tt>. +and then add some configs into <code class="docutils literal"><span class="pre">conf/tajo-env.sh</span></code> and <code class="docutils literal"><span class="pre">conf/catalog-site.xml</span></code>. This section describes how to setup HCatalog integration. This instruction would take no more than ten minutes.</p> <p>First, you need to compile the source code with hcatalog profile. Currently, Tajo supports hcatalog-0.11.0 and hcatalog-0.12.0 profile. -So, if you want to use Hive 0.11.0, you need to set <tt class="docutils literal"><span class="pre">-Phcatalog-0.11.0</span></tt> as the maven profile</p> +So, if you want to use Hive 0.11.0, you need to set <code class="docutils literal"><span class="pre">-Phcatalog-0.11.0</span></code> as the maven profile</p> <div class="highlight-python"><div class="highlight"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.11.0 </pre></div> </div> -<p>Or, if you want to use Hive 0.12.0, you need to set <tt class="docutils literal"><span class="pre">-Phcatalog-0.12.0</span></tt> as the maven profile</p> +<p>Or, if you want to use Hive 0.12.0, you need to set <code class="docutils literal"><span class="pre">-Phcatalog-0.12.0</span></code> as the maven profile</p> <div class="highlight-python"><div class="highlight"><pre>$ mvn clean package -DskipTests -Pdist -Dtar -Phcatalog-0.12.0 </pre></div> </div> -<p>Then, you need to set your Hive home directory to the environment variable <tt class="docutils literal"><span class="pre">HIVE_HOME</span></tt> in conf/tajo-env.sh as follows:</p> +<p>Then, you need to set your Hive home directory to the environment variable <code class="docutils literal"><span class="pre">HIVE_HOME</span></code> in conf/tajo-env.sh as follows:</p> <div class="highlight-python"><div class="highlight"><pre>export HIVE_HOME=/path/to/your/hive/directory </pre></div> </div> @@ -217,7 +224,7 @@ Next, you should set the path of MySQL J <div class="highlight-python"><div class="highlight"><pre>export HIVE_JDBC_DRIVER_DIR==/path/to/your/mysql_jdbc_driver/mysql-connector-java-x.x.x-bin.jar </pre></div> </div> -<p>Finally, you should specify HCatalogStore as Tajo catalog driver class in <tt class="docutils literal"><span class="pre">conf/catalog-site.xml</span></tt> as follows:</p> +<p>Finally, you should specify HCatalogStore as Tajo catalog driver class in <code class="docutils literal"><span class="pre">conf/catalog-site.xml</span></code> as follows:</p> <div class="highlight-python"><div class="highlight"><pre><property> <name>tajo.catalog.store.class</name> <value>org.apache.tajo.catalog.store.HCatalogStore</value> @@ -228,10 +235,10 @@ Next, you should set the path of MySQL J <p class="first admonition-title">Note</p> <p>Hive stores a list of partitions for each table in its metastore. If new partitions are directly added to HDFS, HiveMetastore will not able aware of these partitions unless the user -<tt class="docutils literal"><span class="pre">ALTER</span> <span class="pre">TABLE</span> <span class="pre">table_name</span> <span class="pre">ADD</span> <span class="pre">PARTITION</span></tt> commands on each of the newly added partitions or -<tt class="docutils literal"><span class="pre">MSCK</span> <span class="pre">REPAIR</span> <span class="pre">TABLE</span> <span class="pre">table_name</span></tt> command.</p> -<p>But current tajo doesn’t provide <tt class="docutils literal"><span class="pre">ADD</span> <span class="pre">PARTITION</span></tt> command and hive doesn’t provide an api for -responding to <tt class="docutils literal"><span class="pre">MSK</span> <span class="pre">REPAIR</span> <span class="pre">TABLE</span></tt> command. Thus, if you insert data to hive partitioned +<code class="docutils literal"><span class="pre">ALTER</span> <span class="pre">TABLE</span> <span class="pre">table_name</span> <span class="pre">ADD</span> <span class="pre">PARTITION</span></code> commands on each of the newly added partitions or +<code class="docutils literal"><span class="pre">MSCK</span> <span class="pre">REPAIR</span> <span class="pre">TABLE</span> <span class="pre">table_name</span></code> command.</p> +<p>But current tajo doesn’t provide <code class="docutils literal"><span class="pre">ADD</span> <span class="pre">PARTITION</span></code> command and hive doesn’t provide an api for +responding to <code class="docutils literal"><span class="pre">MSK</span> <span class="pre">REPAIR</span> <span class="pre">TABLE</span></code> command. Thus, if you insert data to hive partitioned table and you want to scan the updated partitions through Tajo, you must run following command on hive</p> <div class="last highlight-python"><div class="highlight"><pre>$ MSCK REPAIR TABLE [table_name]; </pre></div> @@ -277,7 +284,7 @@ table and you want to scan the updated p <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/index.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/index.html (original) +++ tajo/site/docs/current/index.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Apache Tajo⢠0.10.0 - User documentation — Apache Tajo 0.10.0 documentation</title> + <title>Apache Tajo⢠0.10.1 Release - User documentation — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="#"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="#"/> <link rel="next" title="Introduction" href="introduction.html"/> @@ -111,6 +111,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -144,11 +145,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -176,7 +183,7 @@ <ul class="wy-breadcrumbs"> <li><a href="#">Docs</a> »</li> - <li>Apache Tajo⢠0.10.0 - User documentation</li> + <li>Apache Tajo⢠0.10.1 Release - User documentation</li> <li class="wy-breadcrumbs-aside"> <a href="_sources/index.txt" rel="nofollow"> View page source</a> @@ -187,8 +194,8 @@ </div> <div role="main"> - <div class="section" id="apache-tajo-0-10-0-user-documentation"> -<h1>Apache Tajo⢠0.10.0 - User documentation<a class="headerlink" href="#apache-tajo-0-10-0-user-documentation" title="Permalink to this headline">¶</a></h1> + <div class="section" id="apache-tajo-0-10-1-release-user-documentation"> +<h1>Apache Tajo⢠0.10.1 Release - User documentation<a class="headerlink" href="#apache-tajo-0-10-1-release-user-documentation" title="Permalink to this headline">¶</a></h1> <p>Table of Contents:</p> <div class="toctree-wrapper compound"> <ul> @@ -337,6 +344,7 @@ <li class="toctree-l3"><a class="reference internal" href="functions/network_func_and_operators.html#supported-functions">Supported Functions</a></li> </ul> </li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -349,7 +357,7 @@ </ul> </li> <li class="toctree-l2"><a class="reference internal" href="table_management/file_formats.html">File Formats</a><ul> -<li class="toctree-l3"><a class="reference internal" href="table_management/csv.html">CSV (TextFile)</a></li> +<li class="toctree-l3"><a class="reference internal" href="table_management/text.html">TEXT</a></li> <li class="toctree-l3"><a class="reference internal" href="table_management/rcfile.html">RCFile</a></li> <li class="toctree-l3"><a class="reference internal" href="table_management/parquet.html">Parquet</a></li> <li class="toctree-l3"><a class="reference internal" href="table_management/sequencefile.html">SequenceFile</a></li> @@ -399,18 +407,26 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a><ul> +<li class="toctree-l3"><a class="reference internal" href="swift_integration.html#common-configurations">Common configurations</a></li> +<li class="toctree-l3"><a class="reference internal" href="swift_integration.html#configurations-per-provider">Configurations per provider</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a><ul> +<li class="toctree-l3"><a class="reference internal" href="jdbc_driver.html#direct-download">Direct Download</a></li> <li class="toctree-l3"><a class="reference internal" href="jdbc_driver.html#from-binary-distribution">From Binary Distribution</a></li> <li class="toctree-l3"><a class="reference internal" href="jdbc_driver.html#from-building-source-code">From Building Source Code</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a><ul> -<li class="toctree-l3"><a class="reference internal" href="jdbc_driver.html#java-nio-channels-unresolvedaddressexception">java.nio.channels.UnresolvedAddressException</a></li> -</ul> -</li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -421,9 +437,9 @@ <div class="section" id="indices-and-tables"> <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1> <ul class="simple"> -<li><a class="reference internal" href="genindex.html"><em>Index</em></a></li> -<li><a class="reference internal" href="py-modindex.html"><em>Module Index</em></a></li> -<li><a class="reference internal" href="search.html"><em>Search Page</em></a></li> +<li><a class="reference internal" href="genindex.html"><span>Index</span></a></li> +<li><a class="reference internal" href="py-modindex.html"><span>Module Index</span></a></li> +<li><a class="reference internal" href="search.html"><span>Search Page</span></a></li> </ul> </div> @@ -463,7 +479,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/index/future_work.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index/future_work.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/index/future_work.html (original) +++ tajo/site/docs/current/index/future_work.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Future Works — Apache Tajo 0.10.0 documentation</title> + <title>Future Works — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="../index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/> <link rel="up" title="Index (Experimental Feature)" href="../index_overview.html"/> <link rel="next" title="Backup and Restore" href="../backup_and_restore.html"/> <link rel="prev" title="How to use index?" href="how_to_use.html"/> @@ -113,6 +113,7 @@ <li class="toctree-l2"><a class="reference internal" href="../functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="../functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../table_management.html">Table Management</a><ul> @@ -146,11 +147,17 @@ <li class="toctree-l2"><a class="reference internal" href="../hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="../swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="../jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../tajo_client_api.html">Tajo Client API</a></li> @@ -239,7 +246,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/index/how_to_use.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index/how_to_use.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/index/how_to_use.html (original) +++ tajo/site/docs/current/index/how_to_use.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>How to use index? — Apache Tajo 0.10.0 documentation</title> + <title>How to use index? — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="../index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/> <link rel="up" title="Index (Experimental Feature)" href="../index_overview.html"/> <link rel="next" title="Future Works" href="future_work.html"/> <link rel="prev" title="Index Types" href="types.html"/> @@ -113,6 +113,7 @@ <li class="toctree-l2"><a class="reference internal" href="../functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="../functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../table_management.html">Table Management</a><ul> @@ -146,11 +147,17 @@ <li class="toctree-l2"><a class="reference internal" href="../hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="../swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="../jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../tajo_client_api.html">Tajo Client API</a></li> @@ -290,7 +297,7 @@ Indexes: <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/index/types.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index/types.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/index/types.html (original) +++ tajo/site/docs/current/index/types.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Index Types — Apache Tajo 0.10.0 documentation</title> + <title>Index Types — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="../index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/> <link rel="up" title="Index (Experimental Feature)" href="../index_overview.html"/> <link rel="next" title="How to use index?" href="how_to_use.html"/> <link rel="prev" title="Index (Experimental Feature)" href="../index_overview.html"/> @@ -113,6 +113,7 @@ <li class="toctree-l2"><a class="reference internal" href="../functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="../functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../table_management.html">Table Management</a><ul> @@ -146,11 +147,17 @@ <li class="toctree-l2"><a class="reference internal" href="../hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="../swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="../jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../tajo_client_api.html">Tajo Client API</a></li> @@ -193,7 +200,7 @@ <div class="section" id="index-types"> <h1>Index Types<a class="headerlink" href="#index-types" title="Permalink to this headline">¶</a></h1> -<p>Currently, Tajo supports only one type of index, <tt class="docutils literal"><span class="pre">TWO_LEVEL_BIN_TREE</span></tt>, shortly <tt class="docutils literal"><span class="pre">BST</span></tt>. The BST index is a kind of binary search tree which is extended to be permanently stored on disk. It consists of two levels of nodes; a leaf node indexes the keys with the positions of data in an HDFS block and a root node indexes the keys with the leaf node indices.</p> +<p>Currently, Tajo supports only one type of index, <code class="docutils literal"><span class="pre">TWO_LEVEL_BIN_TREE</span></code>, shortly <code class="docutils literal"><span class="pre">BST</span></code>. The BST index is a kind of binary search tree which is extended to be permanently stored on disk. It consists of two levels of nodes; a leaf node indexes the keys with the positions of data in an HDFS block and a root node indexes the keys with the leaf node indices.</p> <p>When an index scan is started, the query engine first reads the root node and finds the search key. If it finds a leaf node corresponding to the search key, it subsequently finds the search key in that leaf node. Finally, it directly reads a tuple corresponding to the search key from HDFS.</p> </div> @@ -235,7 +242,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/index_overview.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/index_overview.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/index_overview.html (original) +++ tajo/site/docs/current/index_overview.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Index (Experimental Feature) — Apache Tajo 0.10.0 documentation</title> + <title>Index (Experimental Feature) — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <link rel="next" title="Index Types" href="index/types.html"/> <link rel="prev" title="Hash Partitioning" href="partitioning/hash_partitioning.html"/> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -145,11 +146,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -191,7 +198,7 @@ <div class="section" id="index-experimental-feature"> <h1>Index (Experimental Feature)<a class="headerlink" href="#index-experimental-feature" title="Permalink to this headline">¶</a></h1> <p>An index is a data structure that is used for efficient query processing. Using an index, the Tajo query engine can directly retrieve search values.</p> -<p>This is still an experimental feature. In order to use indexes, you must check out the source code of the <tt class="docutils literal"><span class="pre">index_support</span></tt> branch:</p> +<p>This is still an experimental feature. In order to use indexes, you must check out the source code of the <code class="docutils literal"><span class="pre">index_support</span></code> branch:</p> <div class="highlight-python"><div class="highlight"><pre>git clone -b index_support https://git-wip-us.apache.org/repos/asf/tajo.git tajo-index </pre></div> </div> @@ -244,7 +251,7 @@ <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/introduction.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/introduction.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/introduction.html (original) +++ tajo/site/docs/current/introduction.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Introduction — Apache Tajo 0.10.0 documentation</title> + <title>Introduction — Apache Tajo 0.11.0 documentation</title> @@ -28,9 +28,9 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <link rel="next" title="Getting Started" href="getting_started.html"/> - <link rel="prev" title="Apache Tajo⢠0.10.0 - User documentation" href="index.html"/> + <link rel="prev" title="Apache Tajo⢠0.10.1 Release - User documentation" href="index.html"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -145,11 +146,17 @@ <li class="toctree-l2"><a class="reference internal" href="hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tajo_client_api.html">Tajo Client API</a></li> @@ -210,7 +217,7 @@ queries in order to avoid the worst quer <a href="getting_started.html" class="btn btn-neutral float-right" title="Getting Started"/>Next <span class="fa fa-arrow-circle-right"></span></a> - <a href="index.html" class="btn btn-neutral" title="Apache Tajo⢠0.10.0 - User documentation"><span class="fa fa-arrow-circle-left"></span> Previous</a> + <a href="index.html" class="btn btn-neutral" title="Apache Tajo⢠0.10.1 Release - User documentation"><span class="fa fa-arrow-circle-left"></span> Previous</a> </div> @@ -239,7 +246,7 @@ queries in order to avoid the worst quer <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true Modified: tajo/site/docs/current/jdbc_driver.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/jdbc_driver.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/jdbc_driver.html (original) +++ tajo/site/docs/current/jdbc_driver.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Tajo JDBC Driver — Apache Tajo 0.10.0 documentation</title> + <title>Tajo JDBC Driver — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="index.html"/> <link rel="next" title="Tajo Client API" href="tajo_client_api.html"/> <link rel="prev" title="OpenStack Swift Integration" href="swift_integration.html"/> @@ -112,6 +112,7 @@ <li class="toctree-l2"><a class="reference internal" href="functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="table_management.html">Table Management</a><ul> @@ -203,11 +204,11 @@ In this section, we explain how to get J <h2>How to get JDBC driver<a class="headerlink" href="#how-to-get-jdbc-driver" title="Permalink to this headline">¶</a></h2> <div class="section" id="direct-download"> <h3>Direct Download<a class="headerlink" href="#direct-download" title="Permalink to this headline">¶</a></h3> -<p>You can directly download a JDBC driver jar file (<tt class="docutils literal"><span class="pre">tajo-jdbc-x.y.z.jar</span></tt>) from <a class="reference external" href="http://tajo.apache.org/downloads.html">Downloads</a>.</p> +<p>You can directly download a JDBC driver jar file (<code class="docutils literal"><span class="pre">tajo-jdbc-x.y.z.jar</span></code>) from <a class="reference external" href="http://tajo.apache.org/downloads.html">Downloads</a>.</p> </div> <div class="section" id="from-binary-distribution"> <h3>From Binary Distribution<a class="headerlink" href="#from-binary-distribution" title="Permalink to this headline">¶</a></h3> -<p>Tajo binary distribution provides JDBC jar file located in <tt class="docutils literal"><span class="pre">${TAJO_HOME}/share/jdbc-dist/tajo-jdbc-x.y.z.jar</span></tt>.</p> +<p>Tajo binary distribution provides JDBC jar file located in <code class="docutils literal"><span class="pre">${TAJO_HOME}/share/jdbc-dist/tajo-jdbc-x.y.z.jar</span></code>.</p> </div> <div class="section" id="from-building-source-code"> <h3>From Building Source Code<a class="headerlink" href="#from-building-source-code" title="Permalink to this headline">¶</a></h3> @@ -221,22 +222,22 @@ In this section, we explain how to get J </div> <div class="section" id="setting-the-classpath"> <h2>Setting the CLASSPATH<a class="headerlink" href="#setting-the-classpath" title="Permalink to this headline">¶</a></h2> -<p>In order to use the JDBC driver, you should add <tt class="docutils literal"><span class="pre">tajo-jdbc-x.y.z.jar</span></tt> in your <tt class="docutils literal"><span class="pre">CLASSPATH</span></tt>.</p> +<p>In order to use the JDBC driver, you should add <code class="docutils literal"><span class="pre">tajo-jdbc-x.y.z.jar</span></code> in your <code class="docutils literal"><span class="pre">CLASSPATH</span></code>.</p> <div class="highlight-bash"><div class="highlight"><pre><span class="nv">CLASSPATH</span><span class="o">=</span>path/to/tajo-jdbc-x.y.z.jar:<span class="nv">$CLASSPATH</span> </pre></div> </div> </div> <div class="section" id="an-example-jdbc-client"> <h2>An Example JDBC Client<a class="headerlink" href="#an-example-jdbc-client" title="Permalink to this headline">¶</a></h2> -<p>The JDBC driver class name is <tt class="docutils literal"><span class="pre">org.apache.tajo.jdbc.TajoDriver</span></tt>. -You can get the driver <tt class="docutils literal"><span class="pre">Class.forName("org.apache.tajo.jdbc.TajoDriver")</span></tt>. -The connection url should be <tt class="docutils literal"><span class="pre">jdbc:tajo://<TajoMaster</span> <span class="pre">hostname>:<TajoMaster</span> <span class="pre">client</span> <span class="pre">rpc</span> <span class="pre">port>/<database</span> <span class="pre">name></span></tt>. -The default TajoMaster client rpc port is <tt class="docutils literal"><span class="pre">26002</span></tt>. +<p>The JDBC driver class name is <code class="docutils literal"><span class="pre">org.apache.tajo.jdbc.TajoDriver</span></code>. +You can get the driver <code class="docutils literal"><span class="pre">Class.forName("org.apache.tajo.jdbc.TajoDriver")</span></code>. +The connection url should be <code class="docutils literal"><span class="pre">jdbc:tajo://<TajoMaster</span> <span class="pre">hostname>:<TajoMaster</span> <span class="pre">client</span> <span class="pre">rpc</span> <span class="pre">port>/<database</span> <span class="pre">name></span></code>. +The default TajoMaster client rpc port is <code class="docutils literal"><span class="pre">26002</span></code>. If you want to change the listening port, please refer <a class="reference internal" href="configuration/cluster_setup.html"><em>Cluster Setup</em></a>.</p> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">Currently, Tajo does not support the concept of database and namespace. -All tables are contained in <tt class="docutils literal"><span class="pre">default</span></tt> database. So, you don’t need to specify any database name.</p> +All tables are contained in <code class="docutils literal"><span class="pre">default</span></code> database. So, you don’t need to specify any database name.</p> </div> <p>The following shows an example of JDBC Client.</p> <div class="highlight-java"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">java.sql.Connection</span><span class="o">;</span> @@ -316,7 +317,7 @@ All tables are contained in <tt class="d <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true @@ -343,4 +344,4 @@ All tables are contained in <tt class="d </body> -</html> +</html> \ No newline at end of file Modified: tajo/site/docs/current/objects.inv URL: http://svn.apache.org/viewvc/tajo/site/docs/current/objects.inv?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== Binary files - no diff available. Modified: tajo/site/docs/current/partitioning/column_partitioning.html URL: http://svn.apache.org/viewvc/tajo/site/docs/current/partitioning/column_partitioning.html?rev=1688350&r1=1688349&r2=1688350&view=diff ============================================================================== --- tajo/site/docs/current/partitioning/column_partitioning.html (original) +++ tajo/site/docs/current/partitioning/column_partitioning.html Tue Jun 30 04:16:52 2015 @@ -7,7 +7,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Column Partitioning — Apache Tajo 0.10.0 documentation</title> + <title>Column Partitioning — Apache Tajo 0.11.0 documentation</title> @@ -28,7 +28,7 @@ - <link rel="top" title="Apache Tajo 0.10.0 documentation" href="../index.html"/> + <link rel="top" title="Apache Tajo 0.11.0 documentation" href="../index.html"/> <link rel="up" title="Table Partitioning" href="../table_partitioning.html"/> <link rel="next" title="Range Partitioning" href="range_partitioning.html"/> <link rel="prev" title="Introduction to Partitioning" href="intro_to_partitioning.html"/> @@ -113,6 +113,7 @@ <li class="toctree-l2"><a class="reference internal" href="../functions/string_func_and_operators.html">String Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/datetime_func_and_operators.html">DateTime Functions and Operators</a></li> <li class="toctree-l2"><a class="reference internal" href="../functions/network_func_and_operators.html">Network Functions and Operators</a></li> +<li class="toctree-l2"><a class="reference internal" href="../functions/json_func.html">JSON Functions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../table_management.html">Table Management</a><ul> @@ -146,11 +147,17 @@ <li class="toctree-l2"><a class="reference internal" href="../hbase_integration.html#usage">Usage</a></li> </ul> </li> +<li class="toctree-l1"><a class="reference internal" href="../swift_integration.html">OpenStack Swift Integration</a><ul> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#swift-configuration">Swift configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#hadoop-configurations">Hadoop configurations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li> +<li class="toctree-l2"><a class="reference internal" href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li> +</ul> +</li> <li class="toctree-l1"><a class="reference internal" href="../jdbc_driver.html">Tajo JDBC Driver</a><ul> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li> <li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li> -<li class="toctree-l2"><a class="reference internal" href="../jdbc_driver.html#faq">FAQ</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../tajo_client_api.html">Tajo Client API</a></li> @@ -196,15 +203,15 @@ <p>The column table partition is designed to support the partition of Apache Hiveâ¢.</p> <div class="section" id="how-to-create-a-column-partitioned-table"> <h2>How to Create a Column Partitioned Table<a class="headerlink" href="#how-to-create-a-column-partitioned-table" title="Permalink to this headline">¶</a></h2> -<p>You can create a partitioned table by using the <tt class="docutils literal"><span class="pre">PARTITION</span> <span class="pre">BY</span></tt> clause. For a column partitioned table, you should use -the <tt class="docutils literal"><span class="pre">PARTITION</span> <span class="pre">BY</span> <span class="pre">COLUMN</span></tt> clause with partition keys.</p> -<p>For example, assume there is a table <tt class="docutils literal"><span class="pre">orders</span></tt> composed of the following schema.</p> +<p>You can create a partitioned table by using the <code class="docutils literal"><span class="pre">PARTITION</span> <span class="pre">BY</span></code> clause. For a column partitioned table, you should use +the <code class="docutils literal"><span class="pre">PARTITION</span> <span class="pre">BY</span> <span class="pre">COLUMN</span></code> clause with partition keys.</p> +<p>For example, assume there is a table <code class="docutils literal"><span class="pre">orders</span></code> composed of the following schema.</p> <div class="highlight-python"><div class="highlight"><pre>id INT, item_name TEXT, price FLOAT </pre></div> </div> -<p>Also, assume that you want to use <tt class="docutils literal"><span class="pre">order_date</span> <span class="pre">TEXT</span></tt> and <tt class="docutils literal"><span class="pre">ship_date</span> <span class="pre">TEXT</span></tt> as the partition keys. +<p>Also, assume that you want to use <code class="docutils literal"><span class="pre">order_date</span> <span class="pre">TEXT</span></code> and <code class="docutils literal"><span class="pre">ship_date</span> <span class="pre">TEXT</span></code> as the partition keys. Then, you should create a table as follows:</p> <div class="highlight-sql"><div class="highlight"><pre><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="n">orders</span> <span class="p">(</span> <span class="n">id</span> <span class="nb">INT</span><span class="p">,</span> @@ -216,15 +223,15 @@ Then, you should create a table as follo </div> <div class="section" id="partition-pruning-on-column-partitioned-tables"> <h2>Partition Pruning on Column Partitioned Tables<a class="headerlink" href="#partition-pruning-on-column-partitioned-tables" title="Permalink to this headline">¶</a></h2> -<p>The following predicates in the <tt class="docutils literal"><span class="pre">WHERE</span></tt> clause can be used to prune unqualified column partitions without processing +<p>The following predicates in the <code class="docutils literal"><span class="pre">WHERE</span></code> clause can be used to prune unqualified column partitions without processing during query planning phase.</p> <ul class="simple"> -<li><tt class="docutils literal"><span class="pre">=</span></tt></li> -<li><tt class="docutils literal"><span class="pre"><></span></tt></li> -<li><tt class="docutils literal"><span class="pre">></span></tt></li> -<li><tt class="docutils literal"><span class="pre"><</span></tt></li> -<li><tt class="docutils literal"><span class="pre">>=</span></tt></li> -<li><tt class="docutils literal"><span class="pre"><=</span></tt></li> +<li><code class="docutils literal"><span class="pre">=</span></code></li> +<li><code class="docutils literal"><span class="pre"><></span></code></li> +<li><code class="docutils literal"><span class="pre">></span></code></li> +<li><code class="docutils literal"><span class="pre"><</span></code></li> +<li><code class="docutils literal"><span class="pre">>=</span></code></li> +<li><code class="docutils literal"><span class="pre"><=</span></code></li> <li>LIKE predicates with a leading wild-card character</li> <li>IN list predicates</li> </ul> @@ -274,7 +281,7 @@ There haven’t known compatibility <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', - VERSION:'0.10.0', + VERSION:'0.11.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true
