getXSPInoutGeometryForNull() - 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

Returns an ST_Geometry object representing the INOUT parameter of a Java external stored procedure when a Null object is passed in for it.

Syntax

public com.teradata.fnc.ST_Geometry 
     getXSPInoutGeometryForNull(int  index)
                      throws SQLException
int index
The index of the particular INOUT parameter as it appeared in the list of the Java external stored procedure parameters. Index values begin from zero.

Return Value

The com.teradata.fnc.ST_Geometry object that represents the INOUT parameter of the Java external stored procedure.

Exceptions

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