public class BINARY_DOUBLE extends Datum
ojiOracleDatumWithConnection, targetDatum| Constructor and Description |
|---|
BINARY_DOUBLE(java.lang.Boolean b)
Construct a BINARY_DOUBLE from an instance of java.lang.Boolean.
|
BINARY_DOUBLE(byte[] _bytes)
Construct a BINARY_DOUBLE from a byte array.
|
BINARY_DOUBLE(double d)
Construct a BINARY_DOUBLE from a primitive double.
|
BINARY_DOUBLE(java.lang.Double d)
Construct a BINARY_DOUBLE from an instance of java.lang.Double.
|
BINARY_DOUBLE(java.lang.String s)
Construct a BINARY_DOUBLE from an instance of java.lang.String.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
bigDecimalValue()
Convert this to a BigDecimal type.
|
double |
doubleValue()
Convert this to a double type.
|
boolean |
isConvertibleTo(java.lang.Class<?> jClass)
Test whether this data object can be converted to the specified
Java data type.
|
java.lang.String |
stringValue()
Convert this data object into a String.
|
java.lang.Object |
toJdbc()
Convert this data object into its default Java object type.
|
asciiStreamValue, binaryStreamValue, booleanValue, bytesEqual, bytesHashCode, byteValue, characterStreamValue, compareBytes, dateValue, equals, floatValue, getBytes, getConnectionDuringExceptionHandling, getLength, getStream, intValue, isNull, longValue, setBytes, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValue, toClasspublic BINARY_DOUBLE(byte[] _bytes)
_bytes - input data from which this class instance is
constructed.public BINARY_DOUBLE(double d)
d - input data from which this class instance is
constructed.public BINARY_DOUBLE(java.lang.Double d)
d - input data from which this class instance is
constructed.public BINARY_DOUBLE(java.lang.String s)
throws java.sql.SQLException
s - input data from which this class instance is
constructed.java.sql.SQLExceptionpublic BINARY_DOUBLE(java.lang.Boolean b)
b - input data from which this class instance is
constructed.public java.lang.Object toJdbc()
throws java.sql.SQLException
public boolean isConvertibleTo(java.lang.Class<?> jClass)
isConvertibleTo in class DatumjClass - specifies the Java data type to test against.public java.lang.String stringValue()
stringValue in class Datumpublic double doubleValue()
throws java.sql.SQLException
doubleValue in class Datumjava.sql.SQLExceptionpublic java.math.BigDecimal bigDecimalValue()
throws java.sql.SQLException
bigDecimalValue in class Datumjava.sql.SQLException