|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.sql.Datum
oracle.sql.BINARY_DOUBLE
public class BINARY_DOUBLE
The BINARY_DOUBLE class is a representation of the Oracle BINARY_DOUBLE datatype. It is intended to be immutable. The user should not try to change its contents once it is constructed.
| Field Summary | |
|---|---|
static java.lang.String |
BUILD_DATE |
static boolean |
PRIVATE_TRACE |
static boolean |
TRACE |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class oracle.sql.Datum |
|---|
asciiStreamValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, equals, floatValue, getBytes, getLength, getStream, intValue, longValue, setBytes, setShareBytes, shareBytes, timestampValue, timeValue |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
| Constructor Detail |
|---|
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(java.lang.Double d)
d - input data from which this class instance is constructed.| Method Detail |
|---|
public java.lang.Object toJdbc()
throws java.sql.SQLException
toJdbc in class Datumjava.sql.SQLException - if any of the lower layer code throws an exception.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 Datum
public double doubleValue()
throws java.sql.SQLException
doubleValue in class Datumjava.sql.SQLException
public java.math.BigDecimal bigDecimalValue()
throws java.sql.SQLException
bigDecimalValue in class Datumjava.sql.SQLException
|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||