| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class org.apache.calcite.sql.SqlSelect (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="Uses of Class org.apache.calcite.sql.SqlSelect (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><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |
| <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> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Class org.apache.calcite.sql.SqlSelect" class="title">Uses of Class<br>org.apache.calcite.sql.SqlSelect</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.rel2sql">org.apache.calcite.rel.rel2sql</a></th> |
| <td class="colLast"> |
| <div class="block">Translates a relational expression to SQL parse tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.sql">org.apache.calcite.sql</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a SQL parser and object model.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.sql.advise">org.apache.calcite.sql.advise</a></th> |
| <td class="colLast"> |
| <div class="block">Provides hints and corrections for editing SQL statements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.sql.validate">org.apache.calcite.sql.validate</a></th> |
| <td class="colLast"> |
| <div class="block">SQL validation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.sql2rel">org.apache.calcite.sql2rel</a></th> |
| <td class="colLast"> |
| <div class="block">Translates a SQL parse tree to relational expression.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.rel2sql"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> in <a href="../../rel/rel2sql/package-summary.html">org.apache.calcite.rel.rel2sql</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../../rel/rel2sql/package-summary.html">org.apache.calcite.rel.rel2sql</a> declared as <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlImplementor.Builder.</span><code><span class="memberNameLink"><a href="../../rel/rel2sql/SqlImplementor.Builder.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/rel2sql/package-summary.html">org.apache.calcite.rel.rel2sql</a> that return <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlImplementor.Result.</span><code><span class="memberNameLink"><a href="../../rel/rel2sql/SqlImplementor.Result.html#asSelect()">asSelect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a non-query node into a SELECT node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlImplementor.Result.</span><code><span class="memberNameLink"><a href="../../rel/rel2sql/SqlImplementor.Result.html#subSelect()">subSelect</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlImplementor.</span><code><span class="memberNameLink"><a href="../../rel/rel2sql/SqlImplementor.html#wrapSelect(org.apache.calcite.sql.SqlNode)">wrapSelect</a></span>​(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Wraps a node in a SELECT statement that has no clauses: |
| "SELECT ...</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../../rel/rel2sql/package-summary.html">org.apache.calcite.rel.rel2sql</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../rel/rel2sql/SqlImplementor.Builder.html#%3Cinit%3E(org.apache.calcite.rel.RelNode,java.util.List,org.apache.calcite.sql.SqlSelect,org.apache.calcite.rel.rel2sql.SqlImplementor.Context,java.util.Map)">Builder</a></span>​(<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rel, |
| java.util.List<<a href="../../rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>> clauses, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../../rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a> context, |
| java.util.Map<java.lang.String,​<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>> aliases)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.sql"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> in <a href="../package-summary.html">org.apache.calcite.sql</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.calcite.sql</a> declared as <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlDelete.</span><code><span class="memberNameLink"><a href="../SqlDelete.html#sourceSelect">sourceSelect</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlMerge.</span><code><span class="memberNameLink"><a href="../SqlMerge.html#sourceSelect">sourceSelect</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlUpdate.</span><code><span class="memberNameLink"><a href="../SqlUpdate.html#sourceSelect">sourceSelect</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.sql</a> that return <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlSelectOperator.</span><code><span class="memberNameLink"><a href="../SqlSelectOperator.html#createCall(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)">createCall</a></span>​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> keywordList, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> selectList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> fromClause, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> whereClause, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> groupBy, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> having, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> windowDecls, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderBy, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> offset, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> fetch, |
| <a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a call to the <code>SELECT</code> operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlDelete.</span><code><span class="memberNameLink"><a href="../SqlDelete.html#getSourceSelect()">getSourceSelect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the source SELECT expression for the data to be deleted.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlMerge.</span><code><span class="memberNameLink"><a href="../SqlMerge.html#getSourceSelect()">getSourceSelect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the source SELECT expression for the data to be updated/inserted.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlUpdate.</span><code><span class="memberNameLink"><a href="../SqlUpdate.html#getSourceSelect()">getSourceSelect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the source SELECT expression for the data to be updated.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.sql</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlUtil.</span><code><span class="memberNameLink"><a href="../SqlUtil.html#getFromNode(org.apache.calcite.sql.SqlSelect,int)">getFromNode</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> query, |
| int ordinal)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the <code>n</code>th (0-based) input to a join expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlInsert.</span><code><span class="memberNameLink"><a href="../SqlInsert.html#setSource(org.apache.calcite.sql.SqlSelect)">setSource</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> source)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlDelete.</span><code><span class="memberNameLink"><a href="../SqlDelete.html#setSourceSelect(org.apache.calcite.sql.SqlSelect)">setSourceSelect</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlMerge.</span><code><span class="memberNameLink"><a href="../SqlMerge.html#setSourceSelect(org.apache.calcite.sql.SqlSelect)">setSourceSelect</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlUpdate.</span><code><span class="memberNameLink"><a href="../SqlUpdate.html#setSourceSelect(org.apache.calcite.sql.SqlSelect)">setSourceSelect</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../package-summary.html">org.apache.calcite.sql</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../SqlDelete.html#%3Cinit%3E(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlIdentifier)">SqlDelete</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> targetTable, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> condition, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> alias)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../SqlMerge.html#%3Cinit%3E(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlUpdate,org.apache.calcite.sql.SqlInsert,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlIdentifier)">SqlMerge</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> targetTable, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> condition, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> source, |
| <a href="../SqlUpdate.html" title="class in org.apache.calcite.sql">SqlUpdate</a> updateCall, |
| <a href="../SqlInsert.html" title="class in org.apache.calcite.sql">SqlInsert</a> insertCall, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> alias)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../SqlUpdate.html#%3Cinit%3E(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlIdentifier)">SqlUpdate</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> targetTable, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> targetColumnList, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> sourceExpressionList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> condition, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> sourceSelect, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> alias)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.sql.advise"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> in <a href="../advise/package-summary.html">org.apache.calcite.sql.advise</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../advise/package-summary.html">org.apache.calcite.sql.advise</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlAdvisorValidator.</span><code><span class="memberNameLink"><a href="../advise/SqlAdvisorValidator.html#expandOrderExpr(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">expandOrderExpr</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> orderExpr)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlAdvisorValidator.</span><code><span class="memberNameLink"><a href="../advise/SqlAdvisorValidator.html#validateHavingClause(org.apache.calcite.sql.SqlSelect)">validateHavingClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Calls the parent class method and masks Farrago exception thrown.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlAdvisorValidator.</span><code><span class="memberNameLink"><a href="../advise/SqlAdvisorValidator.html#validateModality(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.validate.SqlModality,boolean)">validateModality</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../validate/SqlModality.html" title="enum in org.apache.calcite.sql.validate">SqlModality</a> modality, |
| boolean fail)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlAdvisorValidator.</span><code><span class="memberNameLink"><a href="../advise/SqlAdvisorValidator.html#validateWhereClause(org.apache.calcite.sql.SqlSelect)">validateWhereClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Calls the parent class method and masks Farrago exception thrown.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.sql.validate"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a> declared as <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregatingSelectScope.</span><code><span class="memberNameLink"><a href="../validate/AggregatingSelectScope.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">GroupByScope.</span><code><span class="memberNameLink"><a href="../validate/GroupByScope.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">OrderByScope.</span><code><span class="memberNameLink"><a href="../validate/OrderByScope.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SelectNamespace.</span><code><span class="memberNameLink"><a href="../validate/SelectNamespace.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SelectScope.</span><code><span class="memberNameLink"><a href="../validate/SelectScope.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.ExtendedExpander.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.ExtendedExpander.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.OrderExpressionExpander.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.OrderExpressionExpander.html#select">select</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a> with type parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.Integer,​<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.FunctionParamInfo.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.FunctionParamInfo.html#cursorPosToSelectMap">cursorPosToSelectMap</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a cursor (based on its position relative to other cursor |
| parameters within a function call) to the SELECT associated with the |
| cursor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>,​<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#cursorScopes">cursorScopes</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a <a href="../SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> node that is the argument to a CURSOR |
| constructor to the scope of the result of that select node</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>,​<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#groupByScopes">groupByScopes</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a <a href="../SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> node to the scope used by its GROUP BY clause.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>,​<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#orderScopes">orderScopes</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a <a href="../SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> node to the scope used by its ORDER BY clause.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>,​<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#selectScopes">selectScopes</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a <a href="../SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> node to the scope used by its SELECT and HAVING |
| clauses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a>,​<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#whereScopes">whereScopes</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps a <a href="../SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> node to the scope used by its WHERE and HAVING |
| clauses.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a> that return <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#createSourceSelectForDelete(org.apache.calcite.sql.SqlDelete)">createSourceSelectForDelete</a></span>​(<a href="../SqlDelete.html" title="class in org.apache.calcite.sql">SqlDelete</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates the SELECT statement that putatively feeds rows into a DELETE |
| statement to be deleted.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#createSourceSelectForUpdate(org.apache.calcite.sql.SqlUpdate)">createSourceSelectForUpdate</a></span>​(<a href="../SqlUpdate.html" title="class in org.apache.calcite.sql">SqlUpdate</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates the SELECT statement that putatively feeds rows into an UPDATE |
| statement to be updated.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getInnerSelect(org.apache.calcite.sql.SqlNode)">getInnerSelect</a></span>​(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SelectNamespace.</span><code><span class="memberNameLink"><a href="../validate/SelectNamespace.html#getNode()">getNode</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SelectScope.</span><code><span class="memberNameLink"><a href="../validate/SelectScope.html#getNode()">getNode</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#checkRollUpInGroupBy(org.apache.calcite.sql.SqlSelect)">checkRollUpInGroupBy</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#checkRollUpInOrderBy(org.apache.calcite.sql.SqlSelect)">checkRollUpInOrderBy</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#checkRollUpInSelectList(org.apache.calcite.sql.SqlSelect)">checkRollUpInSelectList</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#checkRollUpInWindowDecl(org.apache.calcite.sql.SqlSelect)">checkRollUpInWindowDecl</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../validate/SelectNamespace.html" title="class in org.apache.calcite.sql.validate">SelectNamespace</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#createSelectNamespace(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">createSelectNamespace</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> enclosingNode)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a namespace for a <code>SELECT</code> node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#declareCursor(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.validate.SqlValidatorScope)">declareCursor</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope)</code></th> |
| <td class="colLast"> |
| <div class="block">Declares a SELECT expression as a cursor.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#declareCursor(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.validate.SqlValidatorScope)">declareCursor</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> parentScope)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#expandGroupByOrHavingExpr(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlSelect,boolean)">expandGroupByOrHavingExpr</a></span>​(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr, |
| <a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| boolean havingExpression)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#expandOrderExpr(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">expandOrderExpr</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> orderExpr)</code></th> |
| <td class="colLast"> |
| <div class="block">Expands an expression in the ORDER BY clause into an expression with the |
| same semantics as expressions in the SELECT clause.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#expandOrderExpr(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">expandOrderExpr</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> orderExpr)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#expandSelectItem(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlSelect,org.apache.calcite.rel.type.RelDataType,java.util.List,java.util.Set,java.util.List,boolean)">expandSelectItem</a></span>​(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> selectItem, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetType, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> selectItems, |
| java.util.Set<java.lang.String> aliases, |
| java.util.List<java.util.Map.Entry<java.lang.String,​<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>>> fields, |
| boolean includeSystemVars)</code></th> |
| <td class="colLast"> |
| <div class="block">If <code>selectItem</code> is "*" or "TABLE.*", expands it and returns |
| true; otherwise writes the unexpanded item.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#expandStar(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlSelect,boolean)">expandStar</a></span>​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> selectList, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> query, |
| boolean includeSystemVars)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of expressions, with every occurrence of "*" or |
| "TABLE.*" expanded.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#expandStar(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlSelect,boolean)">expandStar</a></span>​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> selectList, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| boolean includeSystemVars)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getAgg(org.apache.calcite.sql.SqlSelect)">getAgg</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">If there is at least one call to an aggregate function, returns the |
| first.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getAggregate(org.apache.calcite.sql.SqlSelect)">getAggregate</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the parse tree node (GROUP BY, HAVING, or an aggregate function |
| call) that causes <code>select</code> to be an aggregate query, or null if it |
| is not an aggregate query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getCursorScope(org.apache.calcite.sql.SqlSelect)">getCursorScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getFromScope(org.apache.calcite.sql.SqlSelect)">getFromScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a scope containing the objects visible from the FROM clause of a |
| query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getFromScope(org.apache.calcite.sql.SqlSelect)">getFromScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getGroupScope(org.apache.calcite.sql.SqlSelect)">getGroupScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a scope containing the objects visible from the GROUP BY clause |
| of a query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getGroupScope(org.apache.calcite.sql.SqlSelect)">getGroupScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getHavingScope(org.apache.calcite.sql.SqlSelect)">getHavingScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a scope containing the objects visible from the HAVING clause of |
| a query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getHavingScope(org.apache.calcite.sql.SqlSelect)">getHavingScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getOrderScope(org.apache.calcite.sql.SqlSelect)">getOrderScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the scope that expressions in the SELECT and HAVING clause of |
| this query should use.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getOrderScope(org.apache.calcite.sql.SqlSelect)">getOrderScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SelectScope.html" title="class in org.apache.calcite.sql.validate">SelectScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getRawSelectScope(org.apache.calcite.sql.SqlSelect)">getRawSelectScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the scope for resolving the SELECT, GROUP BY and HAVING clauses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SelectScope.html" title="class in org.apache.calcite.sql.validate">SelectScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getRawSelectScope(org.apache.calcite.sql.SqlSelect)">getRawSelectScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getSelectScope(org.apache.calcite.sql.SqlSelect)">getSelectScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the appropriate scope for validating a particular clause of a |
| SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getSelectScope(org.apache.calcite.sql.SqlSelect)">getSelectScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#getWhereScope(org.apache.calcite.sql.SqlSelect)">getWhereScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the scope that expressions in the WHERE and GROUP BY clause of |
| this query should use.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#getWhereScope(org.apache.calcite.sql.SqlSelect)">getWhereScope</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#handleScalarSubQuery(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlSelect,java.util.List,java.util.Set,java.util.List)">handleScalarSubQuery</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> parentSelect, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> selectItem, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> expandedSelectItems, |
| java.util.Set<java.lang.String> aliasList, |
| java.util.List<java.util.Map.Entry<java.lang.String,​<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>>> fieldList)</code></th> |
| <td class="colLast"> |
| <div class="block">Processes SubQuery found in Select list.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#isAggregate(org.apache.calcite.sql.SqlSelect)">isAggregate</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a SELECT statement is an aggregation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#isAggregate(org.apache.calcite.sql.SqlSelect)">isAggregate</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#lookupSelectHints(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.parser.SqlParserPos,java.util.Collection)">lookupSelectHints</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| java.util.Collection<<a href="../validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>> hintList)</code></th> |
| <td class="colLast"> |
| <div class="block">Looks up completion hints for a syntactically correct select SQL that has |
| been parsed into an expression tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateGroupByItem(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">validateGroupByItem</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> groupByItem)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates an item in the GROUP BY clause of a SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateGroupClause(org.apache.calcite.sql.SqlSelect)">validateGroupClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates the GROUP BY clause of a SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateHavingClause(org.apache.calcite.sql.SqlSelect)">validateHavingClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidator.</span><code><span class="memberNameLink"><a href="../validate/SqlValidator.html#validateModality(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.validate.SqlModality,boolean)">validateModality</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../validate/SqlModality.html" title="enum in org.apache.calcite.sql.validate">SqlModality</a> modality, |
| boolean fail)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates that a query is capable of producing a return of given modality |
| (relational or streaming).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateModality(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.validate.SqlModality,boolean)">validateModality</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../validate/SqlModality.html" title="enum in org.apache.calcite.sql.validate">SqlModality</a> modality, |
| boolean fail)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateOrderItem(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">validateOrderItem</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> orderItem)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates an item in the ORDER BY clause of a SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateOrderList(org.apache.calcite.sql.SqlSelect)">validateOrderList</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates the ORDER BY clause of a SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateSelect(org.apache.calcite.sql.SqlSelect,org.apache.calcite.rel.type.RelDataType)">validateSelect</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetRowType)</code></th> |
| <td class="colLast"> |
| <div class="block">Validates a SELECT statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateSelectList(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlSelect,org.apache.calcite.rel.type.RelDataType)">validateSelectList</a></span>​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> selectItems, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetRowType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateWhereClause(org.apache.calcite.sql.SqlSelect)">validateWhereClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlValidatorImpl.</span><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.html#validateWindowClause(org.apache.calcite.sql.SqlSelect)">validateWindowClause</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../validate/package-summary.html">org.apache.calcite.sql.validate</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/AggregatingSelectScope.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlSelect,boolean)">AggregatingSelectScope</a></span>​(<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> selectScope, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| boolean distinct)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an AggregatingSelectScope</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.ExtendedExpander.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorImpl,org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode,boolean)">ExtendedExpander</a></span>​(<a href="../validate/SqlValidatorImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorImpl</a> validator, |
| <a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> root, |
| boolean havingExpr)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/GroupByScope.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlSelect)">GroupByScope</a></span>​(<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> parent, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> groupByList, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/OrderByScope.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlSelect)">OrderByScope</a></span>​(<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> parent, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/SqlValidatorImpl.OrderExpressionExpander.html#%3Cinit%3E(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">OrderExpressionExpander</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> root)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/SelectNamespace.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorImpl,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode)">SelectNamespace</a></span>​(<a href="../validate/SqlValidatorImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorImpl</a> validator, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> enclosingNode)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a SelectNamespace.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../validate/SelectScope.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.SqlSelect)">SelectScope</a></span>​(<a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> parent, |
| <a href="../validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> winParent, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a scope corresponding to a SELECT clause.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.sql2rel"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertAgg(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect,java.util.List)">convertAgg</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> orderExprList)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the SELECT, GROUP BY and HAVING clauses of an aggregate query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertOrder(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.rel.RelCollation,java.util.List,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode)">convertOrder</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a> collation, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> orderExprList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> offset, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> fetch)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a query's ORDER BY clause, if any.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelFieldCollation.html" title="class in org.apache.calcite.rel">RelFieldCollation</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertOrderItem(org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNode,java.util.List,org.apache.calcite.rel.RelFieldCollation.Direction,org.apache.calcite.rel.RelFieldCollation.NullDirection)">convertOrderItem</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> orderItem, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> extraExprs, |
| <a href="../../rel/RelFieldCollation.Direction.html" title="enum in org.apache.calcite.rel">RelFieldCollation.Direction</a> direction, |
| <a href="../../rel/RelFieldCollation.NullDirection.html" title="enum in org.apache.calcite.rel">RelFieldCollation.NullDirection</a> nullDirection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertSelect(org.apache.calcite.sql.SqlSelect,boolean)">convertSelect</a></span>​(<a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| boolean top)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a SELECT statement's parse tree into a relational expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertSelectImpl(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect)">convertSelectImpl</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="../../sql2rel/SqlToRelConverter.html#convertSelect(org.apache.calcite.sql.SqlSelect,boolean)"><code>SqlToRelConverter.convertSelect(SqlSelect, boolean)</code></a>; |
| derived class may override.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#convertSelectList(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect,java.util.List)">convertSelectList</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> orderList)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#extraSelectItems(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect,java.util.List,java.util.List,java.util.Collection,java.util.List)">extraSelectItems</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprList, |
| java.util.List<java.lang.String> nameList, |
| java.util.Collection<java.lang.String> aliasList, |
| java.util.List<<a href="../validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>> columnMonotonicityList)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds extra select items.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#gatherOrderExprs(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect,org.apache.calcite.sql.SqlNodeList,java.util.List,java.util.List)">gatherOrderExprs</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| java.util.List<<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>> extraOrderExprs, |
| java.util.List<<a href="../../rel/RelFieldCollation.html" title="class in org.apache.calcite.rel">RelFieldCollation</a>> collationList)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a list of collations required to implement the ORDER BY clause, |
| if there is one.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a> with parameters of type <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.AggConverter.html#%3Cinit%3E(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard,org.apache.calcite.sql.SqlSelect)">AggConverter</a></span>​(<a href="../../sql2rel/SqlToRelConverter.Blackboard.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.Blackboard</a> bb, |
| <a href="../SqlSelect.html" title="class in org.apache.calcite.sql">SqlSelect</a> select)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an AggConverter.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </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><a href="../SqlSelect.html" title="class in org.apache.calcite.sql">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |
| <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> |