PARQUET-116: Adding type safety for the filter object to be passed to user defined predicate