|
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 Form| Field Summary | |
|---|---|
protected Object |
acProxyDeprecated. |
static boolean |
TRACEDeprecated. |
| 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.SQLExceptionoracle.sql.SQLStructType| Method Detail |
|---|
public String getSQLTypeName()
throws SQLException
Struct object represents.getSQLTypeName in interface OracleOpaqueStruct object is the generic representationSQLException - if a database access error occurs
public String stringValue()
throws SQLException
DatumstringValue in interface oracle.jdbc.internal.OracleDatumWithConnectionstringValue in class DatumSQLException
public OracleTypeMetaData getOracleMetaData()
throws SQLException
getOracleMetaData in interface OracleOpaqueSQLException - if an error occurs
public OpaqueDescriptor getDescriptor()
throws SQLException
SQLException
public Object getValue()
throws SQLException
getValue in interface OracleOpaqueSQLException
public byte[] getBytesValue()
throws SQLException
SQLExceptionpublic boolean isConvertibleTo(Class jClass)
isConvertibleTo in interface oracle.jdbc.internal.OracleDatumWithConnectionisConvertibleTo in class Datumcls - Class to convert to
public Object toJdbc()
throws SQLException
toJdbc in interface oracle.jdbc.internal.OracleDatumWithConnectiontoJdbc in class DatumSQLException - if conversion to JDBC representation results in an error
public Connection getJavaSqlConnection()
throws SQLException
DatumWithConnectiongetJavaSqlConnection in interface oracle.jdbc.internal.OracleDatumWithConnectiongetJavaSqlConnection in class DatumWithConnectionSQLException - if an error occurspublic void setACProxy(Object w)
setACProxy in interface oracle.jdbc.internal.ACProxyablepublic 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 | |||||||||