| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.18) on Wed Mar 01 02:01:42 GMT 2023 --> |
| <title>org.apache.heron.api.windowing (Heron Java API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2023-03-01"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../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.6.0.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.heron.api.windowing (Heron Java API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>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> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.heron.api.windowing</h1> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Event.html" title="interface in org.apache.heron.api.windowing">Event</a><T extends java.io.Serializable></th> |
| <td class="colLast"> |
| <div class="block">An event is a wrapper object that gets stored in the window.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="EvictionContext.html" title="interface in org.apache.heron.api.windowing">EvictionContext</a></th> |
| <td class="colLast"> |
| <div class="block">Context information that can be used by the eviction policy</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="EvictionPolicy.html" title="interface in org.apache.heron.api.windowing">EvictionPolicy</a><T extends java.io.Serializable,​S></th> |
| <td class="colLast"> |
| <div class="block">Eviction policy tracks events and decides whether |
| an event should be evicted from the window or not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="TimestampExtractor.html" title="interface in org.apache.heron.api.windowing">TimestampExtractor</a></th> |
| <td class="colLast"> |
| <div class="block">Interface to be implemented for extracting timestamp from a tuple.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TriggerHandler.html" title="interface in org.apache.heron.api.windowing">TriggerHandler</a></th> |
| <td class="colLast"> |
| <div class="block">The callback fired by <a href="TriggerPolicy.html" title="interface in org.apache.heron.api.windowing"><code>TriggerPolicy</code></a> when the trigger |
| condition is satisfied.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="TriggerPolicy.html" title="interface in org.apache.heron.api.windowing">TriggerPolicy</a><T extends java.io.Serializable,​S></th> |
| <td class="colLast"> |
| <div class="block">Triggers the window calculations based on the policy.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TupleWindow.html" title="interface in org.apache.heron.api.windowing">TupleWindow</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="Window.html" title="interface in org.apache.heron.api.windowing"><code>Window</code></a> that contains <a href="../tuple/Tuple.html" title="interface in org.apache.heron.api.tuple"><code>Tuple</code></a> objects.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Window.html" title="interface in org.apache.heron.api.windowing">Window</a><T></th> |
| <td class="colLast"> |
| <div class="block">A view of events in a sliding window.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="WindowLifecycleListener.html" title="interface in org.apache.heron.api.windowing">WindowLifecycleListener</a><T></th> |
| <td class="colLast"> |
| <div class="block">A callback for expiry, activation of events tracked by the <a href="WindowManager.html" title="class in org.apache.heron.api.windowing"><code>WindowManager</code></a></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="DefaultEvictionContext.html" title="class in org.apache.heron.api.windowing">DefaultEvictionContext</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="EventImpl.html" title="class in org.apache.heron.api.windowing">EventImpl</a><T extends java.io.Serializable></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TupleFieldTimestampExtractor.html" title="class in org.apache.heron.api.windowing">TupleFieldTimestampExtractor</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="TimestampExtractor.html" title="interface in org.apache.heron.api.windowing"><code>TimestampExtractor</code></a> that extracts timestamp from a specific field in the tuple.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="TupleWindowImpl.html" title="class in org.apache.heron.api.windowing">TupleWindowImpl</a></th> |
| <td class="colLast"> |
| <div class="block">Holds the expired, new and current tuples in a window.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="WaterMarkEvent.html" title="class in org.apache.heron.api.windowing">WaterMarkEvent</a><T extends java.io.Serializable></th> |
| <td class="colLast"> |
| <div class="block">Watermark event used for tracking progress of time when |
| processing event based ts.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="WaterMarkEventGenerator.html" title="class in org.apache.heron.api.windowing">WaterMarkEventGenerator</a><T extends java.io.Serializable></th> |
| <td class="colLast"> |
| <div class="block">Tracks tuples across input streams and periodically emits watermark events.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="WaterMarkEventGeneratorTest.html" title="class in org.apache.heron.api.windowing">WaterMarkEventGeneratorTest</a></th> |
| <td class="colLast"> |
| <div class="block">Unit tests for <a href="WaterMarkEventGenerator.html" title="class in org.apache.heron.api.windowing"><code>WaterMarkEventGenerator</code></a></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="WindowingConfigs.html" title="class in org.apache.heron.api.windowing">WindowingConfigs</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="WindowManager.html" title="class in org.apache.heron.api.windowing">WindowManager</a><T extends java.io.Serializable></th> |
| <td class="colLast"> |
| <div class="block">Tracks a window of events and fires <a href="WindowLifecycleListener.html" title="interface in org.apache.heron.api.windowing"><code>WindowLifecycleListener</code></a> callbacks |
| on expiry of events or activation of the window due to <a href="TriggerPolicy.html" title="interface in org.apache.heron.api.windowing"><code>TriggerPolicy</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="WindowManagerTest.html" title="class in org.apache.heron.api.windowing">WindowManagerTest</a></th> |
| <td class="colLast"> |
| <div class="block">Unit tests for <a href="WindowManager.html" title="class in org.apache.heron.api.windowing"><code>WindowManager</code></a></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="EvictionPolicy.Action.html" title="enum in org.apache.heron.api.windowing">EvictionPolicy.Action</a></th> |
| <td class="colLast"> |
| <div class="block">The action to be taken when <a href="EvictionPolicy.html#evict(org.apache.heron.api.windowing.Event)"><code>EvictionPolicy.evict(Event)</code></a> is invoked.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>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> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| </footer> |
| </body> |
| </html> |