このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XSQLInput
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: sdbc ::

interface XSQLInput
Description
代表するs an input stream that 含む/封じ込めるs a stream of values 代表するing an instance of a SQL structured or 際立った type.

This interface, used only for custom mapping, is used by the driver behind the scenes, and a programmer never 直接/まっすぐに invokes SQLInput methods.

When the method getObject is called with an 反対する of a service 器具/実施するing the interface SQLData , the SDBC driver calls the method XSQLData::getSQLType() to 決定する the SQL type of the 使用者-defined type (UDT) 存在 custom mapped. The driver creates an instance of XSQLInput , 居住させるing it with the せいにするs of the UDT. The driver then passes the input stream to the method XSQLData::readSQL() , which in turn calls the XSQLInput.readXXX methods in its 実施 for reading the せいにするs from the input stream.


Methods' 要約
readString reads the next せいにする in the stream as string.  
readBoolean reads the next せいにする in the stream as boolean.  
readByte reads the next せいにする in the stream as byte.  
readShort reads the next せいにする in the stream as short.  
readInt reads the next せいにする in the stream as long.  
readLong reads the next せいにする in the stream as hyper.  
readFloat reads the next せいにする in the stream as float.  
readDouble reads the next せいにする in the stream as 二塁打.  
readBytes reads the next せいにする in the stream as sequence of bytes.  
readDate reads the next せいにする in the stream as date.  
readTime reads the next せいにする in the stream as time.  
readTimestamp reads the next せいにする in the stream as datetime.  
readBinaryStream reads the next せいにする in the stream as sequence of bytes.  
readCharacterStream reads the next せいにする in the stream as a unicode string.  
readObject returns the datum at the 長,率いる of the stream as an any.  
readRef reads a REF(<structured-type>) from the stream.  
readBlob reads a BLOB from the stream.  
readClob reads a CLOB from the stream.  
readArray reads an array from the stream.  
wasNull 決定するs whether the last value read was null.  
Methods' 詳細(に述べる)s
readString
string
readString()
raises( SQLException );

Description
reads the next せいにする in the stream as string.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readBoolean
boolean
readBoolean()
raises( SQLException );

Description
reads the next せいにする in the stream as boolean.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readByte
byte
readByte()
raises( SQLException );

Description
reads the next せいにする in the stream as byte.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readShort
short
readShort()
raises( SQLException );

Description
reads the next せいにする in the stream as short.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readInt
long
readInt()
raises( SQLException );

Description
reads the next せいにする in the stream as long.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readLong
hyper
readLong()
raises( SQLException );

Description
reads the next せいにする in the stream as hyper.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readFloat
float
readFloat()
raises( SQLException );

Description
reads the next せいにする in the stream as float.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readDouble
二塁打
readDouble()
raises( SQLException );

Description
reads the next せいにする in the stream as 二塁打.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readBytes
sequence< byte >
readBytes()
raises( SQLException );

Description
reads the next せいにする in the stream as sequence of bytes.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readDate
::com::sun::星/主役にする::util::Date
readDate()
raises( SQLException );

Description
reads the next せいにする in the stream as date.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readTime
::com::sun::星/主役にする::util::Time
readTime()
raises( SQLException );

Description
reads the next せいにする in the stream as time.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readTimestamp
::com::sun::星/主役にする::util::DateTime
readTimestamp()
raises( SQLException );

Description
reads the next せいにする in the stream as datetime.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readBinaryStream
::com::sun::星/主役にする::io::XInputStream
readBinaryStream()
raises( SQLException );

Description
reads the next せいにする in the stream as sequence of bytes.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readCharacterStream
::com::sun::星/主役にする::io::XInputStream
readCharacterStream()
raises( SQLException );

Description
reads the next せいにする in the stream as a unicode string.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readObject
any
readObject()
raises( SQLException );

Description
returns the datum at the 長,率いる of the stream as an any.

The actual type of the any returned is 決定するd by the default type mapping, and any customizations 現在の in this stream's type 地図/計画する.
A type 地図/計画する is 登録(する)d with the stream by the SDBC driver before the stream is passed to the 使用/適用.
When the datum at the 長,率いる of the stream is a SQL NULL, the method returns 無効の. If the datum is a SQL structured or 際立った type, it 決定するs the SQL type of the datum at the 長,率いる of the stream, 建設するs an 反対する of the appropriate service, and calls the method XSQLData::readSQL() on that 反対する, which reads 付加 data from the stream using the 議定書 述べるd for that method.

Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readRef
XRef
readRef()
raises( SQLException );

Description
reads a REF(&lt;structured-type&gt;) from the stream.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readBlob
XBlob
readBlob()
raises( SQLException );

Description
reads a BLOB from the stream.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readClob
XClob
readClob()
raises( SQLException );

Description
reads a CLOB from the stream.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
readArray
XArray
readArray()
raises( SQLException );

Description
reads an array from the stream.
Returns
the せいにする; if the value is SQL NULL, return null.
Throws
SQLException if a database 接近 error occurs.
wasNull
boolean
wasNull()
raises( SQLException );

Description
決定するs whether the last value read was null.
Returns
true if the most recently gotten SQL value was null; さもなければ, 誤った
Throws
SQLException if a database 接近 error occurs.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.