| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SqlToRelConverter.Blackboard (Apache Calcite 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="SqlToRelConverter.Blackboard (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="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"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql2rel</a></div> |
| <h2 title="Class SqlToRelConverter.Blackboard" class="title">Class SqlToRelConverter.Blackboard</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code>, <code><a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></code>, <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Enclosing class:</dt> |
| <dd><a href="SqlToRelConverter.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter</a></dd> |
| </dl> |
| <hr> |
| <pre>protected class <span class="typeNameLabel">SqlToRelConverter.Blackboard</span> |
| extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a>, <a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>>, <a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></pre> |
| <div class="block">Workspace for translating an individual SELECT statement (or sub-SELECT).</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#root">root</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scope">scope</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Collection of <a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> objects which correspond to a SELECT |
| statement.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope,java.util.Map,boolean)">Blackboard</a></span>​(<a href="../sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nameToNodeMap, |
| boolean top)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a Blackboard.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></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> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertExpression(org.apache.calcite.sql.SqlNode)">convertExpression</a></span>​(<a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an expression from <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> to <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> format.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertInterval(org.apache.calcite.sql.SqlIntervalQualifier)">convertInterval</a></span>​(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a> intervalQualifier)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertLiteral(org.apache.calcite.sql.SqlLiteral)">convertLiteral</a></span>​(<a href="../sql/SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> literal)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a literal.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertSortExpression(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.RelFieldCollation.Direction,org.apache.calcite.rel.RelFieldCollation.NullDirection)">convertSortExpression</a></span>​(<a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr, |
| <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"> |
| <div class="block">Converts an item in an ORDER BY clause inside a window (OVER) clause, |
| extracting DESC, NULLS LAST and NULLS FIRST flags first.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatten(java.util.List,int,int%5B%5D,java.util.List)">flatten</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>> rels, |
| int systemFieldCount, |
| int[] start, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>,​<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>>> relOffsetList)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getColumnMonotonicities()">getColumnMonotonicities</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGroupCount()">getGroupCount</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">If the operator call occurs in an aggregate query, returns the number of |
| columns in the GROUP BY clause.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="InitializerExpressionFactory.html" title="interface in org.apache.calcite.sql2rel">InitializerExpressionFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInitializerExpressionFactory()">getInitializerExpressionFactory</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the factory which supplies default values for INSERT, UPDATE, and |
| NEW.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRexBuilder()">getRexBuilder</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the <a href="../rex/RexBuilder.html" title="class in org.apache.calcite.rex"><code>RexBuilder</code></a> to use to create <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> objects.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSubQueryExpr(org.apache.calcite.sql.SqlCall)">getSubQueryExpr</a></span>​(<a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the expression used to access a given IN or EXISTS |
| <a href="../sql/SqlSelect.html" title="class in org.apache.calcite.sql"><code>sub-query</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeFactory()">getTypeFactory</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the type factory.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../sql/validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValidator()">getValidator</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the validator.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#register(org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.JoinRelType)">register</a></span>​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rel, |
| <a href="../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#register(org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.JoinRelType,java.util.List)">register</a></span>​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rel, |
| <a href="../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> leftKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Registers a relational expression.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDataset(java.lang.String)">setDataset</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> datasetName)</code></th> |
| <td class="colLast"> |
| <div class="block">Notifies this Blackboard that the root just set using |
| <a href="#setRoot(org.apache.calcite.rel.RelNode,boolean)"><code>setRoot(RelNode, boolean)</code></a> was derived using dataset |
| substitution.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPatternVarRef(boolean)">setPatternVarRef</a></span>​(boolean isVarRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRoot(org.apache.calcite.rel.RelNode,boolean)">setRoot</a></span>​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> root, |
| boolean leaf)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a new root relational expression, as the translation process |
| backs its way further up the tree.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validateExpression(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlNode)">validateExpression</a></span>​(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType, |
| <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Validate the expression with a base table row type.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlCall)">visit</a></span>​(<a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a call to a <a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql"><code>SqlOperator</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlDataTypeSpec)">visit</a></span>​(<a href="../sql/SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a datatype specification.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlDynamicParam)">visit</a></span>​(<a href="../sql/SqlDynamicParam.html" title="class in org.apache.calcite.sql">SqlDynamicParam</a> param)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a dynamic parameter.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlIdentifier)">visit</a></span>​(<a href="../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> id)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits an identifier.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlIntervalQualifier)">visit</a></span>​(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a> intervalQualifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits an interval qualifier.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlLiteral)">visit</a></span>​(<a href="../sql/SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> literal)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a literal.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visit(org.apache.calcite.sql.SqlNodeList)">visit</a></span>​(<a href="../sql/SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> nodeList)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a list of <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> objects.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql2rel.InitializerContext"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.calcite.sql2rel.<a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></h3> |
| <code><a href="InitializerContext.html#parseExpression(org.apache.calcite.sql.parser.SqlParser.Config,java.lang.String)">parseExpression</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="scope"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scope</h4> |
| <pre>public final <a href="../sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope</pre> |
| <div class="block">Collection of <a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> objects which correspond to a SELECT |
| statement.</div> |
| </li> |
| </ul> |
| <a id="root"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>root</h4> |
| <pre>public <a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> root</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.apache.calcite.sql.validate.SqlValidatorScope,java.util.Map,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Blackboard</h4> |
| <pre>protected Blackboard​(<a href="../sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nameToNodeMap, |
| boolean top)</pre> |
| <div class="block">Creates a Blackboard.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>scope</code> - Name-resolution scope for expressions validated |
| within this query. Can be null if this Blackboard is |
| for a leaf node, say</dd> |
| <dd><code>nameToNodeMap</code> - Map which translates the expression to map a |
| given parameter into, if translating expressions; |
| null otherwise</dd> |
| <dd><code>top</code> - Whether this is the root of the query</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="setPatternVarRef(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPatternVarRef</h4> |
| <pre class="methodSignature">public void setPatternVarRef​(boolean isVarRef)</pre> |
| </li> |
| </ul> |
| <a id="register(org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.JoinRelType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> register​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rel, |
| <a href="../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType)</pre> |
| </li> |
| </ul> |
| <a id="register(org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.JoinRelType,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> register​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rel, |
| <a href="../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> leftKeys)</pre> |
| <div class="block">Registers a relational expression.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rel</code> - Relational expression</dd> |
| <dd><code>joinType</code> - Join type</dd> |
| <dd><code>leftKeys</code> - LHS of IN clause, or null for expressions |
| other than IN</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Expression with which to refer to the row (or partial row) |
| coming from this relational expression's side of the join</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRoot(org.apache.calcite.rel.RelNode,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRoot</h4> |
| <pre class="methodSignature">public void setRoot​(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> root, |
| boolean leaf)</pre> |
| <div class="block">Sets a new root relational expression, as the translation process |
| backs its way further up the tree.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>root</code> - New root relational expression</dd> |
| <dd><code>leaf</code> - Whether the relational expression is a leaf, that is, |
| derived from an atomic relational expression such as a table |
| name in the from clause, or the projection on top of a |
| select-sub-query. In particular, relational expressions |
| derived from JOIN operators are not leaves, but set |
| expressions are.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDataset(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDataset</h4> |
| <pre class="methodSignature">public void setDataset​(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> datasetName)</pre> |
| <div class="block">Notifies this Blackboard that the root just set using |
| <a href="#setRoot(org.apache.calcite.rel.RelNode,boolean)"><code>setRoot(RelNode, boolean)</code></a> was derived using dataset |
| substitution. |
| |
| <p>The default implementation is not interested in such |
| notifications, and does nothing.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>datasetName</code> - Dataset name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="flatten(java.util.List,int,int[],java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>flatten</h4> |
| <pre class="methodSignature">public void flatten​(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>> rels, |
| int systemFieldCount, |
| int[] start, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>,​<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>>> relOffsetList)</pre> |
| </li> |
| </ul> |
| <a id="convertExpression(org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertExpression</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> convertExpression​(<a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#convertExpression(org.apache.calcite.sql.SqlNode)">SqlRexContext</a></code></span></div> |
| <div class="block">Converts an expression from <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> to <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> format.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="InitializerContext.html#convertExpression(org.apache.calcite.sql.SqlNode)">convertExpression</a></code> in interface <code><a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#convertExpression(org.apache.calcite.sql.SqlNode)">convertExpression</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expr</code> - Expression to translate</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Converted expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertSortExpression(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.RelFieldCollation.Direction,org.apache.calcite.rel.RelFieldCollation.NullDirection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertSortExpression</h4> |
| <pre class="methodSignature">public <a href="../rex/RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a> convertSortExpression​(<a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr, |
| <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)</pre> |
| <div class="block">Converts an item in an ORDER BY clause inside a window (OVER) clause, |
| extracting DESC, NULLS LAST and NULLS FIRST flags first.</div> |
| </li> |
| </ul> |
| <a id="getGroupCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGroupCount</h4> |
| <pre class="methodSignature">public int getGroupCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getGroupCount()">SqlRexContext</a></code></span></div> |
| <div class="block">If the operator call occurs in an aggregate query, returns the number of |
| columns in the GROUP BY clause. For example, for "SELECT count(*) FROM emp |
| GROUP BY deptno, gender", returns 2. |
| If the operator call occurs in window aggregate query, then returns 1 if |
| the window is guaranteed to be non-empty, or 0 if the window might be |
| empty. |
| |
| <p>Returns 0 if the query is implicitly "GROUP BY ()" because of an |
| aggregate expression. For example, "SELECT sum(sal) FROM emp".</p> |
| |
| <p>Returns -1 if the query is not an aggregate query.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getGroupCount()">getGroupCount</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>0 if the query is implicitly GROUP BY (), -1 if the query is not |
| and aggregate query</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlOperatorBinding.html#getGroupCount()"><code>SqlOperatorBinding.getGroupCount()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRexBuilder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRexBuilder</h4> |
| <pre class="methodSignature">public <a href="../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> getRexBuilder()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getRexBuilder()">SqlRexContext</a></code></span></div> |
| <div class="block">Returns the <a href="../rex/RexBuilder.html" title="class in org.apache.calcite.rex"><code>RexBuilder</code></a> to use to create <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> objects.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="InitializerContext.html#getRexBuilder()">getRexBuilder</a></code> in interface <code><a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getRexBuilder()">getRexBuilder</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="validateExpression(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validateExpression</h4> |
| <pre class="methodSignature">public <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> validateExpression​(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType, |
| <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expr)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="InitializerContext.html#validateExpression(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlNode)">InitializerContext</a></code></span></div> |
| <div class="block">Validate the expression with a base table row type. The expression may reference the fields |
| of the row type defines.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="InitializerContext.html#validateExpression(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlNode)">validateExpression</a></code> in interface <code><a href="InitializerContext.html" title="interface in org.apache.calcite.sql2rel">InitializerContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowType</code> - the table row type</dd> |
| <dd><code>expr</code> - the expression</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a validated <code>SqlNode</code>, usually it transforms |
| from a <code>SqlUnresolvedFunction</code> to a resolved one</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSubQueryExpr(org.apache.calcite.sql.SqlCall)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSubQueryExpr</h4> |
| <pre class="methodSignature">public <a href="../rex/RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a> getSubQueryExpr​(<a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> call)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getSubQueryExpr(org.apache.calcite.sql.SqlCall)">SqlRexContext</a></code></span></div> |
| <div class="block">Returns the expression used to access a given IN or EXISTS |
| <a href="../sql/SqlSelect.html" title="class in org.apache.calcite.sql"><code>sub-query</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getSubQueryExpr(org.apache.calcite.sql.SqlCall)">getSubQueryExpr</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>call</code> - IN or EXISTS expression</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Expression used to access current row of sub-query</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTypeFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeFactory</h4> |
| <pre class="methodSignature">public <a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a> getTypeFactory()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getTypeFactory()">SqlRexContext</a></code></span></div> |
| <div class="block">Returns the type factory.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getTypeFactory()">getTypeFactory</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getInitializerExpressionFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInitializerExpressionFactory</h4> |
| <pre class="methodSignature">public <a href="InitializerExpressionFactory.html" title="interface in org.apache.calcite.sql2rel">InitializerExpressionFactory</a> getInitializerExpressionFactory()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getInitializerExpressionFactory()">SqlRexContext</a></code></span></div> |
| <div class="block">Returns the factory which supplies default values for INSERT, UPDATE, and |
| NEW.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getInitializerExpressionFactory()">getInitializerExpressionFactory</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getValidator()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValidator</h4> |
| <pre class="methodSignature">public <a href="../sql/validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> getValidator()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#getValidator()">SqlRexContext</a></code></span></div> |
| <div class="block">Returns the validator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#getValidator()">getValidator</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertLiteral(org.apache.calcite.sql.SqlLiteral)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertLiteral</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> convertLiteral​(<a href="../sql/SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> literal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="SqlRexContext.html#convertLiteral(org.apache.calcite.sql.SqlLiteral)">SqlRexContext</a></code></span></div> |
| <div class="block">Converts a literal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="SqlRexContext.html#convertLiteral(org.apache.calcite.sql.SqlLiteral)">convertLiteral</a></code> in interface <code><a href="SqlRexContext.html" title="interface in org.apache.calcite.sql2rel">SqlRexContext</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertInterval(org.apache.calcite.sql.SqlIntervalQualifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertInterval</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> convertInterval​(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a> intervalQualifier)</pre> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlLiteral)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> literal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlLiteral)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits a literal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlLiteral)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>literal</code> - Literal</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlLiteral.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlLiteral.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlCall)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> call)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlCall)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits a call to a <a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql"><code>SqlOperator</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlCall)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>call</code> - Call</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlCall.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlCall.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlNodeList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> nodeList)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlNodeList)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits a list of <a href="../sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> objects.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlNodeList)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>nodeList</code> - list of nodes</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlNodeList.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlNodeList.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> id)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlIdentifier)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits an identifier.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlIdentifier)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>id</code> - identifier</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlIdentifier.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlIdentifier.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlDataTypeSpec)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> type)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlDataTypeSpec)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits a datatype specification.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlDataTypeSpec)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - datatype specification</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlDataTypeSpec.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlDataTypeSpec.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlDynamicParam)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlDynamicParam.html" title="class in org.apache.calcite.sql">SqlDynamicParam</a> param)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlDynamicParam)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits a dynamic parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlDynamicParam)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>param</code> - Dynamic parameter</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlDynamicParam.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlDynamicParam.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visit(org.apache.calcite.sql.SqlIntervalQualifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visit</h4> |
| <pre class="methodSignature">public <a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visit​(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a> intervalQualifier)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlIntervalQualifier)">SqlVisitor</a></code></span></div> |
| <div class="block">Visits an interval qualifier.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../sql/util/SqlVisitor.html#visit(org.apache.calcite.sql.SqlIntervalQualifier)">visit</a></code> in interface <code><a href="../sql/util/SqlVisitor.html" title="interface in org.apache.calcite.sql.util">SqlVisitor</a><<a href="../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>intervalQualifier</code> - Interval qualifier</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../sql/SqlIntervalQualifier.html#accept(org.apache.calcite.sql.util.SqlVisitor)"><code>SqlIntervalQualifier.accept(SqlVisitor)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getColumnMonotonicities()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getColumnMonotonicities</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>> getColumnMonotonicities()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="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"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </body> |
| </html> |