public class SqlEscapingEvaluator extends Evaluator
Escapes values in SQL queries. It escapes the value of the given expression by replacing all occurrences of single-quotes by two single-quotes and similarily for double-quotes
Evaluator.VariableWrapperDATE_FORMAT_EVALUATOR, ESCAPE_SOLR_QUERY_CHARS, SQL_ESCAPE_EVALUATOR, URL_ENCODE_EVALUATOR| Constructor and Description |
|---|
SqlEscapingEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(String expression,
Context context)
Return a String after processing an expression and a
VariableResolver |
getVariableWrapper, parseParamspublic String evaluate(String expression, Context context)
EvaluatorVariableResolverevaluate in class Evaluatorexpression - string to be evaluatedcontext - instanceVariableResolverCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.