|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.query.ExpressionSelect
public class ExpressionSelect
A selection query element that selects an expression, optionally giving it an alias.
SELECT <expression> AS <alias> FROM ...
Selects.expression(Expression, String)| Method Summary | |
|---|---|
String |
getAlias()
Get the alias of the selected expression. |
Expression |
getExpression()
Get the expression object representing the selected expression. |
String |
toQl(Query query,
DbControl dc)
Create a query language string of the query element. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String toQl(Query query,
DbControl dc)
throws BaseException
QueryElementQuery.getQueryType() method to find out which query language is wanted
in case the element requires different syntax for different languages.
toQl in interface QueryElementquery - The query that is about to be executeddc - The DbControl object used to execute the query
BaseException - If there is any other errorpublic String getAlias()
Select
getAlias in interface Selectpublic Expression getExpression()
Select
getExpression in interface Selectpublic String toString()
toString in class Object
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||