|
Syntax
- string readString
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- boolean readBoolean
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- byte readByte
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- short readShort
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- long readInt
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- hyper readLong
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- float readFloat
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- double readDouble
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- sequence< byte > readBytes
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::util::Date readDate
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::util::Time readTime
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::util::DateTime readTimestamp
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::io::XInputStream readBinaryStream
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::io::XInputStream readCharacterStream
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- any readObject
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::sdbc::XRef readRef
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::sdbc::XBlob readBlob
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::sdbc::XClob readClob
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- com::sun::star::sdbc::XArray readArray
();
- raises ( com::sun::star::sdbc::SQLException );
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.
Syntax
- boolean wasNull
();
- raises ( com::sun::star::sdbc::SQLException );
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.
|