FNC_UdtSerializeSupported Function | C Library Functions | Teradata Vantage - 17.10 - FNC_UdtSerializeSupported - 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 1 if the UDT supports serialization and deserialization, 0 otherwise.

Syntax

int
FNC_UdtSerializeSupported(UDT_HANDLE  udt)

Syntax Elements

udt
the handle of the UDT.

Usage Notes

The following UDTs support the serialize/deserialize interface. The formats that each UDT will use to serialize and deserialize data are as follows:

UDT Format
ST_Geometry The serialized format is opaque. It is designed to be compact and efficient to serialize and deserialize.
XML The serialized format is opaque. It is designed to be compact and efficient to serialize and deserialize.
JSON The serialized format is the text string that represents the JSON data, and it is equivalent to the transformed value (FromSQL/ToSQL) of the JSON data type.