org.jboss.ejb.plugins.cmp.jdbc
Interface QLCompiler

All Known Implementing Classes:
EJBQLToSQL92Compiler (src) , JDBCEJBQLCompiler (src)

public interface QLCompiler


Method Summary
 void compileEJBQL(java.lang.String ejbql, java.lang.Class returnType, java.lang.Class[] parameterTypes, JDBCQueryMetaData (src)  metadata)
           
 void compileJBossQL(java.lang.String ejbql, java.lang.Class returnType, java.lang.Class[] parameterTypes, JDBCQueryMetaData (src)  metadata)
           
 java.util.List getInputParameters()
           
 java.util.List getLeftJoinCMRList()
           
 int getLimitParam()
           
 int getLimitValue()
           
 int getOffsetParam()
           
 int getOffsetValue()
           
 JDBCAbstractEntityBridge (src) getSelectEntity()
           
 JDBCFieldBridge (src) getSelectField()
           
 SelectFunction (src) getSelectFunction()
           
 java.lang.String getSQL()
           
 EntityPersistenceStore (src) getStoreManager()
           
 boolean isSelectEntity()
           
 boolean isSelectField()
           
 

Method Detail

compileEJBQL

public void compileEJBQL(java.lang.String ejbql,
                         java.lang.Class returnType,
                         java.lang.Class[] parameterTypes,
                         JDBCQueryMetaData (src)  metadata)
                  throws java.lang.Exception
Throws:
java.lang.Exception

compileJBossQL

public void compileJBossQL(java.lang.String ejbql,
                           java.lang.Class returnType,
                           java.lang.Class[] parameterTypes,
                           JDBCQueryMetaData (src)  metadata)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getSQL

public java.lang.String getSQL()

getOffsetValue

public int getOffsetValue()

getOffsetParam

public int getOffsetParam()

getLimitValue

public int getLimitValue()

getLimitParam

public int getLimitParam()

isSelectEntity

public boolean isSelectEntity()

getSelectEntity

public JDBCAbstractEntityBridge (src)  getSelectEntity()

isSelectField

public boolean isSelectField()

getSelectField

public JDBCFieldBridge (src)  getSelectField()

getSelectFunction

public SelectFunction (src)  getSelectFunction()

getStoreManager

public EntityPersistenceStore (src)  getStoreManager()

getInputParameters

public java.util.List getInputParameters()

getLeftJoinCMRList

public java.util.List getLeftJoinCMRList()