📄 sqloutput.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/SQLOutput.html#writeLong(long)">writeLong</A></B>(long x)</CODE><BR> Writes the next attribute to the stream as a Java long.</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="../../java/sql/SQLOutput.html#writeObject(java.sql.SQLData)">writeObject</A></B>(<A HREF="../../java/sql/SQLData.html">SQLData</A> x)</CODE><BR> Writes to the stream the data contained in the given <code>SQLData</code> object.</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="../../java/sql/SQLOutput.html#writeRef(java.sql.Ref)">writeRef</A></B>(<A HREF="../../java/sql/Ref.html">Ref</A> x)</CODE><BR> Writes an SQL <code>REF</code> value to the stream.</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="../../java/sql/SQLOutput.html#writeShort(short)">writeShort</A></B>(short x)</CODE><BR> Writes the next attribute to the stream as a Java short.</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="../../java/sql/SQLOutput.html#writeString(java.lang.String)">writeString</A></B>(<A HREF="../../java/lang/String.html">String</A> x)</CODE><BR> Writes the next attribute to the stream as a <code>String</code> in the Java programming language.</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="../../java/sql/SQLOutput.html#writeStruct(java.sql.Struct)">writeStruct</A></B>(<A HREF="../../java/sql/Struct.html">Struct</A> x)</CODE><BR> Writes an SQL structured type value to the stream.</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="../../java/sql/SQLOutput.html#writeTime(java.sql.Time)">writeTime</A></B>(<A HREF="../../java/sql/Time.html">Time</A> x)</CODE><BR> Writes the next attribute to the stream as a java.sql.Time object.</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="../../java/sql/SQLOutput.html#writeTimestamp(java.sql.Timestamp)">writeTimestamp</A></B>(<A HREF="../../java/sql/Timestamp.html">Timestamp</A> x)</CODE><BR> Writes the next attribute to the stream as a java.sql.Timestamp object.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="writeString(java.lang.String)"><!-- --></A><H3>writeString</H3><PRE>public void <B>writeString</B>(<A HREF="../../java/lang/String.html">String</A> x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeBoolean(boolean)"><!-- --></A><H3>writeBoolean</H3><PRE>public void <B>writeBoolean</B>(boolean x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java boolean. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeByte(byte)"><!-- --></A><H3>writeByte</H3><PRE>public void <B>writeByte</B>(byte x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java byte. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeShort(short)"><!-- --></A><H3>writeShort</H3><PRE>public void <B>writeShort</B>(short x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java short. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeInt(int)"><!-- --></A><H3>writeInt</H3><PRE>public void <B>writeInt</B>(int x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java int. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeLong(long)"><!-- --></A><H3>writeLong</H3><PRE>public void <B>writeLong</B>(long x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java long. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeFloat(float)"><!-- --></A><H3>writeFloat</H3><PRE>public void <B>writeFloat</B>(float x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java float. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeDouble(double)"><!-- --></A><H3>writeDouble</H3><PRE>public void <B>writeDouble</B>(double x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a Java double. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeBigDecimal(java.math.BigDecimal)"><!-- --></A><H3>writeBigDecimal</H3><PRE>public void <B>writeBigDecimal</B>(<A HREF="../../java/math/BigDecimal.html">BigDecimal</A> x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as a java.math.BigDecimal object. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<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="writeBytes(byte[])"><!-- --></A><H3>writeBytes</H3><PRE>public void <B>writeBytes</B>(byte[] x) throws <A HREF="../../java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Writes the next attribute to the stream as an array of bytes. Writes the next attribute to the stream as a <code>String</code> in the Java programming language.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value to pass to the database<DT><B>Throws:</B><DD><CODE><A HREF="../../java/sql/SQLException.html">SQLException</A></CODE> - if a database access error occurs</DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -