⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlinput.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DL><HR><A NAME="readDate()"><!-- --></A><H3>readDate</H3><PRE>public <A HREF="../../java/sql/Date.html">Date</A> <B>readDate</B>()              throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads the next attribute in the stream as a <code>java.sql.Date</code> object.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readTime()"><!-- --></A><H3>readTime</H3><PRE>public <A HREF="../../java/sql/Time.html">Time</A> <B>readTime</B>()              throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads the next attribute in the stream as a <code>java.sql.Time</code> object.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readTimestamp()"><!-- --></A><H3>readTimestamp</H3><PRE>public <A HREF="../../java/sql/Timestamp.html">Timestamp</A> <B>readTimestamp</B>()                        throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads the next attribute in the stream as a <code>java.sql.Timestamp</code> object.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readCharacterStream()"><!-- --></A><H3>readCharacterStream</H3><PRE>public <A HREF="../../java/io/Reader.html">Reader</A> <B>readCharacterStream</B>()                           throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Returns the next attribute in the stream as a stream of Unicode characters.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readAsciiStream()"><!-- --></A><H3>readAsciiStream</H3><PRE>public <A HREF="../../java/io/InputStream.html">InputStream</A> <B>readAsciiStream</B>()                            throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Returns the next attribute in the stream as a stream of ASCII characters.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readBinaryStream()"><!-- --></A><H3>readBinaryStream</H3><PRE>public <A HREF="../../java/io/InputStream.html">InputStream</A> <B>readBinaryStream</B>()                             throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Returns the next attribute in the stream as a stream of uninterpreted bytes.<DD><DL><DT><B>Returns:</B><DD>the attribute; if the value is SQL <code>NULL</code>, returns <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readObject()"><!-- --></A><H3>readObject</H3><PRE>public <A HREF="../../java/lang/Object.html">Object</A> <B>readObject</B>()                  throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Returns the datum at the head of the stream as an <code>Object</code> in the Java programming language.  The actual type of the object returned is determined by the default type mapping, and any customizations present in this stream's type map. <P>A type map is registered with the stream by the JDBC driver before the stream is passed to the application. <P>When the datum at the head of the stream is an SQL <code>NULL</code>,  the method returns <code>null</code>.  If the datum is an SQL structured or distinct type, it determines the SQL type of the datum at the head of the stream.  If the stream's type map has an entry for that SQL type, the driver constructs an object of the appropriate class and calls the method  <code>SQLData.readSQL</code> on that object, which reads additional data from the  stream, using the protocol described for that method.<DD><DL><DT><B>Returns:</B><DD>the datum at the head of the stream as an <code>Object</code> in the Java programming language;<code>null</code> if the datum is SQL <code>NULL</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readRef()"><!-- --></A><H3>readRef</H3><PRE>public <A HREF="../../java/sql/Ref.html">Ref</A> <B>readRef</B>()            throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads an SQL <code>REF</code> value from the stream and returns it as a <code>Ref</code> object in the Java programming language.<DD><DL><DT><B>Returns:</B><DD>a <code>Ref</code> object representing the SQL <code>REF</code> value at the head of the stream; <code>null</code> if the value read is  SQL <code>NULL</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readBlob()"><!-- --></A><H3>readBlob</H3><PRE>public <A HREF="../../java/sql/Blob.html">Blob</A> <B>readBlob</B>()              throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads an SQL <code>BLOB</code> value from the stream and returns it as a <code>Blob</code> object in the Java programming language.<DD><DL><DT><B>Returns:</B><DD>a <code>Blob</code> object representing data of the SQL <code>BLOB</code> value at the head of the stream; <code>null</code> if the value read is  SQL <code>NULL</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readClob()"><!-- --></A><H3>readClob</H3><PRE>public <A HREF="../../java/sql/Clob.html">Clob</A> <B>readClob</B>()              throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads an SQL <code>CLOB</code> value from the stream and returns it as a <code>Clob</code> object in the Java programming language.<DD><DL><DT><B>Returns:</B><DD>a <code>Clob</code> object representing data of the SQL <code>CLOB</code> value at the head of the stream; <code>null</code> if the value read is  SQL <code>NULL</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="readArray()"><!-- --></A><H3>readArray</H3><PRE>public <A HREF="../../java/sql/Array.html">Array</A> <B>readArray</B>()                throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Reads an SQL <code>ARRAY</code> value from the stream and returns it as an <code>Array</code> object in the Java programming language.<DD><DL><DT><B>Returns:</B><DD>an <code>Array</code> object representing data of the SQL <code>ARRAY</code> value at the head of the stream; <code>null</code> if the value read is SQL <code>NULL</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><HR><A NAME="wasNull()"><!-- --></A><H3>wasNull</H3><PRE>public boolean <B>wasNull</B>()                throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Determines whether the last value read was SQL <code>NULL</code>.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if the most recently read SQL value was SQL <code>NULL</code>; otherwise, <code>false</code><DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SQLInput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../java/sql/SQLData.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/sql/SQLOutput.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SQLInput.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -