You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2014/03/11 08:21:10 UTC

svn commit: r1576204 [1/7] - in /incubator/tajo/site/docs: ./ 0.8.0/ 0.8.0/_sources/functions/ 0.8.0/_static/ 0.8.0/_static/css/ 0.8.0/_static/fonts/ 0.8.0/_static/js/ 0.8.0/backup_and_restore/ 0.8.0/configuration/ 0.8.0/functions/ 0.8.0/getting_starte...

Author: hyunsik
Date: Tue Mar 11 07:21:09 2014
New Revision: 1576204

URL: http://svn.apache.org/r1576204
Log:
updated theme and network functions.

Added:
    incubator/tajo/site/docs/0.8.0/_sources/functions/network_func_and_operators.txt
    incubator/tajo/site/docs/0.8.0/_static/fonts/
    incubator/tajo/site/docs/0.8.0/_static/fonts/fontawesome-webfont.svg
    incubator/tajo/site/docs/current   (with props)
Modified:
    incubator/tajo/site/docs/0.8.0/_static/basic.css
    incubator/tajo/site/docs/0.8.0/_static/css/badge_only.css
    incubator/tajo/site/docs/0.8.0/_static/css/theme.css
    incubator/tajo/site/docs/0.8.0/_static/doctools.js
    incubator/tajo/site/docs/0.8.0/_static/js/theme.js
    incubator/tajo/site/docs/0.8.0/_static/searchtools.js
    incubator/tajo/site/docs/0.8.0/_static/websupport.js
    incubator/tajo/site/docs/0.8.0/backup_and_restore.html
    incubator/tajo/site/docs/0.8.0/backup_and_restore/catalog.html
    incubator/tajo/site/docs/0.8.0/cli.html
    incubator/tajo/site/docs/0.8.0/configuration.html
    incubator/tajo/site/docs/0.8.0/configuration/catalog_configuration.html
    incubator/tajo/site/docs/0.8.0/configuration/cluster_setup.html
    incubator/tajo/site/docs/0.8.0/configuration/configuration_defaults.html
    incubator/tajo/site/docs/0.8.0/configuration/preliminary.html
    incubator/tajo/site/docs/0.8.0/configuration/tajo_master_configuration.html
    incubator/tajo/site/docs/0.8.0/configuration/worker_configuration.html
    incubator/tajo/site/docs/0.8.0/faq.html
    incubator/tajo/site/docs/0.8.0/functions.html
    incubator/tajo/site/docs/0.8.0/functions/datetime_func_and_operators.html
    incubator/tajo/site/docs/0.8.0/functions/math_func_and_operators.html
    incubator/tajo/site/docs/0.8.0/functions/network_func_and_operators.html
    incubator/tajo/site/docs/0.8.0/functions/string_func_and_operators.html
    incubator/tajo/site/docs/0.8.0/genindex.html
    incubator/tajo/site/docs/0.8.0/getting_started.html
    incubator/tajo/site/docs/0.8.0/getting_started/building.html
    incubator/tajo/site/docs/0.8.0/getting_started/downloading_source.html
    incubator/tajo/site/docs/0.8.0/getting_started/first_query.html
    incubator/tajo/site/docs/0.8.0/getting_started/local_setup.html
    incubator/tajo/site/docs/0.8.0/getting_started/prerequisites.html
    incubator/tajo/site/docs/0.8.0/hcatalog_integration.html
    incubator/tajo/site/docs/0.8.0/index.html
    incubator/tajo/site/docs/0.8.0/introduction.html
    incubator/tajo/site/docs/0.8.0/jdbc_driver.html
    incubator/tajo/site/docs/0.8.0/partitioning/column_partitioning.html
    incubator/tajo/site/docs/0.8.0/partitioning/hash_partitioning.html
    incubator/tajo/site/docs/0.8.0/partitioning/intro_to_partitioning.html
    incubator/tajo/site/docs/0.8.0/partitioning/range_partitioning.html
    incubator/tajo/site/docs/0.8.0/search.html
    incubator/tajo/site/docs/0.8.0/sql_language.html
    incubator/tajo/site/docs/0.8.0/sql_language/data_model.html
    incubator/tajo/site/docs/0.8.0/sql_language/ddl.html
    incubator/tajo/site/docs/0.8.0/sql_language/insert.html
    incubator/tajo/site/docs/0.8.0/sql_language/predicates.html
    incubator/tajo/site/docs/0.8.0/sql_language/queries.html
    incubator/tajo/site/docs/0.8.0/sql_language/sql_expression.html
    incubator/tajo/site/docs/0.8.0/table_management.html
    incubator/tajo/site/docs/0.8.0/table_management/compression.html
    incubator/tajo/site/docs/0.8.0/table_management/file_formats.html
    incubator/tajo/site/docs/0.8.0/table_partitioning.html
    incubator/tajo/site/docs/0.8.0/tajo_client_api.html

