calculateSize()

Provides the sizing calculations for strings and numerics in generic UDFs.

Syntax

The method has the following syntax:
 virtual uint64 calculateSize() const
    {
      return 0xFFFFFFFFFFFFFFFFLL;    
    } 

Description

If your UDF uses the ANY keyword as the size specified for a numeric or string return value, you must override this method to provide the sizing capabilities.