|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.medor.expression.converter.rdb.Expression2WhereClauseImpl
This class implements the Expression2WhereClause interface.
Constructor Summary | |
Expression2WhereClauseImpl()
|
Method Summary | |
java.lang.String |
convertExp2WhereClause(Expression exp,
RdbAdapter rdbAdapter)
Converts an expression to a relational where clause |
void |
convertExp2WhereClause(Expression exp,
RdbAdapter rdbAdapter,
java.lang.StringBuffer sb)
These method build a where clause in a StrinbBuffer from a medor expression. |
void |
convertExp2WhereClauseBuilder(Expression exp,
java.lang.String rdbAdapterVarName,
java.lang.StringBuffer sb)
These method build a where clause in a StrinbBuffer from a medor expression. |
java.lang.String |
toSqlOperator(java.lang.String in)
Returns the SQL equivalent of the Java operator String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Expression2WhereClauseImpl()
Method Detail |
public final java.lang.String convertExp2WhereClause(Expression exp, RdbAdapter rdbAdapter) throws ExpressionException
Expression2WhereClause
convertExp2WhereClause
in interface Expression2WhereClause
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
ExpressionException
public void convertExp2WhereClause(Expression exp, RdbAdapter rdbAdapter, java.lang.StringBuffer sb) throws ExpressionException
exp
- is the medor expression to translaterdbAdapter
- is the RdbAdapter permetting tosb
-
ExpressionException
public java.lang.String toSqlOperator(java.lang.String in)
public void convertExp2WhereClauseBuilder(Expression exp, java.lang.String rdbAdapterVarName, java.lang.StringBuffer sb) throws ExpressionException
exp
- is the medor expression to translaterdbAdapterVarName
- is the RdbAdapter permetting tosb
-
ExpressionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |