CHAR

Extends oracle.sql.Datum.

The constructors for this class are:

CHAR(java.lang.Object obj, oracle.sql.CharacterSet charSet)

to construct a CHAR from an Object or:

CHAR(java.lang.String str, oracle.sql.CharacterSet charSet)

to construct a CHAR from a CHAR.

Field

DEFAULT_CHARSET
Static oracle.sql.CharacterSet

Methods

asciiStreamValue( )

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

bigDecimalValue( )

Returns data object as java.math.BigDecimal.

binaryStreamValue( )

Returns data object as java.io.InputStream.

booleanValue( )

Returns data object as Boolean.

byteValue( )

Returns data object as byte.

characterStreamValue( )

Returns data object as java.io.Reader.

dateValue( )

Returns data object as java.sql.Date.

doubleValue( )

Returns data object as double.

floatValue( )

Returns data object as float.

getString( )

Returns data object as java.lang.String.

intValue( )

Returns data object as int.

isConvertibleTo(java.lang.Class jClass )

Returns a Boolean indicating whether this data object can be converted to jClass.

longValue( )

Returns data object as long.

stringValue( )

Returns data object as java.lang.String.

timestampValue( )

Returns data object as java.sql.Timestamp.

timeValue( )

Returns data object as java.sql.Time.

toJdbc( )

Returns data object as default Java type in java.lang.Object.

toString( )

Returns data object as java.lang.String.

Inherited methods

The following methods are inherited from oracle.sql.Datum:

equals
getBytes
getLength
getStream
makeJdbcArray
setBytes ...

Get Oracle in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.