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 ...
Get Oracle in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.