Hi devs,
Right now the QueryFilter interface allows to modify the query statement and to filter
returned results but doesn't allow to pass dynamic value.
I'm currently implementing a filter that'll return only results for the current
language and thus I need this dynamicity.
Are you ok that I break the QueryFitler API to add a new method:
public interface QueryFilter
{
String filterStatement(String statement, String language);
List filterResults(List results);
// New method
Map<String, String> getParameters();
}
WDYT?
Thanks
-Vincent