| org.xorm.query.QueryLanguage
All known Subclasses: org.xorm.query.CodeParser, org.xorm.query.AbstractQueryLanguage,
QueryLanguage | public interface QueryLanguage extends Cloneable(Code) | | This small interface must be implemented by any dialect of a query
language that will be used with XORM. The query can be executed
by JDO by calling PersistenceManager.newQuery(QueryLanguage.LANGUAGE,
this) where "this" is an instance of QueryLanguage.
|
Method Summary | |
void | compile() A hint that the implementation should undertake the work
of generating the Expression object now for future use. | Class | getCandidateClass() Gets the class of candidate instances for the query. | Expression | getExpression() Returns the query expression generated by this object. | QueryOrdering[] | getOrdering() Gets the ordering that should be used in returning the values. |
compile | void compile() throws QuerySyntaxException(Code) | | A hint that the implementation should undertake the work
of generating the Expression object now for future use.
|
getCandidateClass | Class getCandidateClass()(Code) | | Gets the class of candidate instances for the query.
|
getExpression | Expression getExpression()(Code) | | Returns the query expression generated by this object.
This method may return null if compile() has not been
called.
|
getOrdering | QueryOrdering[] getOrdering()(Code) | | Gets the ordering that should be used in returning the values.
|
|
|