java.sql

Interface Struct

public interface Struct

This interface implements the standard type mapping for a SQL structured type.
Method Summary
Object[]getAttributes()
This method returns the attributes of this SQL structured type.
Object[]getAttributes(Map<String,Class<?>> map)
This method returns the attributes of this SQL structured type.
StringgetSQLTypeName()
This method returns the name of the SQL structured type for this object.

Method Detail

getAttributes

public Object[] getAttributes()
This method returns the attributes of this SQL structured type.

Returns: The attributes of this structure type.

Throws: SQLException If an error occurs.

getAttributes

public Object[] getAttributes(Map<String,Class<?>> map)
This method returns the attributes of this SQL structured type. The specified map of type mappings overrides the default mappings.

Parameters: map The map of SQL type mappings.

Returns: The attributes of this structure type.

Throws: SQLException If a error occurs.

getSQLTypeName

public String getSQLTypeName()
This method returns the name of the SQL structured type for this object.

Returns: The SQL structured type name.

Throws: SQLException If an error occurs.