Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\oracle\olapi\data\cursor\Cursor.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_17) on Wed Aug 12 19:50:19 UTC 2009 --> <TITLE> Cursor (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="oracle.olapi.data.cursor.Cursor interface"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Cursor (Oracle OLAP Java API Reference)"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Oracle® OLAP Java API Reference<br>11<i>g</i> Release 2 (11.2)</b><br>E10794-01<br>Beta Draft</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../oracle/olapi/data/cursor/CompoundCursor.html" title="interface in oracle.olapi.data.cursor"><B>PREV CLASS</B></A> <A HREF="../../../../oracle/olapi/data/cursor/CursorManager.html" title="interface in oracle.olapi.data.cursor"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/cursor/Cursor.html" target="_top"><B>FRAMES</B></A> <A HREF="Cursor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> oracle.olapi.data.cursor</FONT> <BR> Interface Cursor</H2> <DL> <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../oracle/olapi/data/cursor/CompoundCursor.html" title="interface in oracle.olapi.data.cursor">CompoundCursor</A>, <A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html" title="interface in oracle.olapi.data.cursor">ValueCursor</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>Cursor</B></DL> </PRE> <P> An interface for objects that provide access to the result set of a query. A query is represented by a <code>Source</code>. A <code>Cursor</code> communicates the query to Oracle OLAP and fetches the resulting data. <p> At any time, one element of a <code>Cursor</code> is in the current position of the <code>Cursor</code>. The <code>getPosition</code> method returns the current position and the <code>setPosition</code> and <code>next</code> methods change the current position. The extent of a <code>Cursor</code> is the total number of positions of the <code>Cursor</code>. </p> <p> An <code>Source</code> is associated with a <code>Transaction</code>. A <code>Source</code> is active in the <code>Transaction</code> with which it is associated or in a descendent of that <code>Transaction</code>. Before an application can create a <code>Cursor</code> for a <code>Source</code>, the current <code>Transaction</code> must be the one with which the <code>Source</code> is associated or it must be a descendent of that <code>Transaction</code>. For more information on transactions, see the <A HREF="../../../../oracle/olapi/transaction/TransactionProvider.html" title="interface in oracle.olapi.transaction"><CODE>TransactionProvider</CODE></A> interface. <p> An application creates a <code>Cursor</code> for a <code>Source</code> by calling the <CODE>createCursor</CODE> method of a <code>CursorManager</code>. The following example demonstrates creating a <code>Cursor</code> for a <CODE>Source</CODE> named <CODE>query</CODE>. <pre> CursorManager cursorManager = dataProvider.createCursorManager(query); Cursor cursor = cursorManager.createCursor();</pre> An application can create more than one <code>Cursor</code> from the same <code>CursorManager</code>. It would do this if, for example, it wanted to display different views of the same data. <P> The <code>Cursor</code> interface has two subinterfaces: <code>CompoundCursor</code> and <code>ValueCursor</code>. The type of <code>Cursor</code> returned by the <code>createCursor</code> method is determined by the structure of the <code>Source</code> for the <code>Cursor</code>. If the <code>Source</code> for the <code>Cursor</code> has no outputs, then the <code>Cursor</code> has only one set of values and the <code>createCursor</code> method returns a <code>ValueCursor</code>, the elements of which have the values specified by the <code>Source</code>. If the <code>Source</code> has one or more outputs, then the <code>createCursor</code> method returns a <code>CompoundCursor</code>. <p> A <code>CompoundCursor</code> has two or more child <code>Cursor</code> objects. The children are the base <code>ValueCursor</code> for the <code>CompoundCursor</code> and a <CODE>Cursor</CODE> object for each output of the <CODE>Source</CODE>. If the output of the <code>Source</code> is a <code>Source</code> that itself has one or more outputs, then the child <code>Cursor</code> for that output is another <code>CompoundCursor</code>. If the output is a <code>Source</code> that has no outputs, then the child <code>Cursor</code> is a <code>ValueCursor</code>. Each position of a <code>CompoundCursor</code> specifies a position for each of the <code>ValueCursor</code> objects in the tree of the descendents of the <code>CompoundCursor</code>. </p> <p> An application can affect the behavior of a <CODE>Cursor</CODE> by creating a <code>CursorSpecification</code>, which implements the <CODE>CursorInfoSpecification</CODE> interface. An application creates a <CODE>CursorInfoSpecification</CODE> with the <CODE>createCursorInfoSpecification</CODE> method of a <CODE>DataProvider</CODE>. With a <code>CursorSpecification</code>, an application can specify whether Oracle OLAP calculates the extent of a <code>Cursor</code> or the starting and ending positions of the current value of a child <code>Cursor</code> in the parent <code>Cursor</code>. If a <CODE>CursorSpecification</CODE> specifies those calculations, then the application can retrieve information with the <code>getExtent</code>, <code>getParentStart</code>, or <code>getParentEnd</code> methods. By subtracting the starting position of the current value of a child in the parent from the ending position of the value and adding one, you can calculate the range of positions, or span, of the value of the child <code>Cursor</code>. </p> <p> The extent of a child <code>ValueCursor</code> in a parent <code>CompoundCursor</code> is the number of positions the <code>ValueCursor</code> has for the set of values specified by the other <code>ValueCursor</code> descendents. For example, if a <code>Source</code> defines the result set for a measure, which has only one value for any set of values of the dimensions of the measure, then the <code>ValueCursor</code> that has the values of the measure has only one position for any one set of output values. The extent of that <code>ValueCursor</code> is, therefore, always 1. </p> <p> The fetch size of a <code>Cursor</code> specifies the number of elements of the <code>Cursor</code> that Oracle OLAP sends to the client application during a single fetch from the data store. If the <code>CursorSpecification</code> for the <code>Cursor</code> is set to specify the default fetch size, you can retrieve the fetch size by calling the <code>getFetchSize</code> method. You can change the fetch size by calling the <code>setFetchSize</code> method. </p> <p> Some <code>Source</code> objects cannot have a <code>Cursor</code>. You cannot retrieve results with a <code>Cursor</code> for a <code>Source</code> if one of the following is true: <ul> <li>The <code>Source</code> has an input. <li>The <code>Source</code> has no elements or the <code>Source</code> has an input that has no elements. <li>The query is not computationally possible; for example, the query involves an infinite recursion. <li>The result set is infinite; for example, the <code>Source</code> represents all integers. </ul> <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#FETCH_SIZE_NOT_SPECIFIED">FETCH_SIZE_NOT_SPECIFIED</A></B></CODE> <BR> A constant value returned by the <code>getDefaultFetchSize</code> method of a <code>CursorSpecification</code> object if the default fetch size is not specified by the <code>CursorSpecification</code>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getExtent()">getExtent</A></B>()</CODE> <BR> Gets the total number of positions of the <code>Cursor</code> if the <code>CursorSpecification</code> associated with the <code>Cursor</code> is set to calculate the extent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getFetchSize()">getFetchSize</A></B>()</CODE> <BR> Gets the fetch size for the <code>Cursor</code> if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to specify the fetch size.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getParentEnd()">getParentEnd</A></B>()</CODE> <BR> Gets the position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> ends if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to calculate the ending position.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getParentStart()">getParentStart</A></B>()</CODE> <BR> Gets the position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> begins if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to calculate the beginning position.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getPosition()">getPosition</A></B>()</CODE> <BR> Gets the current position of the <code>Cursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../oracle/olapi/data/cursor/SourceIdentifier.html" title="interface in oracle.olapi.data.cursor">SourceIdentifier</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getSource()">getSource</A></B>()</CODE> <BR> Gets the <code>SourceIdentifier</code> for the <code>Cursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#next()">next</A></B>()</CODE> <BR> Advances the position of the <code>Cursor</code> to the next element if the current position is not the last position of the <code>Cursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#setFetchSize(int)">setFetchSize</A></B>(int fetchSize)</CODE> <BR> Specifies the fetch size for the <code>Cursor</code> if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to specify the fetch size.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#setPosition(long)">setPosition</A></B>(long position)</CODE> <BR> Specifies a position to set as the current position of the <code>Cursor</code>.</TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="FETCH_SIZE_NOT_SPECIFIED"><!-- --></A><H3> FETCH_SIZE_NOT_SPECIFIED</H3> <PRE> static final int <B>FETCH_SIZE_NOT_SPECIFIED</B></PRE> <DL> <DD>A constant value returned by the <code>getDefaultFetchSize</code> method of a <code>CursorSpecification</code> object if the default fetch size is not specified by the <code>CursorSpecification</code>. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#oracle.olapi.data.cursor.Cursor.FETCH_SIZE_NOT_SPECIFIED">Constant Field Values</A></DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getSource()"><!-- --></A><H3> getSource</H3> <PRE> <A HREF="../../../../oracle/olapi/data/cursor/SourceIdentifier.html" title="interface in oracle.olapi.data.cursor">SourceIdentifier</A> <B>getSource</B>()</PRE> <DL> <DD>Gets the <code>SourceIdentifier</code> for the <code>Cursor</code>. <P> <DD><DL> <DT><B>Returns:</B><DD>The <code>SourceIdentifier</code> for the <code>Cursor</code>.</DL> </DD> </DL> <HR> <A NAME="getPosition()"><!-- --></A><H3> getPosition</H3> <PRE> long <B>getPosition</B>()</PRE> <DL> <DD>Gets the current position of the <code>Cursor</code>. <P> <DD><DL> <DT><B>Returns:</B><DD>The current position of the <code>Cursor</code>.</DL> </DD> </DL> <HR> <A NAME="setPosition(long)"><!-- --></A><H3> setPosition</H3> <PRE> void <B>setPosition</B>(long position) throws <A HREF="../../../../oracle/olapi/data/cursor/PositionOutOfBoundsException.html" title="class in oracle.olapi.data.cursor">PositionOutOfBoundsException</A></PRE> <DL> <DD>Specifies a position to set as the current position of the <code>Cursor</code>. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>position</CODE> - The position to set as the current position of the <code>Cursor</code>. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/PositionOutOfBoundsException.html" title="class in oracle.olapi.data.cursor">PositionOutOfBoundsException</A></CODE> - Indicates that the specified position is not valid.</DL> </DD> </DL> <HR> <A NAME="next()"><!-- --></A><H3> next</H3> <PRE> boolean <B>next</B>()</PRE> <DL> <DD>Advances the position of the <code>Cursor</code> to the next element if the current position is not the last position of the <code>Cursor</code>. <P> <DD><DL> <DT><B>Returns:</B><DD><code>true</code> when the method successfully advances the position of the <code>Cursor</code> and <code>false</code> when it does not.</DL> </DD> </DL> <HR> <A NAME="getExtent()"><!-- --></A><H3> getExtent</H3> <PRE> long <B>getExtent</B>() throws <A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></PRE> <DL> <DD>Gets the total number of positions of the <code>Cursor</code> if the <code>CursorSpecification</code> associated with the <code>Cursor</code> is set to calculate the extent. The extent of a <code>ValueCursor</code> that is a descendent in a <code>CompoundCursor</code> is determined by the values of the other outputs. <P> <DD><DL> <DT><B>Returns:</B><DD>The total number of positions of the <code>Cursor</code>. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></CODE> - Indicates that the <CODE>CursorSpecification</CODE> does not specify calculating the extent.</DL> </DD> </DL> <HR> <A NAME="getParentStart()"><!-- --></A><H3> getParentStart</H3> <PRE> long <B>getParentStart</B>() throws <A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></PRE> <DL> <DD>Gets the position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> begins if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to calculate the beginning position. <P> <DD><DL> <DT><B>Returns:</B><DD>The position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> begins. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></CODE> - Indicates that the <CODE>CursorSpecification</CODE> does not specify calculating the beginning position.</DL> </DD> </DL> <HR> <A NAME="getParentEnd()"><!-- --></A><H3> getParentEnd</H3> <PRE> long <B>getParentEnd</B>() throws <A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></PRE> <DL> <DD>Gets the position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> ends if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to calculate the ending position. <P> <DD><DL> <DT><B>Returns:</B><DD>The position in the parent <code>Cursor</code> at which the current element of the child <code>Cursor</code> ends. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></CODE> - Indicates that the <CODE>CursorSpecification</CODE> does not specify calculating the ending position.</DL> </DD> </DL> <HR> <A NAME="getFetchSize()"><!-- --></A><H3> getFetchSize</H3> <PRE> int <B>getFetchSize</B>() throws <A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></PRE> <DL> <DD>Gets the fetch size for the <code>Cursor</code> if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to specify the fetch size. <P> <DD><DL> <DT><B>Returns:</B><DD>The fetch size specified for the <code>Cursor</code>. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></CODE></DL> </DD> </DL> <HR> <A NAME="setFetchSize(int)"><!-- --></A><H3> setFetchSize</H3> <PRE> void <B>setFetchSize</B>(int fetchSize) throws <A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></PRE> <DL> <DD>Specifies the fetch size for the <code>Cursor</code> if the <code>CursorSpecification</code> for the <code>Cursor</code> is set to specify the fetch size. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fetchSize</CODE> - The fetch size to specify for the <code>Cursor</code>. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../oracle/olapi/data/cursor/NotSpecifiedException.html" title="class in oracle.olapi.data.cursor">NotSpecifiedException</A></CODE> - Indicates that the <CODE>CursorSpecification</CODE> does not specify setting a fetch size.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <center>Copyright © 2002, 2009, Oracle. All rights reserved.</center></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../oracle/olapi/data/cursor/CompoundCursor.html" title="interface in oracle.olapi.data.cursor"><B>PREV CLASS</B></A> <A HREF="../../../../oracle/olapi/data/cursor/CursorManager.html" title="interface in oracle.olapi.data.cursor"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/cursor/Cursor.html" target="_top"><B>FRAMES</B></A> <A HREF="Cursor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de