org.datanucleus.query
Class JDOQLQueryHelper
java.lang.Object
org.datanucleus.query.JDOQLQueryHelper
public class JDOQLQueryHelper
- extends java.lang.Object
JDOQL query helper class providing key information about the language etc.
|
Method Summary |
static boolean |
isKeyword(java.lang.String name)
Convenience method returning if the supplied name is a keyword for this query language. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLE_STRING_KEYWORDS
public static final java.lang.String[] SINGLE_STRING_KEYWORDS
- Keywords used in single-string JDOQL. Uppercase variants specified here, but we allow the lowercase form.
SINGLE_STRING_KEYWORDS_LOWERCASE
public static final java.lang.String[] SINGLE_STRING_KEYWORDS_LOWERCASE
- Keywords in lowercase (we avoid calling toLowerCase() multiple times, which is expensive operation)
JDOQLQueryHelper
public JDOQLQueryHelper()
isKeyword
public static boolean isKeyword(java.lang.String name)
- Convenience method returning if the supplied name is a keyword for this query language.
- Parameters:
name - Name to check
- Returns:
- Whether it is a keyword
Copyright © 2009. All Rights Reserved.