|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.jdoql.jdoqlc.JDOQLC
public class JDOQLC
This class controls the JDOQL compiler passes.
Field Summary | |
---|---|
protected java.lang.Class |
candidateClass
The candidate class. |
protected ErrorMsg |
errorMsg
Error message helper. |
protected JDOQLAST |
filterAST
The AST representing the filter expression. |
protected JDOQLAST |
importsAST
The AST representing the import declarations. |
protected JDOQLAST |
orderingAST
The AST representing the ordering specification. |
protected JDOQLAST |
paramsAST
The AST representing the parameter declarations. |
protected org.apache.jdo.pm.PersistenceManagerInternal |
pm
The persistence manager of the query instance. |
protected JDOQLAST |
queryTree
The complete query tree. |
protected TypeSupport |
typeSupport
Type support. |
protected JDOQLAST |
varsAST
The AST representing the variable declarations. |
Constructor Summary | |
---|---|
JDOQLC(org.apache.jdo.pm.PersistenceManagerInternal pm)
|
Method Summary | |
---|---|
void |
declareImports(java.lang.String imports)
|
void |
declareParameters(java.lang.String parameters)
|
void |
declareVariables(java.lang.String variables)
|
JDOQLAST |
optimize(JDOQLAST tree)
|
JDOQLAST |
optimize(JDOQLAST tree,
ParameterTable paramtab)
|
JDOQLAST |
semanticCheck(ParameterTable paramtab,
VariableTable vartab)
|
void |
setClass(java.lang.Class candidateClass)
|
void |
setFilter(java.lang.String filter)
|
void |
setOrdering(java.lang.String ordering)
|
void |
setQueryTree(JDOQLAST queryTree)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.jdo.pm.PersistenceManagerInternal pm
protected TypeSupport typeSupport
protected ErrorMsg errorMsg
protected java.lang.Class candidateClass
protected JDOQLAST filterAST
protected JDOQLAST importsAST
protected JDOQLAST paramsAST
protected JDOQLAST varsAST
protected JDOQLAST orderingAST
protected JDOQLAST queryTree
Constructor Detail |
---|
public JDOQLC(org.apache.jdo.pm.PersistenceManagerInternal pm)
Method Detail |
---|
public void setClass(java.lang.Class candidateClass)
public void declareImports(java.lang.String imports)
public void declareParameters(java.lang.String parameters)
public void declareVariables(java.lang.String variables)
public void setOrdering(java.lang.String ordering)
public void setFilter(java.lang.String filter)
public void setQueryTree(JDOQLAST queryTree)
public JDOQLAST semanticCheck(ParameterTable paramtab, VariableTable vartab)
public JDOQLAST optimize(JDOQLAST tree)
public JDOQLAST optimize(JDOQLAST tree, ParameterTable paramtab)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |