Author: tdsilva
Date: Sat Mar 10 22:13:10 2018
New Revision: 1826422

URL: http://svn.apache.org/viewvc?rev=1826422&view=rev
Log:
Added locale argument documentation for UPPER and LOWER (Shehzaad Nakhoda)

Modified:
    phoenix/phoenix-docs/src/docsrc/help/phoenix.csv
    phoenix/site/publish/language/datatypes.html
    phoenix/site/publish/language/functions.html
    phoenix/site/publish/language/index.html

Modified: phoenix/phoenix-docs/src/docsrc/help/phoenix.csv
URL: 
http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/docsrc/help/phoenix.csv?rev=1826422&r1=1826421&r2=1826422&view=diff
==============================================================================
--- phoenix/phoenix-docs/src/docsrc/help/phoenix.csv (original)
+++ phoenix/phoenix-docs/src/docsrc/help/phoenix.csv Sat Mar 10 22:13:10 2018
@@ -1847,19 +1847,31 @@ RAND(5)
 "
 
 "Functions (String)","UPPER","
-UPPER( stringTerm )
+UPPER( stringTerm [, localeString ] )
 ","
-Returns upper case string of the string argument.
+Returns upper case string of the string argument. If localeString (available 
in Phoenix 4.14)
+is provided, it identifies the locale whose rules are used for the
+conversion. If localeString is not provided, the default locale is
+used. The localeString must be of the form returned by the Java 6
+implementation of java.util.Locale.toString() e.g. 'zh_TW_STROKE' or
+'en_US' or 'fr_FR'.
 ","
 UPPER('Hello')
+UPPER('Hello', 'tr_TR')
 "
 
 "Functions (String)","LOWER","
-LOWER( stringTerm )
+LOWER( stringTerm [, localeString ] )
 ","
-Returns lower case string of the string argument.
+Returns lower case string of the string argument. If localeString (available 
in Phoenix 4.14)
+is provided, it identifies the locale whose rules are used for the
+conversion. If localeString is not provided, the default locale is
+used. The localeString must be of the form returned by the Java 6
+implementation of java.util.Locale.toString() e.g. 'zh_TW_STROKE' or
+'en_US' or 'fr_FR'.
 ","
 LOWER('HELLO')
+LOWER('HELLO', 'en_US')
 "
 
 "Functions (String)","REVERSE","

Modified: phoenix/site/publish/language/datatypes.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/language/datatypes.html?rev=1826422&r1=1826421&r2=1826422&view=diff
==============================================================================
--- phoenix/site/publish/language/datatypes.html (original)
+++ phoenix/site/publish/language/datatypes.html Sat Mar 10 22:13:10 2018
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2018-02-14
+ Generated by Apache Maven Doxia at 2018-03-10
  Rendered using Reflow Maven Skin 1.1.0 
