|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.util.QueryUtility
public class QueryUtility
| Constructor Summary | |
|---|---|
QueryUtility()
|
|
| Method Summary | |
|---|---|
static String |
escapeSearchParameter(String value)
Given the settings for the current DatabaseType, properly handle escaping special SQL characters. |
static String |
formatSearchParameter(String value)
Given the settings for the current DatabaseType, properly handle escaping special SQL characters as well as UPCASING the value (standard for rhq filter searches) and wrapping with SQL wildcard for implicit "contains" (i.e. |
static String |
getEscapeCharacter()
Get the proper ESCAPE clause character for the current DatabaseType. |
static String |
getEscapeClause()
Get the proper LIKE operator escape clause for the current DatabaseType. |
static String |
getEscapeClauseCharacter()
Get the proper ESCAPE clause character for the current DatabaseType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryUtility()
| Method Detail |
|---|
public static String escapeSearchParameter(String value)
value -
public static String formatSearchParameter(String value)
value -
public static String getEscapeClause()
public static String getEscapeClauseCharacter()
public static String getEscapeCharacter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||