event | The event containing the desired field type. |
field_name | The name of the field within the event. |
field_type | The returned field type, such as FIELD_TYPE_BOOLEAN, defined in <awetdef.h>. This parameter is used for output. |
Possible BrokerError major codes | Meaning |
AW_ERROR_FIELD_NOT_FOUND | The field_name does not exist in the event. |
AW_ERROR_FIELD_TYPE_MISMATCH | The field_name incorrectly accesses a type, such as using a subscript on a non-sequence field. |
AW_ERROR_INVALID_EVENT | The event is invalid. |
AW_ERROR_INVALID_FIELD_NAME | The field_name is invalid. |
AW_ERROR_NULL_PARAM | The parameter field_name or field_type is NULL. |