FNC_TblOpGetInnerContract Function | C Library Functions | Teradata Vantage - FNC_TblOpGetInnerContract - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantageā„¢

Gets the contract definition of a nested inner table operator for the outer table operator to use.

Syntax

void
FNC_TblOpGetInnerContract(void **innerContract,
                          int   *contractLen)

Syntax Elements

innerContract
IN/OUT parameter

Input argument: Identifies the buffer to hold the contract definition information.

Return value:
  • The contract definition of the inner table operator.
  • NULL, if the inner contract function does not exist.
contractLen
OUT parameter

The length of the contract definition.

Usage Notes

This routine is callable on a PE vproc only by a table operator.
FNC_TblOpGetInnerContract calls FNC_malloc to allocate memory for the buffer specified by *innerContract. Unless the routine returns *innerContract as NULL, you must use FNC_free to free the allocated memory after processing the data.