|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-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.DatumWithConnection
oracle.sql.OPAQUE
Deprecated. Use oracle.jdbc.OracleOpaque interface for declaration instead of using concrete class oracle.sql.OPAQUE.
public class OPAQUE
A class for opaque data type. Use OracleOpaque
interface for declaration instead of using concrete class oracle.sql.OPAQUE. oracle.jdbc.OracleOpaque has methods declared for all opertions.
Obtaining an OracleOpaque from OracleResultSet
oracle.jdbc.OracleOpaque opaque = ((OracleResultSet)resultSet).getOPAQUE(...);
OracleOpaque
, Serialized FormField Summary | |
---|---|
protected Object |
acProxy Deprecated. |
static boolean |
TRACE Deprecated. |
Constructor Summary | |
---|---|
OPAQUE(OpaqueDescriptor type, Connection conn, Object value) Deprecated. Constructor. |
Method Summary | |
---|---|
Object |
getACProxy() Deprecated. |
byte[] |
getBytesValue() Deprecated. Return a byte array that represents the attributes into the format that is actually used in the database. |
OpaqueDescriptor |
getDescriptor() Deprecated. Oracle extension. |
Connection |
getJavaSqlConnection() Deprecated. Oracle extension Return the java.sql.Connection associated with the receiver. |
OracleTypeMetaData |
getOracleMetaData() Deprecated. Return the type data for this object |
String |
getSQLTypeName() Deprecated. Implements the Struct interface function Retrieves the SQL type name of the SQL structured type that this Struct object represents. |
Object |
getValue() Deprecated. Return the Opaque value. |
boolean |
isConvertibleTo(Class jClass) Deprecated. Determines if datum object can be converted to a particular class |
void |
setACProxy(Object w) Deprecated. |
String |
stringValue() Deprecated. Convert to a String representation of the datum object |
Object |
toJdbc() Deprecated. Returns the JDBC representation of the datum object |
Methods inherited from class oracle.sql.DatumWithConnection |
---|
assertNotNull, assertNotNull, getConnection, getConnectionDuringExceptionHandling, getOracleConnection |
Methods inherited from class oracle.sql.Datum |
---|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, bytesEqual, byteValue, characterStreamValue, compareBytes, dateValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, isNull, longValue, setBytes, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jdbc.internal.OracleDatumWithConnection |
---|
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, doubleValue, floatValue, getBytes, getConnection, getInternalConnection, getLength, getOracleConnection, getStream, intValue, longValue, setBytes, setPhysicalConnectionOf, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValue |
Field Detail |
---|
protected Object acProxy
public static final boolean TRACE
Constructor Detail |
---|
public OPAQUE(OpaqueDescriptor type, Connection conn, Object value) throws SQLException
type
- the SQLStructType used to convert the type toattributes
- the array specifying the attributes to be converted to raw bytes.SQLException
oracle.sql.SQLStructType
Method Detail |
---|
public String getSQLTypeName() throws SQLException
Struct
object represents.getSQLTypeName
in interface OracleOpaque
Struct
object is the generic representationSQLException
- if a database access error occurspublic String stringValue() throws SQLException
Datum
stringValue
in interface oracle.jdbc.internal.OracleDatumWithConnection
stringValue
in class Datum
SQLException
public OracleTypeMetaData getOracleMetaData() throws SQLException
getOracleMetaData
in interface OracleOpaque
SQLException
- if an error occurspublic OpaqueDescriptor getDescriptor() throws SQLException
SQLException
public Object getValue() throws SQLException
getValue
in interface OracleOpaque
SQLException
public byte[] getBytesValue() throws SQLException
SQLException
public boolean isConvertibleTo(Class jClass)
isConvertibleTo
in interface oracle.jdbc.internal.OracleDatumWithConnection
isConvertibleTo
in class Datum
cls
- Class to convert topublic Object toJdbc() throws SQLException
toJdbc
in interface oracle.jdbc.internal.OracleDatumWithConnection
toJdbc
in class Datum
SQLException
- if conversion to JDBC representation results in an errorpublic Connection getJavaSqlConnection() throws SQLException
DatumWithConnection
getJavaSqlConnection
in interface oracle.jdbc.internal.OracleDatumWithConnection
getJavaSqlConnection
in class DatumWithConnection
SQLException
- if an error occurspublic void setACProxy(Object w)
setACProxy
in interface oracle.jdbc.internal.ACProxyable
public Object getACProxy()
getACProxy
in interface oracle.jdbc.internal.ACProxyable
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |