Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\oracle\olapi\data\cursor\ValueCursor.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> ValueCursor (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="oracle.olapi.data.cursor.ValueCursor interface"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="ValueCursor (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/StructureUpdatedException.html" title="class in oracle.olapi.data.cursor"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/cursor/ValueCursor.html" target="_top"><B>FRAMES</B></A> <A HREF="ValueCursor.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | 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 ValueCursor</H2> <DL> <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html" title="interface in oracle.olapi.data.cursor">Cursor</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>ValueCursor</B><DT>extends <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html" title="interface in oracle.olapi.data.cursor">Cursor</A></DL> </PRE> <P> A <code>Cursor</code> that has a value at its current position. A value can be any of the OLAP API data types or a <code>Source</code>. <p> The value at the current position of a <code>ValueCursor</code> can also be <code>null</code>, in which case the <code>hasCurrentValue</code> method returns <code>false</code>. An example of a <code>ValueCursor</code> with an element whose value is <code>null</code> is the <code>Cursor</code> for a <code>Source</code> that was returned by the <code>getVoidSource</code> method of a <code>DataProvider</code>. Such a <code>Source</code> has one element whose value is <code>null</code>. In contrast, a <code>Source</code> returned by the <code>getEmptySource</code> method of a <code>DataProvider</code> has no elements, so it has no values, not even a <code>null</code> value. You cannot create a <code>ValueCursor</code> for an empty <code>Source</code> because the result set has no elements. <p> A <code>ValueCursor</code> can have a single value or many values. For a <code>ValueCursor</code> that is a descendent of a <code>CompoundCursor</code>, the number of values it has, and therefore the number of positions, is specified by the set of values of the slower-varying outputs of the <code>CompoundCursor</code>. For example, a measure that has three dimensions might have a single value for any one set of its selected dimension values. If an application creates a query based on the measure and each dimension is an output in the query, then the base <code>ValueCursor</code> for the query has a single value (and only one position) for each set of values of the outputs. <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> </TABLE> <A NAME="fields_inherited_from_class_oracle.olapi.data.cursor.Cursor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface oracle.olapi.data.cursor.<A HREF="../../../../oracle/olapi/data/cursor/Cursor.html" title="interface in oracle.olapi.data.cursor">Cursor</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#FETCH_SIZE_NOT_SPECIFIED">FETCH_SIZE_NOT_SPECIFIED</A></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> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentBoolean()">getCurrentBoolean</A></B>()</CODE> <BR> Gets the <code>boolean</code> value at the current position in the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Date</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentDate()">getCurrentDate</A></B>()</CODE> <BR> Gets the <code>Date</code> value at the current position in the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentDouble()">getCurrentDouble</A></B>()</CODE> <BR> Gets the <code>double</code> value at the current position in the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentFloat()">getCurrentFloat</A></B>()</CODE> <BR> Gets the <code>float</code> value at the current position in the <code>ValueCursor</code>.</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/ValueCursor.html#getCurrentInteger()">getCurrentInteger</A></B>()</CODE> <BR> Gets the <code>int</code> value at the current position in the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> short</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentShort()">getCurrentShort</A></B>()</CODE> <BR> Gets the <code>short</code> value at the current position in the <code>ValueCursor</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/ValueCursor.html#getCurrentSource()">getCurrentSource</A></B>()</CODE> <BR> Gets the <code>SourceIdentifier</code> for the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentString()">getCurrentString</A></B>()</CODE> <BR> Gets the <code>String</code> value at the current position in the <code>ValueCursor</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/cursor/ValueCursor.html#getCurrentValue()">getCurrentValue</A></B>()</CODE> <BR> Gets the value at the current position of the <code>ValueCursor</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/ValueCursor.html#hasCurrentValue()">hasCurrentValue</A></B>()</CODE> <BR> Indicates whether the <code>ValueCursor</code> has a value at its current position.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_oracle.olapi.data.cursor.Cursor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface oracle.olapi.data.cursor.<A HREF="../../../../oracle/olapi/data/cursor/Cursor.html" title="interface in oracle.olapi.data.cursor">Cursor</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getExtent()">getExtent</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getFetchSize()">getFetchSize</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getParentEnd()">getParentEnd</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getParentStart()">getParentStart</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getPosition()">getPosition</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#getSource()">getSource</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#next()">next</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#setFetchSize(int)">setFetchSize</A>, <A HREF="../../../../oracle/olapi/data/cursor/Cursor.html#setPosition(long)">setPosition</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ 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="hasCurrentValue()"><!-- --></A><H3> hasCurrentValue</H3> <PRE> boolean <B>hasCurrentValue</B>()</PRE> <DL> <DD>Indicates whether the <code>ValueCursor</code> has a value at its current position. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD><code>true</code> if the <code>ValueCursor</code> has a value at its current position and <code>false</code> if it does not.</DL> </DD> </DL> <HR> <A NAME="getCurrentValue()"><!-- --></A><H3> getCurrentValue</H3> <PRE> java.lang.Object <B>getCurrentValue</B>()</PRE> <DL> <DD>Gets the value at the current position of the <code>ValueCursor</code>. The value can be a <code>Source</code> or any of the specific data types such as <code>boolean</code>, <code>integer</code>, or <code>String</code>. This method is less efficient than the more specific methods, but <code>getCurrentValue</code> can return any value. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentBoolean()"><!-- --></A><H3> getCurrentBoolean</H3> <PRE> boolean <B>getCurrentBoolean</B>()</PRE> <DL> <DD>Gets the <code>boolean</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>boolean</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentString()"><!-- --></A><H3> getCurrentString</H3> <PRE> java.lang.String <B>getCurrentString</B>()</PRE> <DL> <DD>Gets the <code>String</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>String</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentShort()"><!-- --></A><H3> getCurrentShort</H3> <PRE> short <B>getCurrentShort</B>()</PRE> <DL> <DD>Gets the <code>short</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>short</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentInteger()"><!-- --></A><H3> getCurrentInteger</H3> <PRE> int <B>getCurrentInteger</B>()</PRE> <DL> <DD>Gets the <code>int</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>int</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentFloat()"><!-- --></A><H3> getCurrentFloat</H3> <PRE> float <B>getCurrentFloat</B>()</PRE> <DL> <DD>Gets the <code>float</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>float</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentDouble()"><!-- --></A><H3> getCurrentDouble</H3> <PRE> double <B>getCurrentDouble</B>()</PRE> <DL> <DD>Gets the <code>double</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>double</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentDate()"><!-- --></A><H3> getCurrentDate</H3> <PRE> java.util.Date <B>getCurrentDate</B>()</PRE> <DL> <DD>Gets the <code>Date</code> value at the current position in the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>Date</code> value at the current position.</DL> </DD> </DL> <HR> <A NAME="getCurrentSource()"><!-- --></A><H3> getCurrentSource</H3> <PRE> <A HREF="../../../../oracle/olapi/data/cursor/SourceIdentifier.html" title="interface in oracle.olapi.data.cursor">SourceIdentifier</A> <B>getCurrentSource</B>()</PRE> <DL> <DD>Gets the <code>SourceIdentifier</code> for the <code>ValueCursor</code>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The <code>SourceIdentifier</code> for the <code>ValueCursor</code>.</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/StructureUpdatedException.html" title="class in oracle.olapi.data.cursor"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/cursor/ValueCursor.html" target="_top"><B>FRAMES</B></A> <A HREF="ValueCursor.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | 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