Package oracle.jdbc
Interface OracleTypeMetaData.Opaque
-
- All Superinterfaces:
OracleTypeMetaData
- All Known Implementing Classes:
OpaqueDescriptor
- Enclosing interface:
- OracleTypeMetaData
public static interface OracleTypeMetaData.Opaque extends OracleTypeMetaData
This nested interface defines additional methods for opaque types
-
<section role="region">
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.jdbc.OracleTypeMetaData
OracleTypeMetaData.Array, OracleTypeMetaData.ArrayStorage, OracleTypeMetaData.Kind, OracleTypeMetaData.Opaque, OracleTypeMetaData.Struct
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMaxLength()Return the maximun number of bytes this opaque object can hold.booleanhasFixedSize()Indicates whether the Opaque type has fixed size.booleanhasUnboundedSize()Indicates whether the Opaque type has unbounded size ().booleanisModeledInC()Indicates whether the Opaque type is modelled in C language.booleanisTrustedLibrary()Indicates whether the Trusted Library implementing Support functions are specified for the Opaque type.-
Methods inherited from interface oracle.jdbc.OracleTypeMetaData
getKind, getName, getSchemaName, getSQLName, getTypeCode, getTypeCodeName
-
-
-
<section role="region">
-
Method Detail
-
getMaxLength
long getMaxLength() throws SQLExceptionReturn the maximun number of bytes this opaque object can hold.- Returns:
- the maximum opaque size; return 0 if unbounded.
- Throws:
SQLException
-
isTrustedLibrary
boolean isTrustedLibrary() throws SQLExceptionIndicates whether the Trusted Library implementing Support functions are specified for the Opaque type. This is the case for internal Opaque Types that are modeled in C.- Returns:
- true if the Trusted Library implementing Support functions are specified; false, otherwise.
- Throws:
SQLException
-
isModeledInC
boolean isModeledInC() throws SQLExceptionIndicates whether the Opaque type is modelled in C language.- Returns:
- true if the Opaque type is modelled in C language; false, otherwise.
- Throws:
SQLException
-
hasUnboundedSize
boolean hasUnboundedSize() throws SQLExceptionIndicates whether the Opaque type has unbounded size ().- Returns:
- true if the Opaque type hsa unbounded size; false, otherwise.
- Throws:
SQLException
-
hasFixedSize
boolean hasFixedSize() throws SQLExceptionIndicates whether the Opaque type has fixed size.- Returns:
- true if the Opaque type has fixed size; false, otherwise.
- Throws:
SQLException
-
-