(http://andriusvelykis.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">

Modified: phoenix/site/publish/language/functions.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/language/functions.html?rev=1826422&r1=1826421&r2=1826422&view=diff
==============================================================================
--- phoenix/site/publish/language/functions.html (original)
+++ phoenix/site/publish/language/functions.html Sat Mar 10 22:13:10 2018
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2018-02-14
+ Generated by Apache Maven Doxia at 2018-03-10
  Rendered using Reflow Maven Skin 1.1.0 
(http://andriusvelykis.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -1665,38 +1665,38 @@ syntax-end -->
 <h3 id="upper" class="notranslate">UPPER</h3>
 <!-- railroad-start -->
 <pre name="bnf" style="display: none">
-UPPER( <a href="index.html#term">stringTerm</a> )
+UPPER( <a href="index.html#term">stringTerm</a> [, <a 
href="index.html#string">localeString</a> ] )
 </pre>
 <div name="railroad">
-<table class="railroad"><tr class="railroad"><td class="d"><code 
class="c">UPPER ( <a href="index.html#term">stringTerm</a> 
)</code></td></tr></table>
+<table class="railroad"><tr class="railroad"><td class="d"><code 
class="c">UPPER ( <a href="index.html#term">stringTerm</a></code></td><td 
class="d"><table class="railroad"><tr class="railroad"><td class="ts"></td><td 
class="d">&nbsp;</td><td class="te"></td></tr><tr class="railroad"><td 
class="ls"></td><td class="d"><table class="railroad"><tr class="railroad"><td 
class="d"><code class="c">, <a 
href="index.html#string">localeString</a></code></td></tr></table></td><td 
class="le"></td></tr></table></td><td class="d"><code 
class="c">)</code></td></tr></table>
 </div>
 <!-- railroad-end -->
 <!-- syntax-start
 <pre>
-UPPER( <a href="index.html#term">stringTerm</a> )
+UPPER( <a href="index.html#term">stringTerm</a> [, <a 
href="index.html#string">localeString</a> ] )
 </pre>
 syntax-end -->
-<p>Returns upper case string of the string argument.</p>
+<p>Returns upper case string of the string argument. If localeString 
(available in Phoenix 4.14) is provided, it identifies the locale whose rules 
are used for the conversion. If localeString is not provided, the default 
locale is used. The localeString must be of the form returned by the Java 6 
implementation of java.util.Locale.toString() e.g. 
&#39;zh_<code>TW_STROKE</code>&#39; or &#39;en_<code>US</code>&#39; or 
&#39;fr_<code>FR</code>&#39;.</p>
 <p>Example:</p>
-<p class="notranslate">UPPER(&#39;Hello&#39;)</p>
+<p class="notranslate">UPPER(&#39;Hello&#39;)<br />UPPER(&#39;Hello&#39;, 
&#39;tr_TR&#39;)</p>
 
 <h3 id="lower" class="notranslate">LOWER</h3>
 <!-- railroad-start -->
 <pre name="bnf" style="display: none">
-LOWER( <a href="index.html#term">stringTerm</a> )
+LOWER( <a href="index.html#term">stringTerm</a> [, <a 
href="index.html#string">localeString</a> ] )
 </pre>
 <div name="railroad">
-<table class="railroad"><tr class="railroad"><td class="d"><code 
class="c">LOWER ( <a href="index.html#term">stringTerm</a> 
)</code></td></tr></table>
+<table class="railroad"><tr class="railroad"><td class="d"><code 
class="c">LOWER ( <a href="index.html#term">stringTerm</a></code></td><td 
class="d"><table class="railroad"><tr class="railroad"><td class="ts"></td><td 
class="d">&nbsp;</td><td class="te"></td></tr><tr class="railroad"><td 
class="ls"></td><td class="d"><table class="railroad"><tr class="railroad"><td 
class="d"><code class="c">, <a 
href="index.html#string">localeString</a></code></td></tr></table></td><td 
class="le"></td></tr></table></td><td class="d"><code 
class="c">)</code></td></tr></table>
 </div>
 <!-- railroad-end -->
 <!-- syntax-start
 <pre>
-LOWER( <a href="index.html#term">stringTerm</a> )
+LOWER( <a href="index.html#term">stringTerm</a> [, <a 
href="index.html#string">localeString</a> ] )
 </pre>
 syntax-end -->
-<p>Returns lower case string of the string argument.</p>
+<p>Returns lower case string of the string argument. If localeString 
(available in Phoenix 4.14) is provided, it identifies the locale whose rules 
are used for the conversion. If localeString is not provided, the default 
locale is used. The localeString must be of the form returned by the Java 6 
implementation of java.util.Locale.toString() e.g. 
&#39;zh_<code>TW_STROKE</code>&#39; or &#39;en_<code>US</code>&#39; or 
&#39;fr_<code>FR</code>&#39;.</p>
 <p>Example:</p>
-<p class="notranslate">LOWER(&#39;HELLO&#39;)</p>
+<p class="notranslate">LOWER(&#39;HELLO&#39;)<br />LOWER(&#39;HELLO&#39;, 
&#39;en_US&#39;)</p>
 
 <h3 id="reverse" class="notranslate">REVERSE</h3>
 <!-- railroad-start -->

Modified: phoenix/site/publish/language/index.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/language/index.html?rev=1826422&r1=1826421&r2=1826422&view=diff
==============================================================================
--- phoenix/site/publish/language/index.html (original)
+++ phoenix/site/publish/language/index.html Sat Mar 10 22:13:10 2018
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2018-02-14
+ Generated by Apache Maven Doxia at 2018-03-10
  Rendered using Reflow Maven Skin 1.1.0 
(http://andriusvelykis.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">


Reply via email to