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
  • Method Details

    • getMaxLength

      long getMaxLength() throws SQLException
      Return the maximum number of bytes this opaque object can hold.
      Returns:
      the maximum opaque size; return 0 if unbounded.
      Throws:
      SQLException
    • isTrustedLibrary

      boolean isTrustedLibrary() throws SQLException
      Indicates 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 SQLException
      Indicates 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 SQLException
      Indicates whether the Opaque type has unbounded size ().
      Returns:
      true if the Opaque type hsa unbounded size; false, otherwise.
      Throws:
      SQLException
    • hasFixedSize

      boolean hasFixedSize() throws SQLException
      Indicates whether the Opaque type has fixed size.
      Returns:
      true if the Opaque type has fixed size; false, otherwise.
      Throws:
      SQLException