|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.sql.lang.MatchCriteria.PatternTranslator
public static class MatchCriteria.PatternTranslator
Utility to convert the pattern into a different match syntax
Constructor Summary | |
---|---|
MatchCriteria.PatternTranslator(java.lang.String newWildCard,
java.lang.String newSingleMatch,
char[] reserved,
char newEscape)
|
Method Summary | |
---|---|
java.lang.StringBuffer |
translate(java.lang.String pattern,
char escape)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatchCriteria.PatternTranslator(java.lang.String newWildCard, java.lang.String newSingleMatch, char[] reserved, char newEscape)
newWildCard
- replacement for %newSingleMatch
- replacement for _reserved
- sorted array of reserved chars in the new match syntaxnewEscape
- escape char in the new syntaxMethod Detail |
---|
public java.lang.StringBuffer translate(java.lang.String pattern, char escape) throws CriteriaEvaluationException
CriteriaEvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |