org.xorm.query
Class RawCondition
java.lang.Object
|
+--org.xorm.query.Condition
|
+--org.xorm.query.RawCondition
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- SQLCondition
- public class RawCondition
- extends Condition
RawConditions represent queries in some native query format against
a set of tables. At execution time, any instances of names surrounded
by curly braces will be substituted with the String value provided
by the bound query (but only if the RawCondition is attached to an
instance of DataQuery directly).
The main use of this class is to provide a means of passing native
SQL queries to the datastore, but it could be used or extended for other
text-based query languages as well.
RawCondition
public RawCondition(Collection tables,
String rawQuery)
getRawQuery
public String getRawQuery()
getTables
public Collection getTables()
convertOperand
public String convertOperand(Object operand)
$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/query/RawCondition.html,v 1.4 2004/05/30 08:55:08 wbiggs Exp $