getAttributes(Map) - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™
Returns an array containing the ordered attribute values of the SQL structured type that this Struct object represents.
Teradata does not support custom mapping, so only standard mapping is used.

Syntax

public Object[] getAttributes(Map  map)
                       throws SQLException

Syntax Elements

map
A mapping of SQL type names to Java classes.

Exceptions

Throws SQLException if a database access error occurs. A database specific code “9742 (ERRUDFJAVGETATTRFAIL) <Failed to retrieve attributes of the Struct type >” is returned.