def METHOD_NAME(self):
    flds = self.resultset.fieldnames
    out = []
    for name in flds:
        fld = self.resultset.getdesc(name)
        typ = STRING
        if fld.datatype in ("short", "int", "long", "float", "double",
                            "floatComplex", "doubleComplex", "boolean"):
            typ = NUMBER
        elif fld.datatype in "char unicodeChar unsignedByte".split():
            typ = STRING
        out.append((name, typ))
    return tuple(out)