com.solarmetric.kodo.impl.jdbc.query.listen
Class LitSQLEmbed
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.SQLEmbed
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.LitSQLEmbed
- All Implemented Interfaces:
- FilterListener, JDBCFilterListener
- public class LitSQLEmbed
- extends SQLEmbed
Simple listener which embeds the argument as an expression into the
where clause generated by the query. Listens on "lit:sqlEmbed".
Example:
"price < 10 || lit:sqlEmbed (\"(SELECT AVG (PRICE) FROM PRODUCT_TABLE)
> 100\")"
|
Method Summary |
String |
getTag()
Deprecated. Return the tag that this extension listens for. |
boolean |
isExpression()
Deprecated. 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
- Deprecated.
LitSQLEmbed
public LitSQLEmbed()
- Deprecated.
getTag
public String getTag()
- Deprecated.
- Description copied from interface:
FilterListener
- Return the tag that this extension listens for.
isExpression
public boolean isExpression()
- Deprecated.
- 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.