com.solarmetric.kodo.impl.jdbc.query.listen
Class SQLExpression
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.SQLEmbed
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.SQLExpression
- All Implemented Interfaces:
- FilterListener, JDBCFilterListener
- public class SQLExpression
- extends SQLEmbed
Simple listener which embeds the argument as an expression into the
where clause generated by the query. Listens on "ext:sqlExp".
Example:
"price < 10 || ext:sqlExp (\"(SELECT AVG (PRICE) FROM PRODUCT_TABLE)
> 100\")"
|
Method Summary |
String |
getTag()
Return the tag that this extension listens for. |
boolean |
isExpression()
Return true if this extension is an expression; i.e. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static final String TAG
SQLExpression
public SQLExpression()
getTag
public String getTag()
- Description copied from interface:
FilterListener
- Return the tag that this extension listens for.
isExpression
public boolean isExpression()
- Description copied from interface:
FilterListener
- Return true if this extension is an expression; i.e. if it evaluates
to
true or false on its own.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.