Added: incubator/tajo/site/docs/0.8.0/_sources/functions/network_func_and_operators.txt
URL: http://svn.apache.org/viewvc/incubator/tajo/site/docs/0.8.0/_sources/functions/network_func_and_operators.txt?rev=1576204&view=auto
==============================================================================
--- incubator/tajo/site/docs/0.8.0/_sources/functions/network_func_and_operators.txt (added)
+++ incubator/tajo/site/docs/0.8.0/_sources/functions/network_func_and_operators.txt Tue Mar 11 07:21:09 2014
@@ -0,0 +1,57 @@
+*******************************
+Network Functions and Operators
+*******************************
+
+.. function:: geoip_country_code (string addr)
+
+  Convert an ipv4 address string to a geoip country code.
+
+  :param string: ipv4 address string
+  :rtype: text
+  :example:
+
+  .. code-block:: sql
+
+    select geoip_country_code('163.152.71.31')
+    > 'KR'
+
+.. function:: geoip_country_code (inet4 addr)
+
+  Convert an ipv4 address to a geoip country code.
+
+  :param string: ipv4 address
+  :rtype: text
+  :example:
+
+  .. code-block:: sql
+
+    select geoip_country_code(163.152.71.31)
+    > 'KR'
+
+.. function:: geoip_in_country (string addr, string code)
+
+  If the given country code is same with the country code of the given address, it returns true. Otherwise, returns false.
+
+  :param addr: ipv4 address string
+  :param code: country code
+  :rtype: boolean
+  :example:
+
+  .. code-block:: sql
+
+    select geoip_in_country('163.152.71.31', 'KR')
+    > true
+
+.. function:: geoip_in_country (inet4 addr, string code)
+
+  If the given country code is same with the country code of the given address, it returns true. Otherwise, returns false.
+
+  :param addr: ipv4 address
+  :param code: country code
+  :rtype: boolean
+  :example:
+
+  .. code-block:: sql
+
+    select geoip_in_country(163.152.71.31, 'KR')
+    > true
\ No newline at end of file

Modified: incubator/tajo/site/docs/0.8.0/_static/basic.css
URL: http://svn.apache.org/viewvc/incubator/tajo/site/docs/0.8.0/_static/basic.css?rev=1576204&r1=1576203&r2=1576204&view=diff
==============================================================================
--- incubator/tajo/site/docs/0.8.0/_static/basic.css (original)
+++ incubator/tajo/site/docs/0.8.0/_static/basic.css Tue Mar 11 07:21:09 2014
@@ -4,7 +4,7 @@
  *
  * Sphinx stylesheet -- basic theme.
  *
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */

Modified: incubator/tajo/site/docs/0.8.0/_static/css/badge_only.css
URL: http://svn.apache.org/viewvc/incubator/tajo/site/docs/0.8.0/_static/css/badge_only.css?rev=1576204&r1=1576203&r2=1576204&view=diff
==============================================================================
--- incubator/tajo/site/docs/0.8.0/_static/css/badge_only.css (original)
+++ incubator/tajo/site/docs/0.8.0/_static/css/badge_only.css Tue Mar 11 07:21:09 2014
@@ -1 +1 @@
-.font-smooth,.icon:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:fontawesome-webfont;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#fontawesome-webfont") format("svg")}.icon:before{display:inline-block;font-family:fontawesome-webfont;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .icon{display:inline-block;text-decoration:inherit}li .icon{display:inline-block}li .icon-large:before,li .icon-large:before{width:1.875em}ul.icons{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.icons li .icon{width:0.8em}ul.icons li .icon-large:before,ul.icons li .icon-large:before{vertica
 l-align:baseline}.icon-book:before{content:"\f02d"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .icon{color:#fcfcfc}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-col
 or:#e74c3c;color:#fff}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}}
+.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:"\f02d"}.icon-book:bef
 ore{content:"\f02d"}.fa-caret-down:before{content:"\f0d7"}.icon-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.icon-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.icon-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst
 -versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up
  .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}}