public interface Struct
Struct object has a value for each attribute of the SQL structured
type.| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAttributes()
Gets the values of the attributes of this SQL structured type.
|
Object[] |
getAttributes(Map<String,Class<?>> theMap)
Gets the values of the attributes of this SQL structured type.
|
String |
getSQLTypeName()
Gets the SQL Type name of the SQL structured type that this
Struct represents. |
String getSQLTypeName() throws SQLException
Struct represents.SQLException - if a database error occurs.Object[] getAttributes() throws SQLException
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.Object array containing the ordered attributes.SQLException - if a database error occurs.Object[] getAttributes(Map<String,Class<?>> theMap) throws SQLException
Connection type map is never utilized by this method.theMap - a Map describing how SQL Type names are mapped to classes.SQLException - if a database error occurs.