Package oracle.jdbc

Interface OracleTypeMetaData.Struct

    • Method Detail

      • getTypeVersion

        int getTypeVersion()
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getLength

        int getLength()
               throws java.sql.SQLException
        The number of fields in the Object Type.
        Returns:
        the size.
        Throws:
        java.sql.SQLException
      • getMetaData

        java.sql.ResultSetMetaData getMetaData()
                                        throws java.sql.SQLException
        Gets the metadata regarding this type. The return ResultSetMetaData contains the attribute name, attribute type id and attribute type precision information. The column index in ResultSetMetaData maps to the position of the attribute in a Struct (with the first attribute being at index 1).
        Returns:
        a ResultSetMetaData object that contains the type info
        Throws:
        java.sql.SQLException
      • isFinalType

        boolean isFinalType()
                     throws java.sql.SQLException
        Indicates whether the object type is a final type.
        Returns:
        true if the object type is a final type and false otherwise.
        Throws:
        java.sql.SQLException
      • isSubtype

        boolean isSubtype()
                   throws java.sql.SQLException
        Indicates whether the object type is a subtype.
        Returns:
        true if the object type is a subtype and false otherwise.
        Throws:
        java.sql.SQLException
      • isInstantiable

        boolean isInstantiable()
                        throws java.sql.SQLException
        Indicates whether the object type is instantiable.
        Returns:
        true if the object type is instantiable and false otherwise.
        Throws:
        java.sql.SQLException
      • getSupertypeName

        java.lang.String getSupertypeName()
                                   throws java.sql.SQLException
        Returns the SQL type name of the direct subtype.
        Returns:
        the fully qualified name of the supertype. Returns null if the object type is not a subtype.
        Throws:
        java.sql.SQLException
      • getLocalAttributeCount

        int getLocalAttributeCount()
                            throws java.sql.SQLException
        Returns the number of attributes defined in the subtype.
        Returns:
        number of subtype attributes.
        Throws:
        java.sql.SQLException
      • getSubtypeNames

        java.lang.String[] getSubtypeNames()
                                    throws java.sql.SQLException
        Returns the SQL type names of the direct subtypes.
        Returns:
        the fully qualified name of the direct subtypes. Returns an empty String array if there is no subtypes.
        Throws:
        java.sql.SQLException