public SQLStringFilter(String query, List params) throws TokenStreamException, RecognitionException, UnsupportedEncodingException {
this.query = query;
this.params = params;
SqlParser parser = SqlTranslator.getParser(query);
parser.where_condition();
this.translator = new SqlTranslator(query);
this.translator.visit(parser.getAST());
}