<html> <head> <title>Struct FetchResult</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="FetchResult-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">ucb</a> :: </p> </td> </tr> <tr> <td class="title">struct FetchResult</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>contains data of several rows of a <a href="ContentResultSet.html">ContentResultSet</a>. </dd> <dd><p>This struct is returned from <a href="XFetchProvider.html">XFetchProvider</a>::<a href="XFetchProvider.html#fetch">fetch</a>, for example. </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#Rows">Rows</a></td> <td class="imsum_right">contains the demanded data. </td> </tr> <tr> <td class="imsum_left"><a href="#StartIndex">StartIndex</a></td> <td class="imsum_right">indicates the index of the first row contained in <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a> in the original resultset. So if <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#StartIndex">StartIndex</a> equals <code>3</code>, the first element in the sequence <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a> contains the data of the index <code>3</code> in the original resultset. </td> </tr> <tr> <td class="imsum_left"><a href="#Orientation">Orientation</a></td> <td class="imsum_right">indicates the orientation in which the rows are fetched and set into the sequence <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a>. </td> </tr> <tr> <td class="imsum_left"><a href="#FetchError">FetchError</a></td> <td class="imsum_right">indicates whether and which error has occured, while fetching. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="Rows" class="membertitle">Rows</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>sequence< any > <b>Rows</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the demanded data. </dd> <dd><p>One any contains the data of one whole row. Those methods which use this struct have to specify, what the any has to contain. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="StartIndex" class="membertitle">StartIndex</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>StartIndex</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates the index of the first row contained in <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a> in the original resultset. So if <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#StartIndex">StartIndex</a> equals <code>3</code>, the first element in the sequence <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a> contains the data of the index <code>3</code> in the original resultset. </dd> <dd><p>The following rows are one after the other, but the direction depends on the value of <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Direction">Direction</a> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Orientation" class="membertitle">Orientation</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Orientation</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates the orientation in which the rows are fetched and set into the sequence <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a>. </dd> <dd><p>When <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Orientation">Orientation</a> equals <b>true</b>, the rows in <a href="FetchResult.html">FetchResult</a>::<a href="FetchResult.html#Rows">Rows</a> are ordered in the same way as in the original resultset. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FetchError" class="membertitle">FetchError</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>FetchError</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates whether and which error has occured, while fetching. </dd> <dd><p>The value may contain zero or more constants of the <a href="FetchError.html">FetchError</a> constants group. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>