| <!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_181-google-v7) on Mon Jan 27 16:42:31 PST 2020 --> |
| <title>PAssert.SingletonAssert (Apache Beam 2.20.0-SNAPSHOT)</title> |
| <meta name="date" content="2020-01-27"> |
| <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.SingletonAssert (Apache Beam 2.20.0-SNAPSHOT)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":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.PCollectionContentsAssert.MatcherCheckerFn.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/RegexMatcher.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.SingletonAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.SingletonAssert.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.SingletonAssert" class="title">Interface PAssert.SingletonAssert<T></h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <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.SingletonAssert<T></span></pre> |
| <div class="block">Builder interface for assertions applicable to a single value.</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one, but with the assertion restricted to |
| only run on the provided window, running the checker only on early panes for each key.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> with the assertion restricted to only run on the |
| provided window, running the checker only on late panes for each key.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one, but with the assertion restricted to |
| only run on the provided window.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one, but with the assertion restricted to |
| only run on the provided window, running the checker only on the on-time pane for each key.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html#isEqualTo-T-">isEqualTo</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a> expected)</code> |
| <div class="block">Asserts that the value in question is equal to the provided value, according to <code>Object.equals(java.lang.Object)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html#notEqualTo-T-">notEqualTo</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a> notExpected)</code> |
| <div class="block">Asserts that the value in question is not equal to the provided value, according to <code>Object.equals(java.lang.Object)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>,java.lang.Void> checkerFn)</code> |
| <div class="block">Applies the provided checking function (presumably containing assertions) to the value 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="inOnlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inOnlyPane</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">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">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>inFinalPane(BoundedWindow)</code></a> or <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one, but with the assertion restricted to |
| only run on the provided window, running the checker only on the on-time pane for each key.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one, but with the assertion restricted to |
| only run on the provided window, running the checker only on early panes for each key.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">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">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> with the assertion restricted to only run on the |
| provided window, running the checker only on late panes for each key.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> like this one but with the assertion only applied to |
| the specified window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEqualTo-java.lang.Object-"> |
| <!-- --> |
| </a><a name="isEqualTo-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEqualTo</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>> isEqualTo(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a> expected)</pre> |
| <div class="block">Asserts that the value in question is equal to the provided value, according to <code>Object.equals(java.lang.Object)</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</code></a> builder for further assertions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="notEqualTo-java.lang.Object-"> |
| <!-- --> |
| </a><a name="notEqualTo-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notEqualTo</h4> |
| <pre><a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>> notEqualTo(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a> notExpected)</pre> |
| <div class="block">Asserts that the value in question is not equal to the provided value, according to <code>Object.equals(java.lang.Object)</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.SingletonAssert</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>> satisfies(<a href="../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a><<a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="type parameter in PAssert.SingletonAssert">T</a>,java.lang.Void> checkerFn)</pre> |
| <div class="block">Applies the provided checking function (presumably containing assertions) to the value in |
| question.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.SingletonAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.SingletonAssert</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.PCollectionContentsAssert.MatcherCheckerFn.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/RegexMatcher.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.SingletonAssert.html" target="_top">Frames</a></li> |
| <li><a href="PAssert.SingletonAssert.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> |