public class JDOQLQueryHelper extends Object
Constructor and Description |
---|
JDOQLQueryHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getJDOQLForExpression(Expression expr) |
static boolean |
isKeyword(String name)
Convenience method returning if the supplied name is a keyword for this query language.
|
static boolean |
isKeywordExtended(String name)
Convenience method returning if the supplied name is a keyword for this query language, allowing
the DataNucleus extension keywords (UPDATE, DELETE, SET).
|
static boolean |
isValidJavaIdentifierForJDOQL(String s)
Utility to check if a name is a valid Java identifier.
|
public static boolean isKeyword(String name)
name
- Name to checkpublic static boolean isKeywordExtended(String name)
name
- Name to checkpublic static boolean isValidJavaIdentifierForJDOQL(String s)
s
- The namepublic static String getJDOQLForExpression(Expression expr)
Copyright © 2019. All rights reserved.