[CDF-276] - CCC - ability to filter rows being read from the data source

Code and unit tests.

@diogofscmariano please review.