DataBlade module objects

The Mercury DataBlade® module creates the following user-defined objects.
Table 1. User-defined objects that the Mercury DataBlade module creates

This table shows the objects that the sample Mercury DataBlade module creates.

Object types User-defined objects Additional information
Distinct data types
  • temperature
  • CTemp
  • FTemp
Routines
  • Assign() function for the CTemp data type
  • Assign() function for the FTemp data type
These functions are called whenever the database server assigns a value to a CTemp or FTemp column. They check that the value is greater than absolute zero before assigning it.
Casts (with support routines)
  • integer to temperature
  • decimal to temperature
  • CTemp to FTemp
  • FTemp to CTemp
  • These casts convert input data from integer and decimal types to the temperature type.
  • These casts convert values between the CTemp and FTemp types
Error messages One error message for values less than absolute zero