* @param whereClause A JoSQL WHERE clause.
*/
public FilterCodec(Provider<R> provider, Class<R> klazz, String whereClause) {
super(provider, FilterCounters.class);
try {
expressionEvaluator = new ExpressionEvaluator(whereClause, klazz);
} catch (QueryParseException e) {
throw new RuntimeException(e);
}
}