Package org.apache.openjpa.kernel
Class QueryLanguages
- java.lang.Object
-
- org.apache.openjpa.kernel.QueryLanguages
-
public class QueryLanguages extends java.lang.Object
Constants and utilities for query languages.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LANG_METHODQL
static java.lang.String
LANG_PREPARED_SQL
static java.lang.String
LANG_SQL
static java.lang.String
LANG_STORED_PROC
-
Constructor Summary
Constructors Constructor Description QueryLanguages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpressionParser
parserForLanguage(java.lang.String language)
Return theExpressionParser
forlanguage
, ornull
if no expression parser exists in the system for the specified language.
-
-
-
Field Detail
-
LANG_SQL
public static final java.lang.String LANG_SQL
- See Also:
- Constant Field Values
-
LANG_STORED_PROC
public static final java.lang.String LANG_STORED_PROC
- See Also:
- Constant Field Values
-
LANG_PREPARED_SQL
public static final java.lang.String LANG_PREPARED_SQL
- See Also:
- Constant Field Values
-
LANG_METHODQL
public static final java.lang.String LANG_METHODQL
- See Also:
- Constant Field Values
-
-
Method Detail
-
parserForLanguage
public static ExpressionParser parserForLanguage(java.lang.String language)
Return theExpressionParser
forlanguage
, ornull
if no expression parser exists in the system for the specified language.
-
-