org.objectweb.medor.expression.converter.api
Interface Expression2WhereClause
- All Known Implementing Classes:
- Expression2WhereClauseImpl
- public interface Expression2WhereClause
Converts an expression to a relation where clause.
- Author:
- A. Lefebvre
convertExp2WhereClause
public java.lang.String convertExp2WhereClause(Expression exp,
RdbAdapter rdbAdapter)
throws ExpressionException
- Converts an expression to a relational where clause
- Parameters:
exp
- the Expression to be convertedrdbAdapter
- the RdbAdapter which can be necessary to compute parts
of the query which may depend from the relational database
- Returns:
- the SQL WHERE clause corresponding to the input Expression, as a
String
- Throws:
ExpressionException