Package oracle.jdbc
Interface OracleOpaque
-
- All Known Implementing Classes:
OPAQUE
public interface OracleOpaque
This interface defines methods for Oracle specific Opaque.Opaque is an Oracle proprietary type and is opaque to the user.
- Since:
- 11.2.0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OracleTypeMetaData
getOracleMetaData()
Oracle extension.java.lang.String
getSQLTypeName()
Implements the Struct interface function Retrieves the SQL type name of the SQL structured type that thisStruct
object represents.java.lang.Object
getValue()
Return the Opaque value.
-
-
-
Method Detail
-
getOracleMetaData
OracleTypeMetaData getOracleMetaData() throws java.sql.SQLException
Oracle extension. Get the SQL OPAQUE type metadata for the type of this object.- Returns:
- metadata for this object's type
- Throws:
java.sql.SQLException
- if an error occurs
-
getSQLTypeName
java.lang.String getSQLTypeName() throws java.sql.SQLException
Implements the Struct interface function Retrieves the SQL type name of the SQL structured type that thisStruct
object represents.- Returns:
- the fully-qualified type name of the SQL structured
type for which this
Struct
object is the generic representation - Throws:
java.sql.SQLException
- if a database access error occurs
-
getValue
java.lang.Object getValue() throws java.sql.SQLException
Return the Opaque value.- Returns:
- a Java object that represents the opaque value
- Throws:
java.sql.SQLException
-
-