Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Datum

Extends java.sql.Object. Datum is the root class for subclasses CHAR, DATE, DatumWithConnection, INTERVALYM, NUMBER, RAW, ROWID, TIMESTAMP, TIMESTAMPLTZ, and TIMESTAMPTZ in Oracle9i; Datum is the root class for ARRAY, BFILE, BLOB, CHAR, CLOB, DATE, NUMBER, RAW, REF, ROWID, and STRUCT in Oracle8i.

The constructors for this class are:

Datum(  )

which creates an empty datum or

 Datum(byte[] newData)

which creates a new datum with newData as representation of datum.

Methods

asciiStreamValue( )

Returns java.io.InputStream representation as ASCII representation of the datum object.

bigDecimalValue( )

Returns java.math.BigDecimal representation of the datum object.

binaryStreamValue( )

Returns java.io.InputStream representation of the datum object.

booleanValue( )

Returns Boolean representation of the datum object.

byteValue( )

Returns byte representation of the datum object.

characterStreamValue( )

Returns representation of the datum object.

dateValue( )

Returns java.sql.Date representation of the datum object.

doubleValue( )

Returns a double representation of the datum object

equals(java.lang.Object obj )

Returns Boolean with equality test result with a Datum.

floatValue( )

Returns float representation of the datum object.

getBytes( )

Returns byte array containing a copy of the RDBMS data.

getLength( )

Returns long representing the length of a datum.

getStream( )

Returns java.io.InputStream so the raw data may be read.

intValue( )

Returns int representation of the datum object.

isConvertibleTo(java.lang.Class ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page