org.objectweb.medor.expression.converter.api

Interface Expression2WhereClause

Known Implementing Classes:
Expression2WhereClauseImpl

public interface Expression2WhereClause

Converts an expression to a relation where clause.

Author:
A. Lefebvre

Method Summary

String
convertExp2WhereClause(Expression exp, RdbAdapter rdbAdapter)
Converts an expression to a relational where clause

Method Details

convertExp2WhereClause

public String convertExp2WhereClause(Expression exp,
                                     RdbAdapter rdbAdapter)
            throws ExpressionException
Converts an expression to a relational where clause

Parameters:
exp - the Expression to be converted
rdbAdapter - 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 -