| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SqlConformance (Apache Calcite calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.calcite.sql.validate, interface: SqlConformance"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= 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="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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </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>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql.validate</a></div> |
| <h1 title="Interface SqlConformance" class="title">Interface SqlConformance</h1> |
| </div> |
| <div class="contentContainer"> |
| <section class="description"> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="SqlAbstractConformance.html" title="class in org.apache.calcite.sql.validate">SqlAbstractConformance</a></code>, <code><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code>, <code><a href="SqlDelegatingConformance.html" title="class in org.apache.calcite.sql.validate">SqlDelegatingConformance</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">SqlConformance</span></pre> |
| <div class="block">Enumeration of valid SQL compatibility modes. |
| |
| <p>For most purposes, one of the built-in compatibility modes in enum |
| <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate"><code>SqlConformanceEnum</code></a> will suffice. |
| |
| <p>If you wish to implement this interface to build your own conformance, |
| we strongly recommend that you extend <a href="SqlAbstractConformance.html" title="class in org.apache.calcite.sql.validate"><code>SqlAbstractConformance</code></a>, |
| or use a <a href="SqlDelegatingConformance.html" title="class in org.apache.calcite.sql.validate"><code>SqlDelegatingConformance</code></a>, |
| so that you won't be broken by future changes.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate"><code>SqlConformanceEnum</code></a>, |
| <a href="SqlAbstractConformance.html" title="class in org.apache.calcite.sql.validate"><code>SqlAbstractConformance</code></a>, |
| <a href="SqlDelegatingConformance.html" title="class in org.apache.calcite.sql.validate"><code>SqlDelegatingConformance</code></a></dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="fieldSummary"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h2>Field Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT">DEFAULT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ORACLE_10">ORACLE_10</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PRAGMATIC_2003">PRAGMATIC_2003</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PRAGMATIC_99">PRAGMATIC_99</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRICT_2003">STRICT_2003</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRICT_92">STRICT_92</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRICT_99">STRICT_99</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button></div> |
| <div id="memberSummary_tabpanel" role="tabpanel"> |
| <table aria-labelledby="t0"> |
| <thead> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="altColor" id="i0"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowAliasUnnestItems()">allowAliasUnnestItems</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether directly alias array items in UNNEST.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowCharLiteralAlias()">allowCharLiteralAlias</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether this dialect allows character literals as column aliases.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowExplicitRowValueConstructor()">allowExplicitRowValueConstructor</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow SQL syntax "<code>ROW(expr1, expr2, expr3)</code>".</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowExtend()">allowExtend</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow mixing table columns with extended columns in |
| <code>INSERT</code> (or <code>UPSERT</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowExtendedTrim()">allowExtendedTrim</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether TRIM should support more than one trim character.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowGeometry()">allowGeometry</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow geo-spatial extensions, including the GEOMETRY type.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowHyphenInUnquotedTableName()">allowHyphenInUnquotedTableName</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow hyphens in an unquoted table name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowNiladicParentheses()">allowNiladicParentheses</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow parentheses to be specified in calls to niladic functions |
| and procedures (that is, functions and procedures with no parameters).</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowPluralTimeUnits()">allowPluralTimeUnits</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether interval literals should allow plural time units |
| such as "YEARS" and "DAYS" in interval literals.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowQualifyingCommonColumn()">allowQualifyingCommonColumn</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow a qualified common column in a query that has a |
| NATURAL join or a join with a USING clause.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isApplyAllowed()">isApplyAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether <code>CROSS APPLY</code> and <code>OUTER APPLY</code> operators are allowed |
| in the parser.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBangEqualAllowed()">isBangEqualAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether the bang-equal token != is allowed as an alternative to <> in |
| the parser.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFromRequired()">isFromRequired</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether <code>FROM</code> clause is required in a <code>SELECT</code> statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isGroupByAlias()">isGroupByAlias</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow aliases from the <code>SELECT</code> clause to be used as |
| column names in the <code>GROUP BY</code> clause.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isGroupByOrdinal()">isGroupByOrdinal</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether <code>GROUP BY 2</code> is interpreted to mean 'group by the 2nd column |
| in the select list'.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isHavingAlias()">isHavingAlias</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow aliases from the <code>SELECT</code> clause to be used as |
| column names in the <code>HAVING</code> clause.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInsertSubsetColumnsAllowed()">isInsertSubsetColumnsAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow <code>INSERT</code> (or <code>UPSERT</code>) with no column list |
| but fewer values than the target table.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLiberal()">isLiberal</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether this dialect supports features from a wide variety of |
| dialects.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLimitStartCountAllowed()">isLimitStartCountAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to allow the SQL syntax "<code>LIMIT start, count</code>".</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMinusAllowed()">isMinusAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether <code>MINUS</code> is allowed as an alternative to <code>EXCEPT</code> in |
| the parser.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPercentRemainderAllowed()">isPercentRemainderAllowed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether the "%" operator is allowed by the parser as an alternative to the |
| <code>mod</code> function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSortByAlias()">isSortByAlias</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether '<code>ORDER BY x</code>' is interpreted to mean 'sort by the select |
| list item whose alias is x' even if there is a column called x.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSortByAliasObscures()">isSortByAliasObscures</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether "empno" is invalid in "select empno as x from emp order by empno" |
| because the alias "x" obscures it.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSortByOrdinal()">isSortByOrdinal</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether '<code>ORDER BY 2</code>' is interpreted to mean 'sort by the 2nd |
| column in the select list'.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code><a href="../fun/SqlLibrary.html" title="enum in org.apache.calcite.sql.fun">SqlLibrary</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#semantics()">semantics</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Controls the behavior of operators that are part of Standard SQL but |
| nevertheless have different behavior in different databases.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shouldConvertRaggedUnionTypesToVarying()">shouldConvertRaggedUnionTypesToVarying</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether the least restrictive type of a number of CHAR types of different |
| lengths should be a VARCHAR type.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#splitQuotedTableName()">splitQuotedTableName</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Whether to split a quoted table name.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li class="blockList"> |
| <section class="fieldDetails"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h2>Field Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="DEFAULT">DEFAULT</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">DEFAULT</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#DEFAULT"><code>SqlConformanceEnum.DEFAULT</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="STRICT_92">STRICT_92</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">STRICT_92</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="STRICT_99">STRICT_99</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">STRICT_99</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#STRICT_99"><code>SqlConformanceEnum.STRICT_99</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PRAGMATIC_99">PRAGMATIC_99</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">PRAGMATIC_99</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#PRAGMATIC_99"><code>SqlConformanceEnum.PRAGMATIC_99</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="ORACLE_10">ORACLE_10</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">ORACLE_10</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="STRICT_2003">STRICT_2003</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">STRICT_2003</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#STRICT_2003"><code>SqlConformanceEnum.STRICT_2003</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PRAGMATIC_2003">PRAGMATIC_2003</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="modifiers">static final</span> <span class="returnType"><a href="SqlConformanceEnum.html" title="enum in org.apache.calcite.sql.validate">SqlConformanceEnum</a></span> <span class="memberName">PRAGMATIC_2003</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Short-cut for <a href="SqlConformanceEnum.html#PRAGMATIC_2003"><code>SqlConformanceEnum.PRAGMATIC_2003</code></a>.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li class="blockList"> |
| <section class="methodDetails"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h2>Method Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isLiberal()">isLiberal</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isLiberal</span>()</div> |
| <div class="block">Whether this dialect supports features from a wide variety of |
| dialects. This is enabled for the Babel parser, disabled otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowCharLiteralAlias()">allowCharLiteralAlias</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowCharLiteralAlias</span>()</div> |
| <div class="block">Whether this dialect allows character literals as column aliases. |
| |
| <p>For example, |
| |
| <blockquote><pre> |
| SELECT empno, sal + comm AS 'remuneration' |
| FROM Emp</pre></blockquote> |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isGroupByAlias()">isGroupByAlias</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isGroupByAlias</span>()</div> |
| <div class="block">Whether to allow aliases from the <code>SELECT</code> clause to be used as |
| column names in the <code>GROUP BY</code> clause. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isGroupByOrdinal()">isGroupByOrdinal</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isGroupByOrdinal</span>()</div> |
| <div class="block">Whether <code>GROUP BY 2</code> is interpreted to mean 'group by the 2nd column |
| in the select list'. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isHavingAlias()">isHavingAlias</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isHavingAlias</span>()</div> |
| <div class="block">Whether to allow aliases from the <code>SELECT</code> clause to be used as |
| column names in the <code>HAVING</code> clause. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isSortByOrdinal()">isSortByOrdinal</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isSortByOrdinal</span>()</div> |
| <div class="block">Whether '<code>ORDER BY 2</code>' is interpreted to mean 'sort by the 2nd |
| column in the select list'. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#DEFAULT"><code>SqlConformanceEnum.DEFAULT</code></a>, |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#PRAGMATIC_99"><code>SqlConformanceEnum.PRAGMATIC_99</code></a>, |
| <a href="SqlConformanceEnum.html#PRAGMATIC_2003"><code>SqlConformanceEnum.PRAGMATIC_2003</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isSortByAlias()">isSortByAlias</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isSortByAlias</span>()</div> |
| <div class="block">Whether '<code>ORDER BY x</code>' is interpreted to mean 'sort by the select |
| list item whose alias is x' even if there is a column called x. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#DEFAULT"><code>SqlConformanceEnum.DEFAULT</code></a>, |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isSortByAliasObscures()">isSortByAliasObscures</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isSortByAliasObscures</span>()</div> |
| <div class="block">Whether "empno" is invalid in "select empno as x from emp order by empno" |
| because the alias "x" obscures it. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isFromRequired()">isFromRequired</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isFromRequired</span>()</div> |
| <div class="block">Whether <code>FROM</code> clause is required in a <code>SELECT</code> statement. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_99"><code>SqlConformanceEnum.STRICT_99</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_2003"><code>SqlConformanceEnum.STRICT_2003</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="splitQuotedTableName()">splitQuotedTableName</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">splitQuotedTableName</span>()</div> |
| <div class="block">Whether to split a quoted table name. If true, <code>`x.y.z`</code> is parsed as |
| if the user had written <code>`x`.`y`.`z`</code>. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowHyphenInUnquotedTableName()">allowHyphenInUnquotedTableName</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowHyphenInUnquotedTableName</span>()</div> |
| <div class="block">Whether to allow hyphens in an unquoted table name. |
| |
| <p>If true, <code>SELECT * FROM foo-bar.baz-buzz</code> is valid, and is parsed |
| as if the user had written <code>SELECT * FROM `foo-bar`.`baz-buzz`</code>. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isBangEqualAllowed()">isBangEqualAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isBangEqualAllowed</span>()</div> |
| <div class="block">Whether the bang-equal token != is allowed as an alternative to <> in |
| the parser. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isPercentRemainderAllowed()">isPercentRemainderAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isPercentRemainderAllowed</span>()</div> |
| <div class="block">Whether the "%" operator is allowed by the parser as an alternative to the |
| <code>mod</code> function. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isMinusAllowed()">isMinusAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isMinusAllowed</span>()</div> |
| <div class="block">Whether <code>MINUS</code> is allowed as an alternative to <code>EXCEPT</code> in |
| the parser. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>; |
| false otherwise. |
| |
| <p>Note: MySQL does not support <code>MINUS</code> or <code>EXCEPT</code> (as of |
| version 5.5).</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isApplyAllowed()">isApplyAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isApplyAllowed</span>()</div> |
| <div class="block">Whether <code>CROSS APPLY</code> and <code>OUTER APPLY</code> operators are allowed |
| in the parser. |
| |
| <p><code>APPLY</code> invokes a table-valued function for each row returned |
| by a table expression. It is syntactic sugar:<ul> |
| |
| <li><code>SELECT * FROM emp CROSS APPLY TABLE(promote(empno)</code><br> |
| is equivalent to<br> |
| <code>SELECT * FROM emp CROSS JOIN LATERAL TABLE(promote(empno)</code> |
| |
| <li><code>SELECT * FROM emp OUTER APPLY TABLE(promote(empno)</code><br> |
| is equivalent to<br> |
| <code>SELECT * FROM emp LEFT JOIN LATERAL TABLE(promote(empno)</code> ON true |
| </ul> |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isInsertSubsetColumnsAllowed()">isInsertSubsetColumnsAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isInsertSubsetColumnsAllowed</span>()</div> |
| <div class="block">Whether to allow <code>INSERT</code> (or <code>UPSERT</code>) with no column list |
| but fewer values than the target table. |
| |
| <p>The N values provided are assumed to match the first N columns of the |
| table, and for each of the remaining columns, the default value of the |
| column is used. It is an error if any of these columns has no default |
| value. |
| |
| <p>The default value of a column is specified by the <code>DEFAULT</code> |
| clause in the <code>CREATE TABLE</code> statement, or is <code>NULL</code> if the |
| column is not declared <code>NOT NULL</code>. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#PRAGMATIC_99"><code>SqlConformanceEnum.PRAGMATIC_99</code></a>, |
| <a href="SqlConformanceEnum.html#PRAGMATIC_2003"><code>SqlConformanceEnum.PRAGMATIC_2003</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowAliasUnnestItems()">allowAliasUnnestItems</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowAliasUnnestItems</span>()</div> |
| <div class="block">Whether directly alias array items in UNNEST. |
| |
| <p>E.g. in UNNEST(a_array, b_array) AS T(a, b), |
| a and b will be aliases of elements in a_array and b_array |
| respectively. |
| |
| <p>Without this flag set, T will be the alias |
| of the element in a_array and a, b will be the top level |
| fields of T if T is a STRUCT type. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowNiladicParentheses()">allowNiladicParentheses</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowNiladicParentheses</span>()</div> |
| <div class="block">Whether to allow parentheses to be specified in calls to niladic functions |
| and procedures (that is, functions and procedures with no parameters). |
| |
| <p>For example, <code>CURRENT_DATE</code> is a niladic system function. In |
| standard SQL it must be invoked without parentheses: |
| |
| <blockquote><code>VALUES CURRENT_DATE</code></blockquote> |
| |
| <p>If <code>allowNiladicParentheses</code>, the following syntax is also valid: |
| |
| <blockquote><code>VALUES CURRENT_DATE()</code></blockquote> |
| |
| <p>Of the popular databases, MySQL, Apache Phoenix and VoltDB allow this |
| behavior; |
| Apache Hive, HSQLDB, IBM DB2, Microsoft SQL Server, Oracle, PostgreSQL do |
| not. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowExplicitRowValueConstructor()">allowExplicitRowValueConstructor</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowExplicitRowValueConstructor</span>()</div> |
| <div class="block">Whether to allow SQL syntax "<code>ROW(expr1, expr2, expr3)</code>". |
| <p>The equivalent syntax in standard SQL is |
| "<code>(expr1, expr2, expr3)</code>". |
| |
| <p>Standard SQL does not allow this because the type is not |
| well-defined. However, PostgreSQL allows this behavior. |
| |
| <p>Standard SQL allows row expressions in other contexts, for instance |
| inside <code>VALUES</code> clause. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#DEFAULT"><code>SqlConformanceEnum.DEFAULT</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowExtend()">allowExtend</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowExtend</span>()</div> |
| <div class="block">Whether to allow mixing table columns with extended columns in |
| <code>INSERT</code> (or <code>UPSERT</code>). |
| |
| <p>For example, suppose that the declaration of table <code>T</code> has columns |
| <code>A</code> and <code>B</code>, and you want to insert data of column |
| <code>C INTEGER</code> not present in the table declaration as an extended |
| column. You can specify the columns in an <code>INSERT</code> statement as |
| follows: |
| |
| <blockquote> |
| <code>INSERT INTO T (A, B, C INTEGER) VALUES (1, 2, 3)</code> |
| </blockquote> |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isLimitStartCountAllowed()">isLimitStartCountAllowed</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">isLimitStartCountAllowed</span>()</div> |
| <div class="block">Whether to allow the SQL syntax "<code>LIMIT start, count</code>". |
| |
| <p>The equivalent syntax in standard SQL is |
| "<code>OFFSET start ROW FETCH FIRST count ROWS ONLY</code>", |
| and in PostgreSQL "<code>LIMIT count OFFSET start</code>". |
| |
| <p>MySQL and CUBRID allow this behavior. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowGeometry()">allowGeometry</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowGeometry</span>()</div> |
| <div class="block">Whether to allow geo-spatial extensions, including the GEOMETRY type. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="shouldConvertRaggedUnionTypesToVarying()">shouldConvertRaggedUnionTypesToVarying</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">shouldConvertRaggedUnionTypesToVarying</span>()</div> |
| <div class="block">Whether the least restrictive type of a number of CHAR types of different |
| lengths should be a VARCHAR type. And similarly BINARY to VARBINARY. |
| |
| <p>For example, consider the query |
| |
| <blockquote><pre>SELECT 'abcde' UNION SELECT 'xyz'</pre></blockquote> |
| |
| <p>The input columns have types <code>CHAR(5)</code> and <code>CHAR(3)</code>, and |
| we need a result type that is large enough for both: |
| <ul> |
| <li>Under strict SQL:2003 behavior, its column has type <code>CHAR(5)</code>, |
| and the value in the second row will have trailing spaces. |
| <li>With lenient behavior, its column has type <code>VARCHAR(5)</code>, and the |
| values have no trailing spaces. |
| </ul> |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#PRAGMATIC_99"><code>SqlConformanceEnum.PRAGMATIC_99</code></a>, |
| <a href="SqlConformanceEnum.html#PRAGMATIC_2003"><code>SqlConformanceEnum.PRAGMATIC_2003</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowExtendedTrim()">allowExtendedTrim</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowExtendedTrim</span>()</div> |
| <div class="block">Whether TRIM should support more than one trim character. |
| |
| <p>For example, consider the query |
| |
| <blockquote><pre>SELECT TRIM('eh' FROM 'hehe__hehe')</pre></blockquote> |
| |
| <p>Under strict behavior, if the length of trim character is not 1, |
| TRIM throws an exception, and the query fails. |
| However many implementations (in databases such as MySQL and SQL Server) |
| trim all the characters, resulting in a return value of '__'. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>, |
| <a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a>, |
| <a href="SqlConformanceEnum.html#SQL_SERVER_2008"><code>SqlConformanceEnum.SQL_SERVER_2008</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowPluralTimeUnits()">allowPluralTimeUnits</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowPluralTimeUnits</span>()</div> |
| <div class="block">Whether interval literals should allow plural time units |
| such as "YEARS" and "DAYS" in interval literals. |
| |
| <p>Under strict behavior, <code>INTERVAL '2' DAY</code> is valid |
| and <code>INTERVAL '2' DAYS</code> is invalid; |
| PostgreSQL allows both; Oracle only allows singular time units. |
| |
| <p>Among the built-in conformance levels, true in |
| <a href="SqlConformanceEnum.html#BABEL"><code>SqlConformanceEnum.BABEL</code></a>, |
| <a href="SqlConformanceEnum.html#LENIENT"><code>SqlConformanceEnum.LENIENT</code></a>; |
| false otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allowQualifyingCommonColumn()">allowQualifyingCommonColumn</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">allowQualifyingCommonColumn</span>()</div> |
| <div class="block">Whether to allow a qualified common column in a query that has a |
| NATURAL join or a join with a USING clause. |
| |
| <p>For example, in the query |
| |
| <blockquote><pre>SELECT emp.deptno |
| FROM emp |
| JOIN dept USING (deptno)</pre></blockquote> |
| |
| <p><code>deptno</code> is the common column. A qualified common column |
| such as <code>emp.deptno</code> is not allowed in Oracle, but is allowed |
| in PostgreSQL. |
| |
| <p>Among the built-in conformance levels, false in |
| <a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a>, |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a>, |
| <a href="SqlConformanceEnum.html#PRESTO"><code>SqlConformanceEnum.PRESTO</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_92"><code>SqlConformanceEnum.STRICT_92</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_99"><code>SqlConformanceEnum.STRICT_99</code></a>, |
| <a href="SqlConformanceEnum.html#STRICT_2003"><code>SqlConformanceEnum.STRICT_2003</code></a>; |
| true otherwise.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="semantics()">semantics</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="../fun/SqlLibrary.html" title="enum in org.apache.calcite.sql.fun">SqlLibrary</a></span> <span class="memberName">semantics</span>()</div> |
| <div class="block">Controls the behavior of operators that are part of Standard SQL but |
| nevertheless have different behavior in different databases. |
| |
| <p>Consider the <code>SUBSTRING</code> operator. In ISO standard SQL, negative |
| start indexes are converted to 1; in Google BigQuery, negative start |
| indexes are treated as offsets from the end of the string. For example, |
| <code>SUBSTRING('abcde' FROM -3 FOR 2)</code> returns <code>'ab'</code> in standard |
| SQL and 'cd' in BigQuery. |
| |
| <p>If you specify <code>conformance=BIG_QUERY</code> in your connection |
| parameters, <code>SUBSTRING</code> will give the BigQuery behavior. Similarly |
| MySQL and Oracle. |
| |
| <p>Among the built-in conformance levels: |
| <ul> |
| <li><a href="SqlConformanceEnum.html#BIG_QUERY"><code>SqlConformanceEnum.BIG_QUERY</code></a> returns |
| <a href="../fun/SqlLibrary.html#BIG_QUERY"><code>SqlLibrary.BIG_QUERY</code></a>; |
| <li><a href="SqlConformanceEnum.html#MYSQL_5"><code>SqlConformanceEnum.MYSQL_5</code></a> returns <a href="../fun/SqlLibrary.html#MYSQL"><code>SqlLibrary.MYSQL</code></a>; |
| <li><a href="SqlConformanceEnum.html#ORACLE_10"><code>SqlConformanceEnum.ORACLE_10</code></a> and |
| <a href="SqlConformanceEnum.html#ORACLE_12"><code>SqlConformanceEnum.ORACLE_12</code></a> return <a href="../fun/SqlLibrary.html#ORACLE"><code>SqlLibrary.ORACLE</code></a>; |
| <li>otherwise returns <a href="../fun/SqlLibrary.html#STANDARD"><code>SqlLibrary.STANDARD</code></a>. |
| </ul></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <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="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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </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>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2021 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |