|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.jpql.JPQLParser
public class JPQLParser
Parser for JPQL queries.
Field Summary | |
---|---|
static String |
LANG_JPQL
|
Constructor Summary | |
---|---|
JPQLParser()
|
Method Summary | |
---|---|
QueryExpressions |
eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given query string. |
Value[] |
eval(String[] vals,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given value clauses. |
String |
getLanguage()
Return a string key describing the language that this instance parses. |
Object |
parse(String ql,
ExpressionStoreQuery query)
Return a parsed intermediate form of the given query string. |
void |
populate(Object parsed,
ExpressionStoreQuery query)
Use the parsed query form to set information such as candidate type, result type, etc that was encoded in the query string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LANG_JPQL
Constructor Detail |
---|
public JPQLParser()
Method Detail |
---|
public Object parse(String ql, ExpressionStoreQuery query)
ExpressionParser
parse
in interface ExpressionParser
public void populate(Object parsed, ExpressionStoreQuery query)
ExpressionParser
populate
in interface ExpressionParser
public QueryExpressions eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
ExpressionParser
eval
in interface ExpressionParser
public Value[] eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
ExpressionParser
eval
in interface ExpressionParser
public String getLanguage()
ExpressionParser
getLanguage
in interface ExpressionParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |