The ifx_lo_specget_estbytes() function

The ifx_lo_specget_estbytes() function obtains from an LO-specification structure the estimated size of a smart large object.

Syntax

mint ifx_lo_specget_estbytes(LO_spec, estbytes)
   ifx_lo_create_spec_t *LO_spec;
   ifx_int8_t *estbytes;
LO_spec
A pointer to the LO-specification structure from which to obtain the estimated size.
estbytes
A pointer to an ifx_int8_t structure into which ifx_lo_specget_estbytes() puts the estimated number of bytes for the smart large object.

Usage

The estbytes value is the estimated final size, in bytes, of the smart large object. This estimate is an optimization hint for the smart-large-object optimizer. For more information about the estimated size, see Disk-storage information in the LO-specification structure.
Important: You must call the ifx_lo_def_create_spec() function to initialize an LO-specification structure before you call ifx_lo_specget_estbytes(). You can use the ifx_lo_col_info() function to store storage characteristics that are associated with a particular column in an LO-specification structure.

Return codes

0
The function was successful.
-1
The function was not successful.