org.objectweb.medor.query.rdb.lib
Class MedorExpression2WhereClause

java.lang.Object
  extended byExpression2WhereClauseImpl
      extended byorg.objectweb.medor.query.rdb.lib.MedorExpression2WhereClause

public class MedorExpression2WhereClause
extends Expression2WhereClauseImpl

This class overrides Expression2WhereClauseImpl for MEDOR-specific operators.

It is meant to be used for a particular QueryLeaf.

Author:
A. Lefebvre
See Also:
Serialized Form

Field Summary
static java.lang.Integer POS
           
static java.lang.Integer QUERY_LEAF
           
 
Constructor Summary
MedorExpression2WhereClause()
           
 
Method Summary
 void convertExp2WhereClause(Expression exp, RdbAdapter rdbAdapter, java.lang.StringBuffer sb, java.util.Map ctx)
           
 void convertExp2WhereClauseBuilder(Expression exp, java.lang.String rdbAdapterVarName, java.lang.StringBuffer sb, java.util.Map ctx)
           
static java.lang.String e2where(Expression exp, RdbAdapter rdbAdapter, BasicRdbExpQueryLeaf ql, ParameterOperand[] pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POS

public static final java.lang.Integer POS

QUERY_LEAF

public static final java.lang.Integer QUERY_LEAF
Constructor Detail

MedorExpression2WhereClause

public MedorExpression2WhereClause()
Method Detail

e2where

public static java.lang.String e2where(Expression exp,
                                       RdbAdapter rdbAdapter,
                                       BasicRdbExpQueryLeaf ql,
                                       ParameterOperand[] pos)
                                throws ExpressionException
Throws:
ExpressionException

convertExp2WhereClause

public void convertExp2WhereClause(Expression exp,
                                   RdbAdapter rdbAdapter,
                                   java.lang.StringBuffer sb,
                                   java.util.Map ctx)
                            throws ExpressionException
Throws:
ExpressionException

convertExp2WhereClauseBuilder

public void convertExp2WhereClauseBuilder(Expression exp,
                                          java.lang.String rdbAdapterVarName,
                                          java.lang.StringBuffer sb,
                                          java.util.Map ctx)
                                   throws ExpressionException
Throws:
ExpressionException