public class JQLC extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class |
candidateClass |
protected ErrorMsg |
errorMsg |
protected JQLAST |
filterAST |
protected JQLAST |
importsAST |
protected static ResourceBundle |
messages
I18N support
|
protected JQLAST |
orderingAST |
protected JQLAST |
paramsAST |
protected JQLAST |
queryAST |
protected JQLAST |
resultAST |
protected Map |
retrieveDescCache
RD cache, key is a string build from actual param values
(see ParameterTable.getKeyForRetrieveDescCache).
|
protected TypeTable |
typetab |
protected JQLAST |
varsAST |
| Constructor and Description |
|---|
JQLC() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCandidates(Class candidateClass,
Collection candidateCollection) |
RetrieveDesc |
codeGen(PersistenceManager pm,
ParameterTable paramtab) |
static com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.JQLParser |
createStringParser(String text,
ErrorMsg errorMsg)
Returns a JQLParser instance parsing the specified text.
|
void |
declareImports(String imports) |
void |
declareParameters(String parameters) |
void |
declareVariables(String variables) |
void |
semanticCheck(ParameterTable paramtab) |
void |
setClass(Class candidateClass) |
void |
setFilter(String filter) |
void |
setOrdering(String ordering) |
void |
setPrefetchEnabled(boolean prefetchEnabled) |
void |
setResult(String result) |
protected TypeTable typetab
protected ErrorMsg errorMsg
protected Class candidateClass
protected JQLAST filterAST
protected JQLAST importsAST
protected JQLAST varsAST
protected JQLAST paramsAST
protected JQLAST orderingAST
protected JQLAST resultAST
protected JQLAST queryAST
protected Map retrieveDescCache
protected static final ResourceBundle messages
public void setClass(Class candidateClass)
public void declareImports(String imports)
public void declareParameters(String parameters)
public void declareVariables(String variables)
public void setOrdering(String ordering)
public void setResult(String result)
public void setFilter(String filter)
public void setPrefetchEnabled(boolean prefetchEnabled)
public void semanticCheck(ParameterTable paramtab)
public RetrieveDesc codeGen(PersistenceManager pm, ParameterTable paramtab)
public void checkCandidates(Class candidateClass, Collection candidateCollection)
Copyright © 2017. All rights reserved.