| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>WinAggResultContextImpl (Apache Calcite calcite API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="WinAggResultContextImpl (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResetContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html" target="_top">Frames</a></li> |
| <li><a href="WinAggResultContextImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.calcite.adapter.enumerable.impl</div> |
| <h2 title="Class WinAggResultContextImpl" class="title">Class WinAggResultContextImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html" title="class in org.apache.calcite.adapter.enumerable">org.apache.calcite.adapter.enumerable.NestedBlockBuilderImpl</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResetContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">org.apache.calcite.adapter.enumerable.impl.AggResetContextImpl</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">org.apache.calcite.adapter.enumerable.impl.AggResultContextImpl</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.adapter.enumerable.impl.WinAggResultContextImpl</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResetContext.html" title="interface in org.apache.calcite.adapter.enumerable">AggResetContext</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">AggResultContext</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html" title="interface in org.apache.calcite.adapter.enumerable">NestedBlockBuilder</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggResultContext</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggAddContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">WinAggAddContextImpl</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">WinAggResultContextImpl</span> |
| extends <a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">AggResultContextImpl</a> |
| implements <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggResultContext</a></pre> |
| <div class="block">Implementation of |
| <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable"><code>WinAggResultContext</code></a>.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#WinAggResultContextImpl-org.apache.calcite.linq4j.tree.BlockBuilder-java.util.List-java.util.function.Function-">WinAggResultContextImpl</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> accumulator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a>,<a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a>> frameContextBuilder)</code> |
| <div class="block">Creates window aggregate result context.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#WinAggResultContextImpl-org.apache.calcite.linq4j.tree.BlockBuilder-java.util.List-com.google.common.base.Function-">WinAggResultContextImpl</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> accumulator, |
| com.google.common.base.Function<<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a>,<a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a>> frameContextBuilder)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#arguments-org.apache.calcite.linq4j.tree.Expression-">arguments</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</code> |
| <div class="block">Returns Linq4j form of arguments.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#compareRows-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.linq4j.tree.Expression-">compareRows</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> a, |
| <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> b)</code> |
| <div class="block">Compares two rows given by absolute positions according to the order |
| collation of the current window.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#computeIndex-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.adapter.enumerable.WinAggImplementor.SeekType-">computeIndex</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> offset, |
| <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggImplementor.SeekType.html" title="enum in org.apache.calcite.adapter.enumerable">WinAggImplementor.SeekType</a> seekType)</code> |
| <div class="block">Converts absolute index position of the given relative position.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#endIndex--">endIndex</a></span>()</code> |
| <div class="block">Returns the index of the very last row in partition.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#getFrameRowCount--">getFrameRowCount</a></span>()</code> |
| <div class="block">Returns the number of rows in the current frame (subject to framing |
| clause).</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#getPartitionRowCount--">getPartitionRowCount</a></span>()</code> |
| <div class="block">Returns the number of rows in the current partition (as determined by |
| PARTITION BY clause).</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#hasRows--">hasRows</a></span>()</code> |
| <div class="block">Returns the boolean expression that tells if the partition has rows.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#index--">index</a></span>()</code> |
| <div class="block">Returns the index of the current row in the partition.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#rowInFrame-org.apache.calcite.linq4j.tree.Expression-">rowInFrame</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</code> |
| <div class="block">Returns boolean the expression that checks if the given index is in |
| the frame bounds.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#rowInPartition-org.apache.calcite.linq4j.tree.Expression-">rowInPartition</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</code> |
| <div class="block">Returns boolean the expression that checks if the given index is in |
| the partition bounds.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#rowTranslator-org.apache.calcite.linq4j.tree.Expression-">rowTranslator</a></span>(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</code> |
| <div class="block">Returns row translator for given absolute row position.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html#startIndex--">startIndex</a></span>()</code> |
| <div class="block">Returns the index of the very first row in partition.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.impl.AggResultContextImpl"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.adapter.enumerable.impl.<a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">AggResultContextImpl</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html#call--">call</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html#key--">key</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResultContextImpl.html#keyField-int-">keyField</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.impl.AggResetContextImpl"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.adapter.enumerable.impl.<a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResetContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl">AggResetContextImpl</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/AggResetContextImpl.html#accumulator--">accumulator</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.NestedBlockBuilderImpl"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.adapter.enumerable.<a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html" title="class in org.apache.calcite.adapter.enumerable">NestedBlockBuilderImpl</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html#currentBlock--">currentBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html#exitBlock--">exitBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html#nestBlock--">nestBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilderImpl.html#nestBlock-org.apache.calcite.linq4j.tree.BlockBuilder-">nestBlock</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.WinAggResultContext"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.calcite.adapter.enumerable.<a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggResultContext</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html#rexArguments--">rexArguments</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.AggResultContext"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.calcite.adapter.enumerable.<a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">AggResultContext</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResultContext.html#call--">call</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResultContext.html#key--">key</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResultContext.html#keyField-int-">keyField</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.AggResetContext"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.calcite.adapter.enumerable.<a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResetContext.html" title="interface in org.apache.calcite.adapter.enumerable">AggResetContext</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/AggResetContext.html#accumulator--">accumulator</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.adapter.enumerable.NestedBlockBuilder"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.calcite.adapter.enumerable.<a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html" title="interface in org.apache.calcite.adapter.enumerable">NestedBlockBuilder</a></h3> |
| <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html#currentBlock--">currentBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html#exitBlock--">exitBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html#nestBlock--">nestBlock</a>, <a href="../../../../../../org/apache/calcite/adapter/enumerable/NestedBlockBuilder.html#nestBlock-org.apache.calcite.linq4j.tree.BlockBuilder-">nestBlock</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="WinAggResultContextImpl-org.apache.calcite.linq4j.tree.BlockBuilder-java.util.List-java.util.function.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>WinAggResultContextImpl</h4> |
| <pre>public WinAggResultContextImpl(<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> accumulator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a>,<a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a>> frameContextBuilder)</pre> |
| <div class="block">Creates window aggregate result context.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>block</code> - code block that will contain the added initialization</dd> |
| <dd><code>accumulator</code> - accumulator variables that store the intermediate |
| aggregate state</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="WinAggResultContextImpl-org.apache.calcite.linq4j.tree.BlockBuilder-java.util.List-com.google.common.base.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>WinAggResultContextImpl</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public WinAggResultContextImpl(<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> accumulator, |
| com.google.common.base.Function<<a href="../../../../../../org/apache/calcite/linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a>,<a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a>> frameContextBuilder)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="arguments-org.apache.calcite.linq4j.tree.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>arguments</h4> |
| <pre>public final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> arguments(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html#arguments-org.apache.calcite.linq4j.tree.Expression-">WinAggResultContext</a></code></span></div> |
| <div class="block">Returns Linq4j form of arguments. |
| The resulting value is equivalent to |
| <code>rowTranslator().translateList(rexArguments())</code>. |
| This is handy if you need just operate on argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html#arguments-org.apache.calcite.linq4j.tree.Expression-">arguments</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowIndex</code> - index of the requested row. The index must be in range |
| of partition's startIndex and endIndex.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Linq4j form of arguments of the particular row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="computeIndex-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.adapter.enumerable.WinAggImplementor.SeekType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeIndex</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> computeIndex(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> offset, |
| <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggImplementor.SeekType.html" title="enum in org.apache.calcite.adapter.enumerable">WinAggImplementor.SeekType</a> seekType)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#computeIndex-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.adapter.enumerable.WinAggImplementor.SeekType-">WinAggFrameResultContext</a></code></span></div> |
| <div class="block">Converts absolute index position of the given relative position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#computeIndex-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.adapter.enumerable.WinAggImplementor.SeekType-">computeIndex</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>offset</code> - offset of the requested row</dd> |
| <dd><code>seekType</code> - the type of offset (start of window, end of window, etc)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>absolute position of the requested row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowInFrame-org.apache.calcite.linq4j.tree.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowInFrame</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowInFrame(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowInFrame-org.apache.calcite.linq4j.tree.Expression-">WinAggFrameResultContext</a></code></span></div> |
| <div class="block">Returns boolean the expression that checks if the given index is in |
| the frame bounds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowInFrame-org.apache.calcite.linq4j.tree.Expression-">rowInFrame</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowIndex</code> - index if the row to check</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>expression that validates frame bounds for the given index</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowInPartition-org.apache.calcite.linq4j.tree.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowInPartition</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowInPartition(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowInPartition-org.apache.calcite.linq4j.tree.Expression-">WinAggFrameResultContext</a></code></span></div> |
| <div class="block">Returns boolean the expression that checks if the given index is in |
| the partition bounds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowInPartition-org.apache.calcite.linq4j.tree.Expression-">rowInPartition</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowIndex</code> - index if the row to check</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>expression that validates partition bounds for the given index</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowTranslator-org.apache.calcite.linq4j.tree.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowTranslator</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/adapter/enumerable/RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> rowTranslator(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> rowIndex)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowTranslator-org.apache.calcite.linq4j.tree.Expression-">WinAggFrameResultContext</a></code></span></div> |
| <div class="block">Returns row translator for given absolute row position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#rowTranslator-org.apache.calcite.linq4j.tree.Expression-">rowTranslator</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowIndex</code> - absolute index of the row.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>translator for the requested row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareRows-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.linq4j.tree.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareRows</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> compareRows(<a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> a, |
| <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> b)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#compareRows-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.linq4j.tree.Expression-">WinAggFrameResultContext</a></code></span></div> |
| <div class="block">Compares two rows given by absolute positions according to the order |
| collation of the current window.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html#compareRows-org.apache.calcite.linq4j.tree.Expression-org.apache.calcite.linq4j.tree.Expression-">compareRows</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameResultContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameResultContext</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>a</code> - absolute index of the first row</dd> |
| <dd><code>b</code> - absolute index of the second row</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>result of comparison as as in <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang"><code>Comparable.compareTo(T)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="index--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>index</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> index()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#index--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the index of the current row in the partition. |
| In other words, it is close to ~ROWS BETWEEN CURRENT ROW. |
| Note to use <a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#startIndex--"><code>WinAggFrameContext.startIndex()</code></a> when you need zero-based row position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#index--">index</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the index of the very first row in partition</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="startIndex--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startIndex</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> startIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#startIndex--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the index of the very first row in partition.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#startIndex--">startIndex</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>index of the very first row in partition</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="endIndex--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endIndex</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> endIndex()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#endIndex--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the index of the very last row in partition.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#endIndex--">endIndex</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>index of the very last row in partition</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hasRows--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasRows</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> hasRows()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#hasRows--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the boolean expression that tells if the partition has rows. |
| The partition might lack rows in cases like ROWS BETWEEN 1000 PRECEDING |
| AND 900 PRECEDING.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#hasRows--">hasRows</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>boolean expression that tells if the partition has rows</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFrameRowCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFrameRowCount</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> getFrameRowCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#getFrameRowCount--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the number of rows in the current frame (subject to framing |
| clause).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#getFrameRowCount--">getFrameRowCount</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>number of rows in the current partition or 0 if the partition |
| is empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPartitionRowCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getPartitionRowCount</h4> |
| <pre>public <a href="../../../../../../org/apache/calcite/linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> getPartitionRowCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#getPartitionRowCount--">WinAggFrameContext</a></code></span></div> |
| <div class="block">Returns the number of rows in the current partition (as determined by |
| PARTITION BY clause).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html#getPartitionRowCount--">getPartitionRowCount</a></code> in interface <code><a href="../../../../../../org/apache/calcite/adapter/enumerable/WinAggFrameContext.html" title="interface in org.apache.calcite.adapter.enumerable">WinAggFrameContext</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>number of rows in the current partition or 0 if the partition |
| is empty</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/calcite/adapter/enumerable/impl/WinAggResetContextImpl.html" title="class in org.apache.calcite.adapter.enumerable.impl"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/calcite/adapter/enumerable/impl/WinAggResultContextImpl.html" target="_top">Frames</a></li> |
| <li><a href="WinAggResultContextImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |