Expose the criteria query to the query builder