|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.query.compiler.JPQLParser
public class JPQLParser
Implementation of a parser for JPQL query language.
| Constructor Summary | |
|---|---|
JPQLParser(java.util.Map options)
Constructor for a JPQL Parser. |
|
| Method Summary | |
|---|---|
Node |
compile(java.lang.String expression)
|
protected void |
compileAdditiveExpression()
|
Node[] |
compileFrom(java.lang.String expression)
Method to compile the "from" clause, but JDOQL has no "from" so do nothing. |
protected boolean |
compileLiteral()
A literal is one value of any type. |
protected void |
compileMultiplicativeExpression()
|
Node[] |
compileOrder(java.lang.String expression)
|
Node[][] |
compileParameters(java.lang.String expression)
|
protected void |
compilePrimary()
Compiles the primary. |
Node[] |
compileTupple(java.lang.String expression)
|
protected void |
compileUnaryExpression()
|
protected void |
compileUnaryExpressionNotPlusMinus()
|
Node |
compileVariable(java.lang.String expression)
|
Node[][] |
compileVariables(java.lang.String expression)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPQLParser(java.util.Map options)
options - parser options| Method Detail |
|---|
public Node compile(java.lang.String expression)
compile in interface Parserpublic Node compileVariable(java.lang.String expression)
compileVariable in interface Parserpublic Node[] compileFrom(java.lang.String expression)
compileFrom in interface Parserexpression - From string
public Node[] compileOrder(java.lang.String expression)
compileOrder in interface Parserpublic Node[] compileTupple(java.lang.String expression)
compileTupple in interface Parserpublic Node[][] compileVariables(java.lang.String expression)
compileVariables in interface Parserpublic Node[][] compileParameters(java.lang.String expression)
compileParameters in interface Parserprotected void compileAdditiveExpression()
protected void compileMultiplicativeExpression()
protected void compileUnaryExpression()
protected void compileUnaryExpressionNotPlusMinus()
protected void compilePrimary()
protected boolean compileLiteral()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||