| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SqlLibraryOperators (Apache Calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SqlLibraryOperators (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SqlLibraryOperators.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql.fun</a></div> |
| <h2 title="Class SqlLibraryOperators" class="title">Class SqlLibraryOperators</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.sql.fun.SqlLibraryOperators</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">SqlLibraryOperators</span> |
| extends java.lang.Object</pre> |
| <div class="block">Defines functions and operators that are not part of standard SQL but |
| belong to one or more other dialects of SQL. |
| |
| <p>They are read by <a href="SqlLibraryOperatorTableFactory.html" title="class in org.apache.calcite.sql.fun"><code>SqlLibraryOperatorTableFactory</code></a> into instances |
| of <a href="../SqlOperatorTable.html" title="interface in org.apache.calcite.sql"><code>SqlOperatorTable</code></a> that contain functions and operators for |
| particular libraries.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CHR">CHR</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONCAT_FUNCTION">CONCAT_FUNCTION</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "CONCAT(arg, ...)" function that concatenates strings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONVERT_TIMEZONE">CONVERT_TIMEZONE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "CONVERT_TIMEZONE(tz1, tz2, datetime)" function; |
| converts the timezone of <code>datetime</code> from <code>tz1</code> to <code>tz2</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DAYNAME">DAYNAME</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "DAYNAME(datetime)" function; returns the name of the day of the week, |
| in the current locale, of a TIMESTAMP or DATE argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DECODE">DECODE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "DECODE(v, v1, result1, [v2, result2, ...], resultN)" function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="../type/SqlReturnTypeInference.html" title="interface in org.apache.calcite.sql.type">SqlReturnTypeInference</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DECODE_RETURN_TYPE">DECODE_RETURN_TYPE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Return type inference for <code>DECODE</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DIFFERENCE">DIFFERENCE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FROM_BASE64">FROM_BASE64</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GREATEST">GREATEST</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "GREATEST(value, value)" function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INFIX_CAST">INFIX_CAST</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Infix "::" cast operator used by PostgreSQL, for example |
| <code>'100'::INTEGER</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_DEPTH">JSON_DEPTH</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_KEYS">JSON_KEYS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_LENGTH">JSON_LENGTH</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_PRETTY">JSON_PRETTY</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_REMOVE">JSON_REMOVE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_STORAGE_SIZE">JSON_STORAGE_SIZE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JSON_TYPE">JSON_TYPE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LEAST">LEAST</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "LEAST(value, value)" function.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LEFT">LEFT</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LTRIM">LTRIM</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "LTRIM(string)" function.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MD5">MD5</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MONTHNAME">MONTHNAME</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "MONTHNAME(datetime)" function; returns the name of the month, |
| in the current locale, of a TIMESTAMP or DATE argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NVL">NVL</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "NVL(value, value)" function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REGEXP_REPLACE">REGEXP_REPLACE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REPEAT">REPEAT</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REVERSE">REVERSE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RIGHT">RIGHT</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RTRIM">RTRIM</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "RTRIM(string)" function.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SHA1">SHA1</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SOUNDEX">SOUNDEX</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SPACE">SPACE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SUBSTR">SUBSTR</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Oracle's "SUBSTR(string, position [, substringLength ])" function.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TO_BASE64">TO_BASE64</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TO_DATE">TO_DATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "TO_DATE(string1, string2)" function; casts string1 |
| to a DATE using the format specified in string2.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TO_TIMESTAMP">TO_TIMESTAMP</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The "TO_TIMESTAMP(string1, string2)" function; casts string1 |
| to a TIMESTAMP using the format specified in string2.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TRANSLATE3">TRANSLATE3</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The <code>TRANSLATE(<i>string_expr</i>, <i>search_chars</i>, |
| <i>replacement_chars</i>)</code> function returns <i>string_expr</i> with |
| all occurrences of each character in <i>search_chars</i> replaced by its |
| corresponding character in <i>replacement_chars</i>.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">SqlLibraryOperators</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="CONVERT_TIMEZONE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CONVERT_TIMEZONE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> CONVERT_TIMEZONE</pre> |
| <div class="block">The "CONVERT_TIMEZONE(tz1, tz2, datetime)" function; |
| converts the timezone of <code>datetime</code> from <code>tz1</code> to <code>tz2</code>. |
| This function is only on Redshift, but we list it in PostgreSQL |
| because Redshift does not have its own library.</div> |
| </li> |
| </ul> |
| <a id="DECODE_RETURN_TYPE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DECODE_RETURN_TYPE</h4> |
| <pre>private static final <a href="../type/SqlReturnTypeInference.html" title="interface in org.apache.calcite.sql.type">SqlReturnTypeInference</a> DECODE_RETURN_TYPE</pre> |
| <div class="block">Return type inference for <code>DECODE</code>.</div> |
| </li> |
| </ul> |
| <a id="DECODE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DECODE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> DECODE</pre> |
| <div class="block">The "DECODE(v, v1, result1, [v2, result2, ...], resultN)" function.</div> |
| </li> |
| </ul> |
| <a id="NVL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NVL</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> NVL</pre> |
| <div class="block">The "NVL(value, value)" function.</div> |
| </li> |
| </ul> |
| <a id="LTRIM"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LTRIM</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> LTRIM</pre> |
| <div class="block">The "LTRIM(string)" function.</div> |
| </li> |
| </ul> |
| <a id="RTRIM"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RTRIM</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> RTRIM</pre> |
| <div class="block">The "RTRIM(string)" function.</div> |
| </li> |
| </ul> |
| <a id="SUBSTR"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SUBSTR</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> SUBSTR</pre> |
| <div class="block">Oracle's "SUBSTR(string, position [, substringLength ])" function. |
| |
| <p>It has similar semantics to standard SQL's |
| <a href="SqlStdOperatorTable.html#SUBSTRING"><code>SqlStdOperatorTable.SUBSTRING</code></a> function but different syntax.</div> |
| </li> |
| </ul> |
| <a id="GREATEST"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GREATEST</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> GREATEST</pre> |
| <div class="block">The "GREATEST(value, value)" function.</div> |
| </li> |
| </ul> |
| <a id="LEAST"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LEAST</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> LEAST</pre> |
| <div class="block">The "LEAST(value, value)" function.</div> |
| </li> |
| </ul> |
| <a id="TRANSLATE3"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TRANSLATE3</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> TRANSLATE3</pre> |
| <div class="block">The <code>TRANSLATE(<i>string_expr</i>, <i>search_chars</i>, |
| <i>replacement_chars</i>)</code> function returns <i>string_expr</i> with |
| all occurrences of each character in <i>search_chars</i> replaced by its |
| corresponding character in <i>replacement_chars</i>. |
| |
| <p>It is not defined in the SQL standard, but occurs in Oracle and |
| PostgreSQL.</div> |
| </li> |
| </ul> |
| <a id="JSON_TYPE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_TYPE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_TYPE</pre> |
| </li> |
| </ul> |
| <a id="JSON_DEPTH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_DEPTH</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_DEPTH</pre> |
| </li> |
| </ul> |
| <a id="JSON_LENGTH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_LENGTH</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_LENGTH</pre> |
| </li> |
| </ul> |
| <a id="JSON_KEYS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_KEYS</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_KEYS</pre> |
| </li> |
| </ul> |
| <a id="JSON_PRETTY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_PRETTY</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_PRETTY</pre> |
| </li> |
| </ul> |
| <a id="JSON_REMOVE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_REMOVE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_REMOVE</pre> |
| </li> |
| </ul> |
| <a id="JSON_STORAGE_SIZE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JSON_STORAGE_SIZE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> JSON_STORAGE_SIZE</pre> |
| </li> |
| </ul> |
| <a id="REGEXP_REPLACE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REGEXP_REPLACE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> REGEXP_REPLACE</pre> |
| </li> |
| </ul> |
| <a id="MONTHNAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MONTHNAME</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> MONTHNAME</pre> |
| <div class="block">The "MONTHNAME(datetime)" function; returns the name of the month, |
| in the current locale, of a TIMESTAMP or DATE argument.</div> |
| </li> |
| </ul> |
| <a id="DAYNAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DAYNAME</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> DAYNAME</pre> |
| <div class="block">The "DAYNAME(datetime)" function; returns the name of the day of the week, |
| in the current locale, of a TIMESTAMP or DATE argument.</div> |
| </li> |
| </ul> |
| <a id="LEFT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LEFT</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> LEFT</pre> |
| </li> |
| </ul> |
| <a id="REPEAT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REPEAT</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> REPEAT</pre> |
| </li> |
| </ul> |
| <a id="RIGHT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RIGHT</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> RIGHT</pre> |
| </li> |
| </ul> |
| <a id="SPACE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SPACE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> SPACE</pre> |
| </li> |
| </ul> |
| <a id="SOUNDEX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SOUNDEX</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> SOUNDEX</pre> |
| </li> |
| </ul> |
| <a id="DIFFERENCE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DIFFERENCE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> DIFFERENCE</pre> |
| </li> |
| </ul> |
| <a id="CONCAT_FUNCTION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CONCAT_FUNCTION</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> CONCAT_FUNCTION</pre> |
| <div class="block">The "CONCAT(arg, ...)" function that concatenates strings. |
| For example, "CONCAT('a', 'bc', 'd')" returns "abcd".</div> |
| </li> |
| </ul> |
| <a id="REVERSE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REVERSE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> REVERSE</pre> |
| </li> |
| </ul> |
| <a id="FROM_BASE64"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FROM_BASE64</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> FROM_BASE64</pre> |
| </li> |
| </ul> |
| <a id="TO_BASE64"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TO_BASE64</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> TO_BASE64</pre> |
| </li> |
| </ul> |
| <a id="TO_DATE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TO_DATE</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> TO_DATE</pre> |
| <div class="block">The "TO_DATE(string1, string2)" function; casts string1 |
| to a DATE using the format specified in string2.</div> |
| </li> |
| </ul> |
| <a id="TO_TIMESTAMP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TO_TIMESTAMP</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> TO_TIMESTAMP</pre> |
| <div class="block">The "TO_TIMESTAMP(string1, string2)" function; casts string1 |
| to a TIMESTAMP using the format specified in string2.</div> |
| </li> |
| </ul> |
| <a id="CHR"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CHR</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> CHR</pre> |
| </li> |
| </ul> |
| <a id="MD5"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MD5</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> MD5</pre> |
| </li> |
| </ul> |
| <a id="SHA1"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SHA1</h4> |
| <pre>public static final <a href="../SqlFunction.html" title="class in org.apache.calcite.sql">SqlFunction</a> SHA1</pre> |
| </li> |
| </ul> |
| <a id="INFIX_CAST"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>INFIX_CAST</h4> |
| <pre>public static final <a href="../SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a> INFIX_CAST</pre> |
| <div class="block">Infix "::" cast operator used by PostgreSQL, for example |
| <code>'100'::INTEGER</code>.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SqlLibraryOperators</h4> |
| <pre>private SqlLibraryOperators()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SqlLibraryOperators.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |