blob: f9d3da4584d1228667bbcce72c705bc3d702e620 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlWindow (Apache Calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SqlWindow (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":10,"i5":9,"i6":9,"i7":9,"i8":9,"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":9,"i24":10,"i25":9,"i26":9,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":9,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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="class-use/SqlWindow.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">org.apache.calcite.sql</a></div>
<h2 title="Class SqlWindow" class="title">Class SqlWindow</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="SqlNode.html" title="class in org.apache.calcite.sql">org.apache.calcite.sql.SqlNode</a></li>
<li>
<ul class="inheritance">
<li><a href="SqlCall.html" title="class in org.apache.calcite.sql">org.apache.calcite.sql.SqlCall</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.SqlWindow</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.lang.Cloneable</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">SqlWindow</span>
extends <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></pre>
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlWindow.Bound.html" title="enum in org.apache.calcite.sql">SqlWindow.Bound</a></span></code></th>
<td class="colLast">
<div class="block">An enumeration of types of bounds in a window: <code>CURRENT ROW</code>,
<code>UNBOUNDED PRECEDING</code>, and <code>UNBOUNDED FOLLOWING</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlWindow.SqlWindowOperator.html" title="class in org.apache.calcite.sql">SqlWindow.SqlWindowOperator</a></span></code></th>
<td class="colLast">
<div class="block">An operator describing a window specification.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== 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">&nbsp;</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>(package private) <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowPartial">allowPartial</a></span></code></th>
<td class="colLast">
<div class="block">Whether to allow partial results.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#declName">declName</a></span></code></th>
<td class="colLast">
<div class="block">The name of the window being declared.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FOLLOWING_OPERATOR">FOLLOWING_OPERATOR</a></span></code></th>
<td class="colLast">
<div class="block">The FOLLOWING operator used exclusively in a window specification.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRows">isRows</a></span></code></th>
<td class="colLast">
<div class="block">Whether it is a physical (rows) or logical (values) range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lowerBound">lowerBound</a></span></code></th>
<td class="colLast">
<div class="block">The lower bound of the window.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#orderList">orderList</a></span></code></th>
<td class="colLast">
<div class="block">The list of ordering columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitionList">partitionList</a></span></code></th>
<td class="colLast">
<div class="block">The list of partitioning columns.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PRECEDING_OPERATOR">PRECEDING_OPERATOR</a></span></code></th>
<td class="colLast">
<div class="block">The PRECEDING operator used exclusively in a window specification.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refName">refName</a></span></code></th>
<td class="colLast">
<div class="block">The name of the window being referenced, or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#upperBound">upperBound</a></span></code></th>
<td class="colLast">
<div class="block">The upper bound of the window.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#windowCall">windowCall</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.sql.SqlNode">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;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></li>
</ul>
</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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><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)">SqlWindow</a></span>&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;refName,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;allowPartial)</code></th>
<td class="colLast">
<div class="block">Creates a window.</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>(package private) static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkSpecialLiterals(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)">checkSpecialLiterals</a></span>&#8203;(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;window,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><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)">create</a></span>&#8203;(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;refName,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;allowPartial,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createBound(org.apache.calcite.sql.SqlLiteral)">createBound</a></span>&#8203;(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;range)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createCurrentRow(org.apache.calcite.sql.parser.SqlParserPos)">createCurrentRow</a></span>&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createCurrentRowWindow(java.lang.String)">createCurrentRowWindow</a></span>&#8203;(java.lang.String&nbsp;columnName)</code></th>
<td class="colLast">
<div class="block">Creates a window <code>(RANGE <i>columnName</i> CURRENT ROW)</code>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFollowing(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)">createFollowing</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;e,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createPreceding(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)">createPreceding</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;e,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createUnboundedFollowing(org.apache.calcite.sql.parser.SqlParserPos)">createUnboundedFollowing</a></span>&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createUnboundedPreceding(org.apache.calcite.sql.parser.SqlParserPos)">createUnboundedPreceding</a></span>&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createUnboundedPrecedingWindow(java.lang.String)">createUnboundedPrecedingWindow</a></span>&#8203;(java.lang.String&nbsp;columnName)</code></th>
<td class="colLast">
<div class="block">Creates a window <code>(RANGE <i>columnName</i> UNBOUNDED
PRECEDING)</code>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)">equalsDeep</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../util/Litmus.html" title="interface in org.apache.calcite.util">Litmus</a>&nbsp;litmus)</code></th>
<td class="colLast">
<div class="block">Overridden method to specifically check only the right subtree of a window
definition.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclName()">getDeclName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKind()">getKind</a></span>()</code></th>
<td class="colLast">
<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>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLowerBound()">getLowerBound</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOperandList()">getOperandList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOperator()">getOperator</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOrderList()">getOrderList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPartitionList()">getPartitionList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRefName()">getRefName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUpperBound()">getUpperBound</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWindowCall()">getWindowCall</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAllowPartial()">isAllowPartial</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether partial windows are allowed.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAlwaysNonEmpty()">isAlwaysNonEmpty</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns if the window is guaranteed to have rows.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCurrentRow(org.apache.calcite.sql.SqlNode)">isCurrentRow</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</code></th>
<td class="colLast">
<div class="block">Returns whether an expression represents the "CURRENT ROW" bound.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRows()">isRows</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isUnboundedFollowing(org.apache.calcite.sql.SqlNode)">isUnboundedFollowing</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</code></th>
<td class="colLast">
<div class="block">Returns whether an expression represents the "UNBOUNDED FOLLOWING" bound.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isUnboundedPreceding(org.apache.calcite.sql.SqlNode)">isUnboundedPreceding</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</code></th>
<td class="colLast">
<div class="block">Returns whether an expression represents the "UNBOUNDED PRECEDING" bound.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#overlay(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)">overlay</a></span>&#8203;(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;that,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</code></th>
<td class="colLast">
<div class="block">Creates a new window by combining this one with another.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#populateBounds()">populateBounds</a></span>()</code></th>
<td class="colLast">
<div class="block">Fill in missing bounds.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDeclName(org.apache.calcite.sql.SqlIdentifier)">setDeclName</a></span>&#8203;(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLowerBound(org.apache.calcite.sql.SqlNode)">setLowerBound</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOperand(int,org.apache.calcite.sql.SqlNode)">setOperand</a></span>&#8203;(int&nbsp;i,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;operand)</code></th>
<td class="colLast">
<div class="block">Changes the value of an operand.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>private static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOperand(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlValidator)">setOperand</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;clonedOperand,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;thatOperand,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOrderList(org.apache.calcite.sql.SqlNodeList)">setOrderList</a></span>&#8203;(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPartitionList(org.apache.calcite.sql.SqlNodeList)">setPartitionList</a></span>&#8203;(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRows(org.apache.calcite.sql.SqlLiteral)">setRows</a></span>&#8203;(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUpperBound(org.apache.calcite.sql.SqlNode)">setUpperBound</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWindowCall(org.apache.calcite.sql.SqlCall)">setWindowCall</a></span>&#8203;(<a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;windowCall)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unparse(org.apache.calcite.sql.SqlWriter,int,int)">unparse</a></span>&#8203;(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a>&nbsp;writer,
int&nbsp;leftPrec,
int&nbsp;rightPrec)</code></th>
<td class="colLast">
<div class="block">Writes a SQL representation of this node to a writer.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validate</a></span>&#8203;(<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator,
<a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope)</code></th>
<td class="colLast">
<div class="block">Validates this call.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validateFrameBoundary(org.apache.calcite.sql.SqlNode,boolean,org.apache.calcite.sql.type.SqlTypeFamily,org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validateFrameBoundary</a></span>&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;bound,
boolean&nbsp;isRows,
<a href="type/SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a>&nbsp;orderTypeFam,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator,
<a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql.SqlCall">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql.SqlNode">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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(java.util.List,java.util.List,org.apache.calcite.util.Litmus)">equalDeep</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#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#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#toString()">toString</a>, <a href="SqlNode.html#validateExpr(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validateExpr</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="FOLLOWING_OPERATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FOLLOWING_OPERATOR</h4>
<pre>public static final&nbsp;<a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a> FOLLOWING_OPERATOR</pre>
<div class="block">The FOLLOWING operator used exclusively in a window specification.</div>
</li>
</ul>
<a id="PRECEDING_OPERATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PRECEDING_OPERATOR</h4>
<pre>public static final&nbsp;<a href="SqlPostfixOperator.html" title="class in org.apache.calcite.sql">SqlPostfixOperator</a> PRECEDING_OPERATOR</pre>
<div class="block">The PRECEDING operator used exclusively in a window specification.</div>
</li>
</ul>
<a id="declName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declName</h4>
<pre><a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> declName</pre>
<div class="block">The name of the window being declared.</div>
</li>
</ul>
<a id="refName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refName</h4>
<pre><a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> refName</pre>
<div class="block">The name of the window being referenced, or null.</div>
</li>
</ul>
<a id="partitionList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitionList</h4>
<pre><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> partitionList</pre>
<div class="block">The list of partitioning columns.</div>
</li>
</ul>
<a id="orderList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>orderList</h4>
<pre><a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> orderList</pre>
<div class="block">The list of ordering columns.</div>
</li>
</ul>
<a id="isRows">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRows</h4>
<pre><a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> isRows</pre>
<div class="block">Whether it is a physical (rows) or logical (values) range.</div>
</li>
</ul>
<a id="lowerBound">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lowerBound</h4>
<pre><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> lowerBound</pre>
<div class="block">The lower bound of the window.</div>
</li>
</ul>
<a id="upperBound">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>upperBound</h4>
<pre><a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> upperBound</pre>
<div class="block">The upper bound of the window.</div>
</li>
</ul>
<a id="allowPartial">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowPartial</h4>
<pre><a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a> allowPartial</pre>
<div class="block">Whether to allow partial results. It may be null.</div>
</li>
</ul>
<a id="windowCall">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>windowCall</h4>
<pre>private&nbsp;<a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a> windowCall</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="&lt;init&gt;(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)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlWindow</h4>
<pre>public&nbsp;SqlWindow&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;refName,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;allowPartial)</pre>
<div class="block">Creates a window.</div>
</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="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)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;create&#8203;(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName,
<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;refName,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList,
<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound,
<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;allowPartial,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="getOperator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperator</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;getOperator()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlCall.html#getOperator()">getOperator</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
</dl>
</li>
</ul>
<a id="getKind()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKind</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a>&nbsp;getKind()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="SqlCall.html#getKind()">getKind</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="SqlKind.html" title="enum in org.apache.calcite.sql"><code>SqlKind</code></a> value, never null</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="SqlNode.html#isA(java.util.Set)"><code>SqlNode.isA(java.util.Set&lt;org.apache.calcite.sql.SqlKind&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a id="getOperandList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperandList</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;getOperandList()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlCall.html#getOperandList()">getOperandList</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
</dl>
</li>
</ul>
<a id="setOperand(int,org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOperand</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setOperand&#8203;(int&nbsp;i,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;operand)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="SqlCall.html#setOperand(int,org.apache.calcite.sql.SqlNode)">setOperand</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>i</code> - Operand index</dd>
<dd><code>operand</code> - Operand value</dd>
</dl>
</li>
</ul>
<a id="unparse(org.apache.calcite.sql.SqlWriter,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unparse</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;unparse&#8203;(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a>&nbsp;writer,
int&nbsp;leftPrec,
int&nbsp;rightPrec)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="SqlCall.html#unparse(org.apache.calcite.sql.SqlWriter,int,int)">unparse</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></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>
</li>
</ul>
<a id="getDeclName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeclName</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;getDeclName()</pre>
</li>
</ul>
<a id="setDeclName(org.apache.calcite.sql.SqlIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeclName</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDeclName&#8203;(<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;declName)</pre>
</li>
</ul>
<a id="getLowerBound()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLowerBound</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;getLowerBound()</pre>
</li>
</ul>
<a id="setLowerBound(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLowerBound</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setLowerBound&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;lowerBound)</pre>
</li>
</ul>
<a id="getUpperBound()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpperBound</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;getUpperBound()</pre>
</li>
</ul>
<a id="setUpperBound(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUpperBound</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setUpperBound&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;upperBound)</pre>
</li>
</ul>
<a id="isAlwaysNonEmpty()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlwaysNonEmpty</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isAlwaysNonEmpty()</pre>
<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>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true when the window is non-empty</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../rel/core/Window.Group.html#isAlwaysNonEmpty()"><code>Window.Group.isAlwaysNonEmpty()</code></a>,
<a href="SqlOperatorBinding.html#getGroupCount()"><code>SqlOperatorBinding.getGroupCount()</code></a>,
<a href="validate/SqlValidatorImpl.html#resolveWindow(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlValidatorScope,boolean)"><code>SqlValidatorImpl.resolveWindow(SqlNode, org.apache.calcite.sql.validate.SqlValidatorScope, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a id="setRows(org.apache.calcite.sql.SqlLiteral)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRows</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setRows&#8203;(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;isRows)</pre>
</li>
</ul>
<a id="isRows()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRows</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isRows()</pre>
</li>
</ul>
<a id="getOrderList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderList</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;getOrderList()</pre>
</li>
</ul>
<a id="setOrderList(org.apache.calcite.sql.SqlNodeList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOrderList</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setOrderList&#8203;(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;orderList)</pre>
</li>
</ul>
<a id="getPartitionList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartitionList</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;getPartitionList()</pre>
</li>
</ul>
<a id="setPartitionList(org.apache.calcite.sql.SqlNodeList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPartitionList</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setPartitionList&#8203;(<a href="SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;partitionList)</pre>
</li>
</ul>
<a id="getRefName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefName</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;getRefName()</pre>
</li>
</ul>
<a id="setWindowCall(org.apache.calcite.sql.SqlCall)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWindowCall</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setWindowCall&#8203;(<a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;windowCall)</pre>
</li>
</ul>
<a id="getWindowCall()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWindowCall</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;getWindowCall()</pre>
</li>
</ul>
<a id="checkSpecialLiterals(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkSpecialLiterals</h4>
<pre class="methodSignature">static&nbsp;void&nbsp;checkSpecialLiterals&#8203;(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;window,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/Util.html#deprecated(T,boolean)"><code>Util.deprecated(Object, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a id="createCurrentRow(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCurrentRow</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createCurrentRow&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="createUnboundedFollowing(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnboundedFollowing</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createUnboundedFollowing&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="createUnboundedPreceding(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnboundedPreceding</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createUnboundedPreceding&#8203;(<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="createFollowing(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFollowing</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createFollowing&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;e,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="createPreceding(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPreceding</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createPreceding&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;e,
<a href="parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="createBound(org.apache.calcite.sql.SqlLiteral)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createBound</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;createBound&#8203;(<a href="SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;range)</pre>
</li>
</ul>
<a id="isCurrentRow(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCurrentRow</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isCurrentRow&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</pre>
<div class="block">Returns whether an expression represents the "CURRENT ROW" bound.</div>
</li>
</ul>
<a id="isUnboundedPreceding(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUnboundedPreceding</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isUnboundedPreceding&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</pre>
<div class="block">Returns whether an expression represents the "UNBOUNDED PRECEDING" bound.</div>
</li>
</ul>
<a id="isUnboundedFollowing(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUnboundedFollowing</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isUnboundedFollowing&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node)</pre>
<div class="block">Returns whether an expression represents the "UNBOUNDED FOLLOWING" bound.</div>
</li>
</ul>
<a id="overlay(org.apache.calcite.sql.SqlWindow,org.apache.calcite.sql.validate.SqlValidator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>overlay</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;overlay&#8203;(<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;that,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</pre>
<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>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new window</dd>
</dl>
</li>
</ul>
<a id="setOperand(org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlValidator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOperand</h4>
<pre class="methodSignature">private static&nbsp;boolean&nbsp;setOperand&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;clonedOperand,
<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;thatOperand,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator)</pre>
</li>
</ul>
<a id="equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equalsDeep</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;equalsDeep&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../util/Litmus.html" title="interface in org.apache.calcite.util">Litmus</a>&nbsp;litmus)</pre>
<div class="block">Overridden method to specifically check only the right subtree of a window
definition.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="SqlCall.html#equalsDeep(org.apache.calcite.sql.SqlNode,org.apache.calcite.util.Litmus)">equalsDeep</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></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><span class="returnLabel">Returns:</span></dt>
<dd>boolean true if all nodes in the subtree are equal</dd>
</dl>
</li>
</ul>
<a id="isAllowPartial()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAllowPartial</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isAllowPartial()</pre>
<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>
</li>
</ul>
<a id="validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;validate&#8203;(<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator,
<a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="SqlCall.html#validate(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">validate</a></code>&nbsp;in class&nbsp;<code><a href="SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></dd>
<dd><code>scope</code> - Validator</dd>
</dl>
</li>
</ul>
<a id="validateFrameBoundary(org.apache.calcite.sql.SqlNode,boolean,org.apache.calcite.sql.type.SqlTypeFamily,org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.sql.validate.SqlValidatorScope)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateFrameBoundary</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;validateFrameBoundary&#8203;(<a href="SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;bound,
boolean&nbsp;isRows,
<a href="type/SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a>&nbsp;orderTypeFam,
<a href="validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;validator,
<a href="validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope)</pre>
</li>
</ul>
<a id="createCurrentRowWindow(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCurrentRowWindow</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;createCurrentRowWindow&#8203;(java.lang.String&nbsp;columnName)</pre>
<div class="block">Creates a window <code>(RANGE <i>columnName</i> CURRENT ROW)</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnName</code> - Order column</dd>
</dl>
</li>
</ul>
<a id="createUnboundedPrecedingWindow(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnboundedPrecedingWindow</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;createUnboundedPrecedingWindow&#8203;(java.lang.String&nbsp;columnName)</pre>
<div class="block">Creates a window <code>(RANGE <i>columnName</i> UNBOUNDED
PRECEDING)</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnName</code> - Order column</dd>
</dl>
</li>
</ul>
<a id="populateBounds()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>populateBounds</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;populateBounds()</pre>
<div class="block">Fill in missing bounds. Default bounds are "BETWEEN UNBOUNDED PRECEDING
AND CURRENT ROW" when ORDER BY present and "BETWEEN UNBOUNDED PRECEDING
AND UNBOUNDED FOLLOWING" when no ORDER BY present.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SqlWindow.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>