FileDocCategorySizeDatePackage
Struct.javaAPI DocAndroid 1.5 API2840Wed May 06 22:41:06 BST 2009java.sql

Struct

public interface Struct
An interface which provides facilities for manipulating an SQL structured type as a Java object. The {@code Struct} object has a value for each attribute of the SQL structured type.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Object[]getAttributes()
Gets the values of the attributes of this SQL structured type. This method uses the type map associated with the {@link Connection} for customized type mappings. Where there is no entry in the type mapping which matches this structured type, the JDBC driver uses the standard mapping.

return
an {@code Object} array containing the ordered attributes.
throws
SQLException if a database error occurs.
since
Android 1.0

public java.lang.Object[]getAttributes(java.util.Map theMap)
Gets the values of the attributes of this SQL structured type. This method uses the supplied type mapping to determine how to map SQL types to their corresponding Java objects. In the case where there is no entry in the type mapping which matches this structured type, the JDBC driver uses the default mapping. The {@code Connection} type map is never utilized by this method.

param
theMap a Map describing how SQL Type names are mapped to classes.
return
an Object array containing the ordered attributes,.
throws
SQLException if a database error occurs.
since
Android 1.0

public java.lang.StringgetSQLTypeName()
Gets the SQL Type name of the SQL structured type that this {@code Struct} represents.

return
the fully qualified name of SQL structured type.
throws
SQLException if a database error occurs.
since
Android 1.0