| <!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 --> |
| <title>PAssert.PCollectionContentsAssert (Apache Beam 2.38.0-SNAPSHOT)</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="PAssert.PCollectionContentsAssert (Apache Beam 2.38.0-SNAPSHOT)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":42,"i6":42,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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.PAssertionSite.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.PCollectionListContentsAssert.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.PCollectionContentsAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.PCollectionContentsAssert.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.beam.sdk.testing</div> |
| <h2 title="Class PAssert.PCollectionContentsAssert" class="title">Class PAssert.PCollectionContentsAssert<T></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.beam.sdk.testing.PAssert.PCollectionContentsAssert<T></li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><T></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>protected static class <span class="typeNameLabel">PAssert.PCollectionContentsAssert<T></span> |
| extends java.lang.Object |
| implements <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a><T></pre> |
| <div class="block">An <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> about the contents of a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>. This does not require |
| the runner to support side inputs.</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/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.AssertionWindows-org.apache.beam.sdk.transforms.SimpleFunction-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">PCollectionContentsAssert</a></span>(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> actual, |
| org.apache.beam.sdk.testing.PAssert.AssertionWindows rewindowingStrategy, |
| <a href="../../../../../org/apache/beam/sdk/transforms/SimpleFunction.html" title="class in org.apache.beam.sdk.transforms">SimpleFunction</a><java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/values/ValueInSingleWindow.html" title="class in org.apache.beam.sdk.values">ValueInSingleWindow</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>>,java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>> paneExtractor, |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a> site)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">PCollectionContentsAssert</a></span>(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> actual, |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a> site)</code> </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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder--">containsInAnyOrder</a></span>()</code> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-java.lang.Iterable-">containsInAnyOrder</a></span>(java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> expectedElements)</code> |
| <div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-org.apache.beam.sdk.testing.SerializableMatcher...-">containsInAnyOrder</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/SerializableMatcher.html" title="interface in org.apache.beam.sdk.testing">SerializableMatcher</a><? super <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>... elementMatchers)</code> |
| <div class="block">Checks that the <code>Iterable</code> contains elements that match the provided matchers, in any |
| order.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-">containsInAnyOrder</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>... expectedElements)</code> |
| <div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#empty--">empty</a></span>()</code> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#equals-java.lang.Object-">equals</a></span>(<a href="https://static.javadoc.io/org.checkerframework/checker-qual/3.10.0/org/checkerframework/checker/nullness/qual/Nullable.html?is-external=true" title="class or interface in org.checkerframework.checker.nullness.qual">@Nullable</a> java.lang.Object o)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment"><code>Object.equals(Object)</code> is not supported on PAssert objects. If you meant |
| to test object equality, use a variant of <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-"><code>containsInAnyOrder(T...)</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#hashCode--">hashCode</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment"><code>Object.hashCode()</code> is not supported on PAssert objects.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inLatePane</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> with the assertion restricted to only run on the |
| provided window across all panes that were produced by the arrival of late data.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inOnlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnlyPane</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="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</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="PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.PAssertionSite-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PCollectionContentsAssert</h4> |
| <pre>public PCollectionContentsAssert(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> actual, |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a> site)</pre> |
| </li> |
| </ul> |
| <a name="PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.AssertionWindows-org.apache.beam.sdk.transforms.SimpleFunction-org.apache.beam.sdk.testing.PAssert.PAssertionSite-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PCollectionContentsAssert</h4> |
| <pre>public PCollectionContentsAssert(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> actual, |
| org.apache.beam.sdk.testing.PAssert.AssertionWindows rewindowingStrategy, |
| <a href="../../../../../org/apache/beam/sdk/transforms/SimpleFunction.html" title="class in org.apache.beam.sdk.transforms">SimpleFunction</a><java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/values/ValueInSingleWindow.html" title="class in org.apache.beam.sdk.values">ValueInSingleWindow</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>>,java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>> paneExtractor, |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a> site)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ 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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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>PAssert.IterableAssert.inFinalPane(BoundedWindow)</code></a> or |
| <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>PAssert.IterableAssert.inOnTimePane(BoundedWindow)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inWindow</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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="inOnlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inOnlyPane</h4> |
| <pre>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> inOnlyPane(<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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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 expect outputs to be produced to the provided window exactly once. If |
| the upstream <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Trigger.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>Trigger</code></a> may produce output multiple times, consider instead using <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>PAssert.IterableAssert.inFinalPane(BoundedWindow)</code></a> or <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>PAssert.IterableAssert.inOnTimePane(BoundedWindow)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnlyPane</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inFinalPane</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnTimePane</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inEarlyPane</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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="inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inLatePane</h4> |
| <pre>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> inLatePane(<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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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> with the assertion restricted to only run on the |
| provided window across all panes that were produced by the arrival of late data.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inLatePane</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div> |
| <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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inCombinedNonLatePanes</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> inEarlyGlobalWindowPanes()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyGlobalWindowPanes--">PAssert.IterableAssert</a></code></span></div> |
| <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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyGlobalWindowPanes--">inEarlyGlobalWindowPanes</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| </dl> |
| </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>@SafeVarargs |
| public final <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> containsInAnyOrder(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>... expectedElements)</pre> |
| <div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order. |
| |
| <p>Returns this <code>IterableAssert</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-T...-">containsInAnyOrder</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> containsInAnyOrder(java.lang.Iterable<<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> expectedElements)</pre> |
| <div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order. |
| |
| <p>Returns this <code>IterableAssert</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-java.lang.Iterable-">containsInAnyOrder</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> empty()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#empty--">PAssert.IterableAssert</a></code></span></div> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#empty--">empty</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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="blockList"> |
| <li class="blockList"> |
| <h4>satisfies</h4> |
| <pre>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>,java.lang.Void> checkerFn)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">PAssert.IterableAssert</a></code></span></div> |
| <div class="block">Applies the provided checking function (presumably containing assertions) to the iterable in |
| question.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">satisfies</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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-org.apache.beam.sdk.testing.SerializableMatcher...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsInAnyOrder</h4> |
| <pre>@SafeVarargs |
| public final <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> containsInAnyOrder(<a href="../../../../../org/apache/beam/sdk/testing/SerializableMatcher.html" title="interface in org.apache.beam.sdk.testing">SerializableMatcher</a><? super <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>>... elementMatchers)</pre> |
| <div class="block">Checks that the <code>Iterable</code> contains elements that match the provided matchers, in any |
| order. |
| |
| <p>Returns this <code>IterableAssert</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-org.apache.beam.sdk.testing.SerializableMatcher...-">containsInAnyOrder</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsInAnyOrder</h4> |
| <pre>public <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>> containsInAnyOrder()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder--">PAssert.IterableAssert</a></code></span></div> |
| <div class="block">Asserts that the iterable in question is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder--">containsInAnyOrder</a></code> in interface <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.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>></code></dd> |
| <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="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>@Deprecated |
| public boolean equals(<a href="https://static.javadoc.io/org.checkerframework/checker-qual/3.10.0/org/checkerframework/checker/nullness/qual/Nullable.html?is-external=true" title="class or interface in org.checkerframework.checker.nullness.qual">@Nullable</a> java.lang.Object o)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment"><code>Object.equals(Object)</code> is not supported on PAssert objects. If you meant |
| to test object equality, use a variant of <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-"><code>containsInAnyOrder(T...)</code></a> instead.</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>equals</code> in class <code>java.lang.Object</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.UnsupportedOperationException</code> - always</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>@Deprecated |
| public int hashCode()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment"><code>Object.hashCode()</code> is not supported on PAssert objects.</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.UnsupportedOperationException</code> - always.</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.PAssertionSite.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.PCollectionListContentsAssert.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.PCollectionContentsAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.PCollectionContentsAssert.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 ======= --> |
| </body> |
| </html> |