ia">Expression</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&gt;&nbsp;restriction)</span></div>
<div class="block">Modify the join to restrict the result according to the
 specified ON condition and return the join object.  
 Replaces the previous ON condition, if any.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>restriction</code> - a simple or compound boolean express