org.objectweb.medor.expression.converter.rdb
Class Expression2WhereClauseImpl
java.lang.Object
org.objectweb.medor.expression.converter.rdb.Expression2WhereClauseImpl
- Expression2WhereClause
public class Expression2WhereClauseImpl
extends java.lang.Object
This class implements the Expression2WhereClause interface.
- A. Lefebvre
convertExp2WhereClause
public void convertExp2WhereClause(Expression exp,
RdbAdapter rdbAdapter,
StringBuffer sb)
throws ExpressionException
These method build a where clause in a StrinbBuffer from a medor
expression.
exp
- is the medor expression to translaterdbAdapter
- is the RdbAdapter permetting tosb
-
ExpressionException
-
convertExp2WhereClauseBuilder
public void convertExp2WhereClauseBuilder(Expression exp,
String rdbAdapterVarName,
StringBuffer sb)
throws ExpressionException
These method build a where clause in a StrinbBuffer from a medor
expression.
exp
- is the medor expression to translaterdbAdapterVarName
- is the RdbAdapter permetting tosb
-
ExpressionException
-
toSqlOperator
public String toSqlOperator(String in)
Returns the SQL equivalent of the Java operator String.