Converts a bigint value to a FilterType enum.
The bigint value.
The corresponding FilterType.
Error if the value is not a valid filter type.
Converts a bigint value to a FilterType enum.