PARQUET-116: Pass a filter object to user defined predicate in filter2 api