Selectivity and cost functions

The DataBlade® API provides routines for accessing the MI_FUNCARG data type, which is the data type of all parameters of selectivity and cost functions.

Table 1. DataBlade API functions for accessing the MI_FUNCARG data type
Function category DataBlade API function
Accessing the MI_FUNCARG data type

mi_funcarg_get_argtype()
mi_funcarg_get_colno()
mi_funcarg_get_constant()
mi_funcarg_get_datalen()
mi_funcarg_get_datatype()

mi_funcarg_get_distrib()
mi_funcarg_get_routine_id()
mi_funcarg_get_routine_name()
mi_funcarg_get_tabid()
mi_funcarg_isnull()