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

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>.