getUDFOutputGeometry() - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

Retrieves an ST_Geometry object representing the return value of a Java UDF that returns an ST_Geometry. This method can be called only from a scalar or aggregate Java UDF. If the method is called from an aggregate Java UDF, it may only be called in the Phase.AGR_FINAL execution phase.

Syntax

public com.teradata.fnc.ST_Geometry getUDFOutputGeometry()
                      throws SQLException

Return Value

A com.teradata.fnc.ST_Geometry object that represents the return ST_Geometry of the Java UDF.

Exceptions

Throws SQLException if a database access error occurs. Returns the following database specific error code: 9747 (ERRUDFJAVAGEOM)<Failed to retrieve ST_Geometry object>.