17.10 - getAttributes(Map) - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)
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.