Converts a bigint value to a FetchType enum.
The bigint value.
The corresponding FetchType.
CastingError if the value is not a valid fetch type.
Converts a bigint value to a FetchType enum.