|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QueryElement
A query element is used in various places in a Query to
build the structure of the query. A query element is by itself not useful,
only the subtypes of this interface are.
| Method Summary | |
|---|---|
Collection<? extends QueryElement> |
getChildren()
Get the children of this query element or null if it has no children. |
String |
toQl(Query query,
DbControl dc)
Create a query language string of the query element. |
| Method Detail |
|---|
String toQl(Query query,
DbControl dc)
throws BaseException
Query.getQueryType() method to find out which query language is wanted
in case the element requires different syntax for different languages.
query - The query that is about to be executeddc - The DbControl object used to execute the query
UnsupportedOperationException - If the requested query language is
not supported by the query element
BaseException - If there is any other errorCollection<? extends QueryElement> getChildren()
AddExpression has two children, the expression
beeing added.
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||