Methods' Summary |
readString |
reads the next attribute in the stream as string.
|
readBoolean |
reads the next attribute in the stream as boolean.
|
readByte |
reads the next attribute in the stream as byte.
|
readShort |
reads the next attribute in the stream as short.
|
readInt |
reads the next attribute in the stream as long.
|
readLong |
reads the next attribute in the stream as hyper.
|
readFloat |
reads the next attribute in the stream as float.
|
readDouble |
reads the next attribute in the stream as double.
|
readBytes |
reads the next attribute in the stream as sequence of bytes.
|
readDate |
reads the next attribute in the stream as date.
|
readTime |
reads the next attribute in the stream as time.
|
readTimestamp |
reads the next attribute in the stream as datetime.
|
readBinaryStream |
reads the next attribute in the stream as sequence of bytes.
|
readCharacterStream |
reads the next attribute in the stream as a unicode string.
|
readObject |
returns the datum at the head 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 |
determines whether the last value read was null.
|
Methods' Details |
readString
- Description
- reads the next attribute in the stream as string.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readBoolean
- Description
- reads the next attribute in the stream as boolean.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readByte
- Description
- reads the next attribute in the stream as byte.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readShort
- Description
- reads the next attribute in the stream as short.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readInt
- Description
- reads the next attribute in the stream as long.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readLong
- Description
- reads the next attribute in the stream as hyper.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readFloat
- Description
- reads the next attribute in the stream as float.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readDouble
- Description
- reads the next attribute in the stream as double.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readBytes
- Description
- reads the next attribute in the stream as sequence of bytes.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readDate
- Description
- reads the next attribute in the stream as date.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readTime
- Description
- reads the next attribute in the stream as time.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readTimestamp
- Description
- reads the next attribute in the stream as datetime.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readBinaryStream
- Description
- reads the next attribute in the stream as sequence of bytes.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readCharacterStream
- Description
- reads the next attribute in the stream as a unicode string.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readObject
- Description
- returns the datum at the head of the stream as an any.
The actual type of the any returned is determined by the default
type mapping, and any customizations present in this stream's type map.
A type map is registered with the stream by the SDBC driver before the
stream is passed to the application.
When the datum at the head of the stream is a SQL NULL,
the method returns void. If the datum is a SQL structured or distinct
type, it determines the SQL type of the datum at the head of the stream,
constructs an object of the appropriate service, and calls the method
XSQLData::readSQL()
on that object, which reads additional data
from the stream using the protocol described for that method.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readRef
- Description
- reads a REF(<structured-type>) from the stream.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readBlob
- Description
- reads a BLOB from the stream.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readClob
- Description
- reads a CLOB from the stream.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
readArray
- Description
- reads an array from the stream.
- Returns
- the attribute; if the value is SQL NULL, return null.
- Throws
- SQLException
if a database access error occurs.
|
|
wasNull
- Description
- determines whether the last value read was null.
- Returns
- true if the most recently gotten SQL value was null; otherwise, false
- Throws
- SQLException
if a database access error occurs.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.