|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryGenerator
Interface for a generator of query statements.
| Method Summary | |
|---|---|
org.datanucleus.ClassLoaderResolver |
getClassLoaderResolver()
Accessor for the ClassLoader resolver to use when looking up classes. |
org.datanucleus.query.compiler.CompilationComponent |
getCompilationComponent()
Accessor for the current query component being compiled. |
org.datanucleus.ObjectManager |
getObjectManager()
Accessor for the ObjectManager for this query. |
java.lang.Object |
getProperty(java.lang.String name)
Accessor for a property affecting the query compilation. |
java.lang.String |
getQueryLanguage()
Accessor for the query language that this query pertains to. |
void |
useParameterExpressionAsLiteral(SQLLiteral paramLiteral)
Method to instruct the generator to convert the provided parameter expression to just be a literal using the value of the parameter (hence the statement cannot be precompilable since the value needs to be known). |
| Method Detail |
|---|
java.lang.String getQueryLanguage()
org.datanucleus.ClassLoaderResolver getClassLoaderResolver()
org.datanucleus.ObjectManager getObjectManager()
org.datanucleus.query.compiler.CompilationComponent getCompilationComponent()
java.lang.Object getProperty(java.lang.String name)
name - The property name
void useParameterExpressionAsLiteral(SQLLiteral paramLiteral)
paramLiteral - The parameter expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||