Returns information (type, size, precision) about the specified table’s field.
mco_fh_ret mco_fh_mod_get_field_info(/*IN*/ mco_fh_module_h h,
/*IN*/ const char *rec_type,
/*IN*/ const char *field_name,
/*OUT*/ mco_int4 *type,
/*OUT*/ mco_size_t *size,
/*OUT*/ mco_size_t *precision)
h
rec_type
field_name
type
McoSql::tp* constants).size
precision
This function returns information (type, size, precision) about the specified table’s field.
MCO_FH_OK
MCO_FH_E_NOT_IMPLEMENTED
mco_fh_mod_fill_metadata() function to retrieve
the types of fields configured by the user.MCO_FH_E_BAD_HANDLE
MCO_FH_E_INVALID_RECORD_TYPE
MCO_FH_E_INVALID_FIELD_NAME
mco_fh_ret mco_fh_mod_get_field_info(mco_fh_module_h h, const char *rec_type,
const char *field_name, mco_int4 *type,
mco_size_t *size, mco_size_t *precision)
{
return reinterpret_cast<TestFeedHandler *>(h)->getFieldInfo(rec_type, field_name, type, size, precision);
}