| <!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 (1.8.0_161-google-v7) on Thu Oct 18 16:14:34 PDT 2018 --> |
| <title>PAssert.IterableAssert (Apache Beam 2.8.0-SNAPSHOT)</title> |
| <meta name="date" content="2018-10-18"> |
| <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="PAssert.IterableAssert (Apache Beam 2.8.0-SNAPSHOT)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.GroupThenAssertForSingleton.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.OneSideInputAssert.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/beam/sdk/testing/PAssert.IterableAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.IterableAssert.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>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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.beam.sdk.testing</div> |
| <h2 title="Interface PAssert.IterableAssert" class="title">Interface PAssert.IterableAssert<T></h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a></dd> |
| </dl> |
| <dl> |
| <dt>Enclosing class:</dt> |
| <dd><a href="../../../../../org/apache/beam/sdk/testing/PAssert.html" title="class in org.apache.beam.sdk.testing">PAssert</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public static interface <span class="typeNameLabel">PAssert.IterableAssert<T></span></pre> |
| <div class="block">Builder interface for assertions applicable to iterables and PCollection contents.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-java.lang.Iterable-">containsInAnyOrder</a></span>(java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> expectedElements)</code> |
| <div class="block">Asserts that the iterable in question contains the provided elements.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-T...-">containsInAnyOrder</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>... expectedElements)</code> |
| <div class="block">Asserts that the iterable in question contains the provided elements.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#empty--">empty</a></span>()</code> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inCombinedNonLatePanes</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window across all panes that were not produced by the arrival of late |
| data.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyGlobalWindowPanes--">inEarlyGlobalWindowPanes</a></span>()</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on panes in the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> that were emitted before the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> |
| closed.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inEarlyPane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window across all panes that were produced by the arrival of early data.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inFinalPane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window, running the checker only on the final pane for each key.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnTimePane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inWindow</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</code> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">satisfies</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a><java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>>,java.lang.Void> checkerFn)</code> |
| <div class="block">Applies the provided checking function (presumably containing assertions) to the iterable in |
| question.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inWindow</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inWindow(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window. |
| |
| <p>The assertion will concatenate all panes present in the provided window if the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Trigger.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>Trigger</code></a> produces multiple panes. If the windowing strategy accumulates fired panes and |
| triggers fire multple times, consider using instead <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>inFinalPane(BoundedWindow)</code></a> or |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>inOnTimePane(BoundedWindow)</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the |
| specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inFinalPane</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inFinalPane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window, running the checker only on the final pane for each key. |
| |
| <p>If the input <a href="../../../../../org/apache/beam/sdk/values/WindowingStrategy.html" title="class in org.apache.beam.sdk.values"><code>WindowingStrategy</code></a> does not always produce final panes, the assertion |
| may be executed over an empty input even if the trigger has fired previously. To ensure that |
| a final pane is always produced, set the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html" title="enum in org.apache.beam.sdk.transforms.windowing"><code>Window.ClosingBehavior</code></a> of the windowing strategy |
| (via <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.html#withAllowedLateness-org.joda.time.Duration-org.apache.beam.sdk.transforms.windowing.Window.ClosingBehavior-"><code>Window.withAllowedLateness(Duration, ClosingBehavior)</code></a> setting <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html" title="enum in org.apache.beam.sdk.transforms.windowing"><code>Window.ClosingBehavior</code></a> to <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html#FIRE_ALWAYS"><code>Window.ClosingBehavior.FIRE_ALWAYS</code></a>).</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the |
| specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inOnTimePane</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inOnTimePane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the |
| specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inEarlyPane</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inEarlyPane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window across all panes that were produced by the arrival of early data.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the |
| specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inCombinedNonLatePanes</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inCombinedNonLatePanes(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a> window)</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on the provided window across all panes that were not produced by the arrival of late |
| data.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the |
| specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inEarlyGlobalWindowPanes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inEarlyGlobalWindowPanes</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> inEarlyGlobalWindowPanes()</pre> |
| <div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only |
| run on panes in the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> that were emitted before the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> |
| closed. These panes have <a href="../../../../../org/apache/beam/sdk/transforms/windowing/PaneInfo.Timing.html#EARLY"><code>PaneInfo.Timing.EARLY</code></a>.</div> |
| </li> |
| </ul> |
| <a name="containsInAnyOrder-java.lang.Object:A-"> |
| <!-- --> |
| </a><a name="containsInAnyOrder-T...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsInAnyOrder</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> containsInAnyOrder(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>... expectedElements)</pre> |
| <div class="block">Asserts that the iterable in question contains the provided elements.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsInAnyOrder-java.lang.Iterable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsInAnyOrder</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> containsInAnyOrder(java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> expectedElements)</pre> |
| <div class="block">Asserts that the iterable in question contains the provided elements.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="empty--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>empty</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> empty()</pre> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="satisfies-org.apache.beam.sdk.transforms.SerializableFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>satisfies</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>> satisfies(<a href="../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a><java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="type parameter in PAssert.IterableAssert">T</a>>,java.lang.Void> checkerFn)</pre> |
| <div class="block">Applies the provided checking function (presumably containing assertions) to the iterable in |
| question.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.GroupThenAssertForSingleton.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.OneSideInputAssert.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/beam/sdk/testing/PAssert.IterableAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.IterableAssert.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>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |