IDatabaseMetaData.GetSuperTypes(String, String, String) Method

Definition

Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database.

[Android.Runtime.Register("getSuperTypes", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetSuperTypes_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IResultSet? GetSuperTypes (string? catalog, string? schemaPattern, string? typeNamePattern);
[<Android.Runtime.Register("getSuperTypes", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetSuperTypes_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetSuperTypes : string * string * string -> Java.Sql.IResultSet

Parameters

catalog
String

a catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria

schemaPattern
String

a schema name pattern; "" retrieves those without a schema

typeNamePattern
String

a UDT name pattern; may be a fully-qualified name

Returns

a ResultSet object in which a row gives information about the designated UDT

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. Only the immediate super type/ sub type relationship is modeled.

Only supertype information for UDTs matching the catalog, schema, and type name is returned. The type name parameter may be a fully-qualified name. When the UDT name supplied is a fully-qualified name, the catalog and schemaPattern parameters are ignored.

If a UDT does not have a direct super type, it is not listed here. A row of the ResultSet object returned by this method describes the designated UDT and a direct supertype. A row has the following columns: <OL> <LI><B>TYPE_CAT</B> String => the UDT's catalog (may be null) <LI><B>TYPE_SCHEM</B> String => UDT's schema (may be null) <LI><B>TYPE_NAME</B> String => type name of the UDT <LI><B>SUPERTYPE_CAT</B> String => the direct super type's catalog (may be null) <LI><B>SUPERTYPE_SCHEM</B> String => the direct super type's schema (may be null) <LI><B>SUPERTYPE_NAME</B> String => the direct super type's name </OL>

<B>Note:</B> If the driver does not support type hierarchies, an empty result set is returned.

Added in 1.4.

Java documentation for java.sql.DatabaseMetaData.getSuperTypes(java.lang.String, java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to