| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>SqlWindow (Apache Calcite API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.calcite.sql, class: SqlWindow"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><b>Apache Calcite</b></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <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="sub-nav-list"> |
| <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> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.calcite.sql</a></div> |
| <h1 title="Class SqlWindow" class="title">Class SqlWindow</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="SqlNode.html" title="class in org.apache.calcite.sql">org.apache.calcite.sql.SqlNode</a> |
| <div class="inheritance"><a href="SqlCall.html" title="class in org.apache.calcite.sql">org.apache.calcite.sql.SqlCall</a> |
| <div class="inheritance">org.apache.calcite.sql.SqlWindow</div> |
| </div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">SqlWindow</span> |
| <span class="extends-implements">extends <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></span></div> |
| <div class="block">SQL window specification. |
| |
| <p>For example, the query</p> |
| |
| <blockquote> |
| <pre>SELECT sum(a) OVER (w ROWS 3 PRECEDING) |
| FROM t |
| WINDOW w AS (PARTITION BY x, y ORDER BY z), |
| w1 AS (w ROWS 5 PRECEDING UNBOUNDED FOLLOWING)</pre> |
| </blockquote> |
| |
| <p>declares windows w and w1, and uses a window in an OVER clause. It thus |
| contains 3 <a href="SqlWindow.html" title="class in org.apache.calcite.sql"><code>SqlWindow</code></a> objects.</p></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static final <a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FOLLOWING_OPERATOR" class="member-name-link">FOLLOWING_OPERATOR</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">The FOLLOWING operator used exclusively in a window specification.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PRECEDING_OPERATOR" class="member-name-link">PRECEDING_OPERATOR</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The PRECEDING operator used exclusively in a window specification.</div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.calcite.sql.SqlNode">Fields inherited from class org.apache.calcite.sql.<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></h3> |
| <code><a href="SqlNode.html#EMPTY_ARRAY">EMPTY_ARRAY</a>, <a href="SqlNode.html#pos">pos</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlLiteral)" class="member-name-link">SqlWindow</a><wbr>(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> refName, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound, |
| @Nullable <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> allowPartial)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a window.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">create</a><wbr>(@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> refName, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound, |
| @Nullable <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> allowPartial, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createBound(org.apache.calcite.sql.SqlLiteral)" class="member-name-link">createBound</a><wbr>(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> range)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createCurrentRow(org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">createCurrentRow</a><wbr>(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createCurrentRowWindow(java.lang.String)" class="member-name-link">createCurrentRowWindow</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> columnName)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a window <code>(RANGE <i>columnName</i> CURRENT ROW)</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createFollowing(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">createFollowing</a><wbr>(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> e, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createPreceding(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">createPreceding</a><wbr>(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> e, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createUnboundedFollowing(org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">createUnboundedFollowing</a><wbr>(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createUnboundedPreceding(org.apache.calcite.sql.parser.SqlParserPos)" class="member-name-link">createUnboundedPreceding</a><wbr>(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createUnboundedPrecedingWindow(java.lang.String)" class="member-name-link">createUnboundedPrecedingWindow</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> columnName)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a window <code>(RANGE <i>columnName</i> UNBOUNDED |
| PRECEDING)</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)" class="member-name-link">equalsDeep</a><wbr>(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node, |
| <a href="../util/Litmus.html" title="interface in org.apache.calcite.util">Litmus</a> litmus)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Overridden method to specifically check only the right subtree of a window |
| definition.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDeclName()" class="member-name-link">getDeclName</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getKind()" class="member-name-link">getKind</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the type of node this is, or |
| <a href="SqlKind.html#OTHER"><code>SqlKind.OTHER</code></a> if it's nothing special.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLowerBound()" class="member-name-link">getLowerBound</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOperandList()" class="member-name-link">getOperandList</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the list of operands.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOperator()" class="member-name-link">getOperator</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOrderList()" class="member-name-link">getOrderList</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPartitionList()" class="member-name-link">getPartitionList</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRefName()" class="member-name-link">getRefName</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getUpperBound()" class="member-name-link">getUpperBound</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@Nullable <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getWindowCall()" class="member-name-link">getWindowCall</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isAllowPartial()" class="member-name-link">isAllowPartial</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns whether partial windows are allowed.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isAlwaysNonEmpty()" class="member-name-link">isAlwaysNonEmpty</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns if the window is guaranteed to have rows.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isAlwaysNonEmpty(org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound)" class="member-name-link">isAlwaysNonEmpty</a><wbr>(<a href="../rex/RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a> lower, |
| <a href="../rex/RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a> upper)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isCurrentRow(org.apache.calcite.sql.SqlNode)" class="member-name-link">isCurrentRow</a><wbr>(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns whether an expression represents the "CURRENT ROW" bound.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRows()" class="member-name-link">isRows</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isUnboundedFollowing(org.apache.calcite.sql.SqlNode)" class="member-name-link">isUnboundedFollowing</a><wbr>(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns whether an expression represents the "UNBOUNDED FOLLOWING" bound.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isUnboundedPreceding(org.apache.calcite.sql.SqlNode)" class="member-name-link">isUnboundedPreceding</a><wbr>(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Returns whether an expression represents the "UNBOUNDED PRECEDING" bound.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#overlay(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)" class="member-name-link">overlay</a><wbr>(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a> that, |
| <a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a new window by combining this one with another.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#populateBounds()" class="member-name-link">populateBounds</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"> |
| <div class="block"><span class="deprecated-label">Deprecated.</span></div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDeclName(org.apache.calcite.sql.SqlIdentifier)" class="member-name-link">setDeclName</a><wbr>(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLowerBound(org.apache.calcite.sql.SqlNode)" class="member-name-link">setLowerBound</a><wbr>(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOperand(int,org.apache.calcite.sql.SqlNode)" class="member-name-link">setOperand</a><wbr>(int i, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> operand)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Changes the value of an operand.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOrderList(org.apache.calcite.sql.SqlNodeList)" class="member-name-link">setOrderList</a><wbr>(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPartitionList(org.apache.calcite.sql.SqlNodeList)" class="member-name-link">setPartitionList</a><wbr>(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRows(org.apache.calcite.sql.SqlLiteral)" class="member-name-link">setRows</a><wbr>(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUpperBound(org.apache.calcite.sql.SqlNode)" class="member-name-link">setUpperBound</a><wbr>(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setWindowCall(org.apache.calcite.sql.SqlCall)" class="member-name-link">setWindowCall</a><wbr>(@Nullable <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> windowCall)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#unparse(org.apache.calcite.sql.SqlWriter,int,int)" class="member-name-link">unparse</a><wbr>(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Writes a SQL representation of this node to a writer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)" class="member-name-link">validate</a><wbr>(<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator, |
| <a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates this call.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.calcite.sql.SqlCall">Methods inherited from class org.apache.calcite.sql.<a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></h3> |
| <code><a href="SqlCall.html#accept(org.apache.calcite.sql.util.SqlVisitor)">accept</a>, <a href="SqlCall.html#clone(org.apache.calcite.sql.parser.SqlParserPos)">clone</a>, <a href="SqlCall.html#findValidOptions(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.parser.SqlParserPos,java.util.Collection)">findValidOptions</a>, <a href="SqlCall.html#getCallSignature(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">getCallSignature</a>, <a href="SqlCall.html#getFunctionQuantifier()">getFunctionQuantifier</a>, <a href="SqlCall.html#getMonotonicity(org.apache.calcite.sql.validate.SqlValidatorScope)">getMonotonicity</a>, <a href="SqlCall.html#isCountStar()">isCountStar</a>, <a href="SqlCall.html#isExpanded()">isExpanded</a>, <a href="SqlCall.html#operand(int)">operand</a>, <a href="SqlCall.html#operandCount()">operandCount</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.calcite.sql.SqlNode">Methods inherited from class org.apache.calcite.sql.<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></h3> |
| <code><a href="SqlNode.html#clone()">clone</a>, <a href="SqlNode.html#clone(E)">clone</a>, <a href="SqlNode.html#cloneArray(org.apache.calcite.sql.SqlNode%5B%5D)">cloneArray</a>, <a href="SqlNode.html#equalDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)">equalDeep</a>, <a href="SqlNode.html#equalDeep(java.util.List,java.util.List,org.apache.calcite.util.Litmus)">equalDeep</a>, <a href="SqlNode.html#equalsDeep(org.apache.calcite.sql.SqlNode,boolean)">equalsDeep</a>, <a href="SqlNode.html#getParserPosition()">getParserPosition</a>, <a href="SqlNode.html#isA(java.util.Set)">isA</a>, <a href="SqlNode.html#toList()">toList</a>, <a href="SqlNode.html#toList(org.apache.calcite.sql.parser.SqlParserPos)">toList</a>, <a href="SqlNode.html#toSqlString(org.apache.calcite.sql.SqlDialect)">toSqlString</a>, <a href="SqlNode.html#toSqlString(org.apache.calcite.sql.SqlDialect,boolean)">toSqlString</a>, <a href="SqlNode.html#toSqlString(java.util.function.UnaryOperator)">toSqlString</a>, <a href="SqlNode.html#toString()">toString</a>, <a href="SqlNode.html#unparseWithParentheses(org.apache.calcite.sql.SqlWriter,int,int,boolean)">unparseWithParentheses</a>, <a href="SqlNode.html#validateExpr(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validateExpr</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="FOLLOWING_OPERATOR"> |
| <h3>FOLLOWING_OPERATOR</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></span> <span class="element-name">FOLLOWING_OPERATOR</span></div> |
| <div class="block">The FOLLOWING operator used exclusively in a window specification.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PRECEDING_OPERATOR"> |
| <h3>PRECEDING_OPERATOR</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></span> <span class="element-name">PRECEDING_OPERATOR</span></div> |
| <div class="block">The PRECEDING operator used exclusively in a window specification.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlLiteral)"> |
| <h3>SqlWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">SqlWindow</span><wbr><span class="parameters">(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> refName, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound, |
| @Nullable <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> allowPartial)</span></div> |
| <div class="block">Creates a window.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="create(org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlLiteral,org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></span> <span class="element-name">create</span><wbr><span class="parameters">(@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName, |
| @Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> refName, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList, |
| <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList, |
| <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound, |
| @Nullable <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> allowPartial, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getOperator()"> |
| <h3>getOperator</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a></span> <span class="element-name">getOperator</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SqlCall.html#getOperator()">getOperator</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getKind()"> |
| <h3>getKind</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a></span> <span class="element-name">getKind</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SqlNode.html#getKind()">SqlNode</a></code></span></div> |
| <div class="block">Returns the type of node this is, or |
| <a href="SqlKind.html#OTHER"><code>SqlKind.OTHER</code></a> if it's nothing special.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="SqlCall.html#getKind()">getKind</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>a <a href="SqlKind.html" title="enum in org.apache.calcite.sql"><code>SqlKind</code></a> value, never null</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="SqlNode.html#isA(java.util.Set)"><code>SqlNode.isA(java.util.Set<org.apache.calcite.sql.SqlKind>)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getOperandList()"> |
| <h3>getOperandList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>></span> <span class="element-name">getOperandList</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SqlCall.html#getOperandList()">SqlCall</a></code></span></div> |
| <div class="block">Returns the list of operands. The set and order of operands is call-specific. |
| <p>Note: the proper type would be <code>List<@Nullable SqlNode></code>, however, |
| it would trigger too many changes to the current codebase.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SqlCall.html#getOperandList()">getOperandList</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>the list of call operands, never null, the operands can be null</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setOperand(int,org.apache.calcite.sql.SqlNode)"> |
| <h3>setOperand</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setOperand</span><wbr><span class="parameters">(int i, |
| @Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> operand)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SqlCall.html#setOperand(int,org.apache.calcite.sql.SqlNode)">SqlCall</a></code></span></div> |
| <div class="block">Changes the value of an operand. Allows some rewrite by |
| <a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate"><code>SqlValidator</code></a>; use sparingly.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="SqlCall.html#setOperand(int,org.apache.calcite.sql.SqlNode)">setOperand</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>i</code> - Operand index</dd> |
| <dd><code>operand</code> - Operand value</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="unparse(org.apache.calcite.sql.SqlWriter,int,int)"> |
| <h3>unparse</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">unparse</span><wbr><span class="parameters">(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SqlNode.html#unparse(org.apache.calcite.sql.SqlWriter,int,int)">SqlNode</a></code></span></div> |
| <div class="block">Writes a SQL representation of this node to a writer. |
| |
| <p>The <code>leftPrec</code> and <code>rightPrec</code> parameters give |
| us enough context to decide whether we need to enclose the expression in |
| parentheses. For example, we need parentheses around "2 + 3" if preceded |
| by "5 *". This is because the precedence of the "*" operator is greater |
| than the precedence of the "+" operator. |
| |
| <p>The algorithm handles left- and right-associative operators by giving |
| them slightly different left- and right-precedence. |
| |
| <p>If <a href="SqlWriter.html#isAlwaysUseParentheses()"><code>SqlWriter.isAlwaysUseParentheses()</code></a> is true, we use |
| parentheses even when they are not required by the precedence rules. |
| |
| <p>For the details of this algorithm, see <a href="SqlCall.html#unparse(org.apache.calcite.sql.SqlWriter,int,int)"><code>SqlCall.unparse(org.apache.calcite.sql.SqlWriter, int, int)</code></a>.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="SqlCall.html#unparse(org.apache.calcite.sql.SqlWriter,int,int)">unparse</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>writer</code> - Target writer</dd> |
| <dd><code>leftPrec</code> - The precedence of the <a href="SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> immediately |
| preceding this node in a depth-first scan of the parse |
| tree</dd> |
| <dd><code>rightPrec</code> - The precedence of the <a href="SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> immediately</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDeclName()"> |
| <h3>getDeclName</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></span> <span class="element-name">getDeclName</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setDeclName(org.apache.calcite.sql.SqlIdentifier)"> |
| <h3>setDeclName</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setDeclName</span><wbr><span class="parameters">(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLowerBound()"> |
| <h3>getLowerBound</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">getLowerBound</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setLowerBound(org.apache.calcite.sql.SqlNode)"> |
| <h3>setLowerBound</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setLowerBound</span><wbr><span class="parameters">(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getUpperBound()"> |
| <h3>getUpperBound</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">getUpperBound</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setUpperBound(org.apache.calcite.sql.SqlNode)"> |
| <h3>setUpperBound</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setUpperBound</span><wbr><span class="parameters">(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isAlwaysNonEmpty()"> |
| <h3>isAlwaysNonEmpty</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isAlwaysNonEmpty</span>()</div> |
| <div class="block">Returns if the window is guaranteed to have rows. |
| This is useful to refine data type of window aggregates. |
| For instance sum(non-nullable) over (empty window) is NULL.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>true when the window is non-empty</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../rel/core/Window.Group.html#isAlwaysNonEmpty()"><code>Window.Group.isAlwaysNonEmpty()</code></a></li> |
| <li><a href="SqlOperatorBinding.html#getGroupCount()"><code>SqlOperatorBinding.getGroupCount()</code></a></li> |
| <li><a href="validate/SqlValidatorImpl.html#resolveWindow(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlValidatorScope)"><code>SqlValidatorImpl.resolveWindow(SqlNode, SqlValidatorScope)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isAlwaysNonEmpty(org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound)"> |
| <h3>isAlwaysNonEmpty</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">boolean</span> <span class="element-name">isAlwaysNonEmpty</span><wbr><span class="parameters">(<a href="../rex/RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a> lower, |
| <a href="../rex/RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a> upper)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setRows(org.apache.calcite.sql.SqlLiteral)"> |
| <h3>setRows</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setRows</span><wbr><span class="parameters">(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRows()"> |
| <h3>isRows</h3> |
| <div class="member-signature"><span class="annotations">@Pure |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isRows</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getOrderList()"> |
| <h3>getOrderList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></span> <span class="element-name">getOrderList</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setOrderList(org.apache.calcite.sql.SqlNodeList)"> |
| <h3>setOrderList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setOrderList</span><wbr><span class="parameters">(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPartitionList()"> |
| <h3>getPartitionList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></span> <span class="element-name">getPartitionList</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setPartitionList(org.apache.calcite.sql.SqlNodeList)"> |
| <h3>setPartitionList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setPartitionList</span><wbr><span class="parameters">(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRefName()"> |
| <h3>getRefName</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">@Nullable <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></span> <span class="element-name">getRefName</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setWindowCall(org.apache.calcite.sql.SqlCall)"> |
| <h3>setWindowCall</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setWindowCall</span><wbr><span class="parameters">(@Nullable <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> windowCall)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getWindowCall()"> |
| <h3>getWindowCall</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">@Nullable <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></span> <span class="element-name">getWindowCall</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createCurrentRow(org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>createCurrentRow</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createCurrentRow</span><wbr><span class="parameters">(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createUnboundedFollowing(org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>createUnboundedFollowing</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createUnboundedFollowing</span><wbr><span class="parameters">(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createUnboundedPreceding(org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>createUnboundedPreceding</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createUnboundedPreceding</span><wbr><span class="parameters">(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createFollowing(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>createFollowing</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createFollowing</span><wbr><span class="parameters">(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> e, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createPreceding(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)"> |
| <h3>createPreceding</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createPreceding</span><wbr><span class="parameters">(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> e, |
| <a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createBound(org.apache.calcite.sql.SqlLiteral)"> |
| <h3>createBound</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></span> <span class="element-name">createBound</span><wbr><span class="parameters">(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> range)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isCurrentRow(org.apache.calcite.sql.SqlNode)"> |
| <h3>isCurrentRow</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">boolean</span> <span class="element-name">isCurrentRow</span><wbr><span class="parameters">(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</span></div> |
| <div class="block">Returns whether an expression represents the "CURRENT ROW" bound.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isUnboundedPreceding(org.apache.calcite.sql.SqlNode)"> |
| <h3>isUnboundedPreceding</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">boolean</span> <span class="element-name">isUnboundedPreceding</span><wbr><span class="parameters">(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</span></div> |
| <div class="block">Returns whether an expression represents the "UNBOUNDED PRECEDING" bound.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isUnboundedFollowing(org.apache.calcite.sql.SqlNode)"> |
| <h3>isUnboundedFollowing</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">boolean</span> <span class="element-name">isUnboundedFollowing</span><wbr><span class="parameters">(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node)</span></div> |
| <div class="block">Returns whether an expression represents the "UNBOUNDED FOLLOWING" bound.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="overlay(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)"> |
| <h3>overlay</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></span> <span class="element-name">overlay</span><wbr><span class="parameters">(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a> that, |
| <a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator)</span></div> |
| <div class="block">Creates a new window by combining this one with another. |
| |
| <p>For example, |
| |
| <blockquote><pre>WINDOW (w PARTITION BY x ORDER BY y) |
| overlay |
| WINDOW w AS (PARTITION BY z)</pre></blockquote> |
| |
| <p>yields |
| |
| <blockquote><pre>WINDOW (PARTITION BY z ORDER BY y)</pre></blockquote> |
| |
| <p>Does not alter this or the other window.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>A new window</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)"> |
| <h3>equalsDeep</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">equalsDeep</span><wbr><span class="parameters">(@Nullable <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> node, |
| <a href="../util/Litmus.html" title="interface in org.apache.calcite.util">Litmus</a> litmus)</span></div> |
| <div class="block">Overridden method to specifically check only the right subtree of a window |
| definition.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="SqlCall.html#equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)">equalsDeep</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>node</code> - The SqlWindow to compare to "this" window</dd> |
| <dd><code>litmus</code> - What to do if an error is detected (nodes are not equal)</dd> |
| <dt>Returns:</dt> |
| <dd>boolean true if all nodes in the subtree are equal</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isAllowPartial()"> |
| <h3>isAllowPartial</h3> |
| <div class="member-signature"><span class="annotations">@EnsuresNonNullIf(expression="allowPartial", |
| result=false) |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isAllowPartial</span>()</div> |
| <div class="block">Returns whether partial windows are allowed. If false, a partial window |
| (for example, a window of size 1 hour which has only 45 minutes of data |
| in it) will appear to windowed aggregate functions to be empty.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)"> |
| <h3>validate</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">validate</span><wbr><span class="parameters">(<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator, |
| <a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> scope)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SqlCall.html#validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">SqlCall</a></code></span></div> |
| <div class="block">Validates this call. |
| |
| <p>The default implementation delegates the validation to the operator's |
| <a href="SqlOperator.html#validateCall(org.apache.calcite.sql.SqlCall,org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope,org.apache.calcite.sql.validate.SqlValidatorScope)"><code>SqlOperator.validateCall(org.apache.calcite.sql.SqlCall, org.apache.calcite.sql.validate.SqlValidator, org.apache.calcite.sql.validate.SqlValidatorScope, org.apache.calcite.sql.validate.SqlValidatorScope)</code></a>. Derived classes may override (as do, |
| for example <a href="SqlSelect.html" title="class in org.apache.calcite.sql"><code>SqlSelect</code></a> and <a href="SqlUpdate.html" title="class in org.apache.calcite.sql"><code>SqlUpdate</code></a>).</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="SqlCall.html#validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validate</a></code> in class <code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd> |
| <dd><code>scope</code> - Validator</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createCurrentRowWindow(java.lang.String)"> |
| <h3>createCurrentRowWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></span> <span class="element-name">createCurrentRowWindow</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> columnName)</span></div> |
| <div class="block">Creates a window <code>(RANGE <i>columnName</i> CURRENT ROW)</code>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>columnName</code> - Order column</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createUnboundedPrecedingWindow(java.lang.String)"> |
| <h3>createUnboundedPrecedingWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></span> <span class="element-name">createUnboundedPrecedingWindow</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> columnName)</span></div> |
| <div class="block">Creates a window <code>(RANGE <i>columnName</i> UNBOUNDED |
| PRECEDING)</code>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>columnName</code> - Order column</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="populateBounds()"> |
| <h3>populateBounds</h3> |
| <div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a> |
| </span><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">populateBounds</span>()</div> |
| <div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |