public AbstractRewritingRule(String queryPattern, String rewrite, boolean caseSensitive, boolean stopOnMatch)(Code)
Creates a new AbstractRewritingRule object
Parameters: queryPattern - SQL pattern to match Parameters: rewrite - rewritten SQL query Parameters: caseSensitive - true if matching is case sensitive Parameters: stopOnMatch - true if rewriting must stop after this rule if itmatches.
Rewrite the given query according to the rule. Note that this method does
not check if the given query matches the rule or not. You must call
matches(String) before calling this method.
Parameters: sqlQuery - request to rewrite the rewritten SQL query according to the rule. See Also:AbstractRewritingRule.hasMatched