Serializable
public class BINARY_DOUBLE extends Datum
ojiOracleDatumWithConnection, targetDatum
Constructor | Description |
---|---|
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(Boolean b) |
Construct a BINARY_DOUBLE from an instance of java.lang.Boolean.
|
BINARY_DOUBLE(Double d) |
Construct a BINARY_DOUBLE from an instance of java.lang.Double.
|
BINARY_DOUBLE(String s) |
Construct a BINARY_DOUBLE from an instance of java.lang.String.
|
Modifier and Type | Method | Description |
---|---|---|
BigDecimal |
bigDecimalValue() |
Convert this to a BigDecimal type.
|
double |
doubleValue() |
Convert this to a double type.
|
boolean |
isConvertibleTo(Class jClass) |
Test whether this data object can be converted to the specified Java data type.
|
String |
stringValue() |
Convert this data object into a String.
|
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, toClass
public 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(Double d)
d
- input data from which this class instance is constructed.public BINARY_DOUBLE(String s) throws SQLException
s
- input data from which this class instance is constructed.SQLException
public BINARY_DOUBLE(Boolean b)
b
- input data from which this class instance is constructed.public Object toJdbc() throws SQLException
toJdbc
in class Datum
SQLException
- if any of the lower layer code throws an exception.public boolean isConvertibleTo(Class jClass)
isConvertibleTo
in class Datum
jClass
- specifies the Java data type to test against.public String stringValue()
stringValue
in class Datum
public double doubleValue() throws SQLException
doubleValue
in class Datum
SQLException
public BigDecimal bigDecimalValue() throws SQLException
bigDecimalValue
in class Datum
SQLException