16.20 - com.teradata.fnc.ST_Geometry - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

ST_Geometry data types can be optionally mapped to the com.teradata.fnc.ST_Geometry Java class.

Geospatial data can be retrieved in either the Well-Known Text (WKT) or Well-Known Binary (WKB) format as a CLOB (for WKT) or a BLOB (for WKB) from an input ST_Geometry value, and either format can be written to a return ST_Geometry via the same respective CLOB and BLOB types.

The SRID also can be retrieved from input geometries and set in result geometries.

Methods

The following sections describe the methods implemented by this class.