<li><ahref="../../../org/mozilla/mentat/Query.html"title="class in org.mozilla.mentat"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../org/mozilla/mentat/RelResultHandler.html"title="interface in org.mozilla.mentat"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<dd><ahref="https://developer.android.com/reference/java/lang/AutoCloseable.html?is-external=true"title="class or interface in java.lang">AutoCloseable</a>, <ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true"title="class or interface in java.lang">Iterable</a><<ahref="../../../org/mozilla/mentat/TupleResult.html"title="class in org.mozilla.mentat">TupleResult</a>></dd>
<pre>public class <spanclass="typeNameLabel">RelResult</span>
extends <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>
implements <ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true"title="class or interface in java.lang">Iterable</a><<ahref="../../../org/mozilla/mentat/TupleResult.html"title="class in org.mozilla.mentat">TupleResult</a>></pre>
<divclass="block">Wraps a `Rel` result from a Mentat query.
A `Rel` result is a list of rows of `TypedValues`.
Individual rows can be fetched or the set can be iterated.
</p>
To fetch individual rows from a `RelResult` use `row(Int32)`.
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../org/mozilla/mentat/RelResult.html#RelResult-org.mozilla.mentat.JNA.RelResult-">RelResult</a></span>(<ahref="../../../org/mozilla/mentat/JNA.RelResult.html"title="class in org.mozilla.mentat">JNA.RelResult</a> pointer)</code> </td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../org/mozilla/mentat/RelResult.html#destroyPointer-org.mozilla.mentat.JNA.RelResult-">destroyPointer</a></span>(<ahref="../../../org/mozilla/mentat/JNA.RelResult.html"title="class in org.mozilla.mentat">JNA.RelResult</a> p)</code> </td>
<tdclass="colFirst"><code><ahref="../../../org/mozilla/mentat/RelResultIterator.html"title="class in org.mozilla.mentat">RelResultIterator</a></code></td>
<h3>Methods inherited from class java.lang.<ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString--"title="class or interface in java.lang">toString</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-int-"title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from interface java.lang.<ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true"title="class or interface in java.lang">Iterable</a></h3>
<code><ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-"title="class or interface in java.lang">forEach</a>, <ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true#spliterator--"title="class or interface in java.lang">spliterator</a></code></li>
<pre>public RelResult(<ahref="../../../org/mozilla/mentat/JNA.RelResult.html"title="class in org.mozilla.mentat">JNA.RelResult</a> pointer)</pre>
<pre>public <ahref="../../../org/mozilla/mentat/TupleResult.html"title="class in org.mozilla.mentat">TupleResult</a> rowAtIndex(int index)</pre>
<divclass="block">Fetch the row at the requested index.
TODO: Throw an exception if the result set has already been iterated.</div>
<dd><code>index</code> - the index of the row to be fetched</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The row at the requested index as a `TupleResult`, if present, or nil if there is no row at that index.</dd>
</dl>
</li>
</ul>
<aname="iterator--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>iterator</h4>
<pre>public <ahref="../../../org/mozilla/mentat/RelResultIterator.html"title="class in org.mozilla.mentat">RelResultIterator</a> iterator()</pre>
<dd><code><ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true#iterator--"title="class or interface in java.lang">iterator</a></code> in interface <code><ahref="https://developer.android.com/reference/java/lang/Iterable.html?is-external=true"title="class or interface in java.lang">Iterable</a><<ahref="../../../org/mozilla/mentat/TupleResult.html"title="class in org.mozilla.mentat">TupleResult</a>></code></dd>
<pre>protected void destroyPointer(<ahref="../../../org/mozilla/mentat/JNA.RelResult.html"title="class in org.mozilla.mentat">JNA.RelResult</a> p)</pre>
<dd><code><ahref="https://developer.android.com/reference/java/lang/AutoCloseable.html?is-external=true#close--"title="class or interface in java.lang">close</a></code> in interface <code><ahref="https://developer.android.com/reference/java/lang/AutoCloseable.html?is-external=true"title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dd><code><ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a></code> in class <code><ahref="https://developer.android.com/reference/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></dd>
<li><ahref="../../../org/mozilla/mentat/Query.html"title="class in org.mozilla.mentat"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../org/mozilla/mentat/RelResultHandler.html"title="interface in org.mozilla.mentat"><spanclass="typeNameLink">Next Class</span></a></li>