当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
EJBQLToSQL92Compiler (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc
Class EJBQLToSQL92Compiler
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler
- All Implemented Interfaces:
- QLCompiler
- public final class EJBQLToSQL92Compiler
- extends Object
- implements QLCompiler
Compiles EJB-QL and JBossQL into SQL using OUTER and INNER joins.
- Version:
- $Revision: 1.16 $
- Author:
- Alex Loubyansky
Method Summary |
void |
compileEJBQL(String ejbql,
Class returnType,
Class[] parameterTypes,
JDBCQueryMetaData metadata)
|
void |
compileJBossQL(String ejbql,
Class returnType,
Class[] parameterTypes,
JDBCQueryMetaData metadata)
|
List |
getInputParameters()
|
List |
getLeftJoinCMRList()
|
int |
getLimitParam()
|
int |
getLimitValue()
|
int |
getOffsetParam()
|
int |
getOffsetValue()
|
JDBCAbstractEntityBridge |
getSelectEntity()
|
JDBCFieldBridge |
getSelectField()
|
SelectFunction |
getSelectFunction()
|
String |
getSQL()
|
EntityPersistenceStore |
getStoreManager()
|
boolean |
isSelectEntity()
|
boolean |
isSelectField()
|
Object |
visit(ASTAbs node,
Object data)
|
Object |
visit(ASTAbstractSchema node,
Object data)
|
Object |
visit(ASTAnd node,
Object data)
|
Object |
visit(ASTApproximateNumericLiteral node,
Object data)
|
Object |
visit(ASTArithmeticComparison node,
Object data)
|
Object |
visit(ASTArithmeticParenthetical node,
Object data)
|
Object |
visit(ASTAvg node,
Object data)
|
Object |
visit(ASTBetween node,
Object data)
|
Object |
visit(ASTBooleanComparison node,
Object data)
|
Object |
visit(ASTBooleanLiteral node,
Object data)
|
Object |
visit(ASTCollectionMemberDeclaration node,
Object data)
|
Object |
visit(ASTConcat node,
Object data)
|
Object |
visit(ASTConditionalParenthetical node,
Object data)
|
Object |
visit(ASTCount node,
Object data)
|
Object |
visit(ASTDatetimeComparison node,
Object data)
|
Object |
visit(ASTEJBQL node,
Object data)
|
Object |
visit(ASTEntityComparison node,
Object data)
|
Object |
visit(ASTExactNumericLiteral node,
Object data)
|
Object |
visit(ASTFrom from,
Object data)
|
Object |
visit(ASTIdentifier node,
Object data)
|
Object |
visit(ASTIn node,
Object data)
|
Object |
visit(ASTIsEmpty node,
Object data)
|
Object |
visit(ASTLCase node,
Object data)
|
Object |
visit(ASTLength node,
Object data)
|
Object |
visit(ASTLike node,
Object data)
|
Object |
visit(ASTLimitOffset node,
Object data)
|
Object |
visit(ASTLocate node,
Object data)
|
Object |
visit(ASTMax node,
Object data)
|
Object |
visit(ASTMemberOf node,
Object data)
|
Object |
visit(ASTMin node,
Object data)
|
Object |
visit(ASTMod node,
Object data)
|
Object |
visit(ASTMultDiv node,
Object data)
|
Object |
visit(ASTNegation node,
Object data)
|
Object |
visit(ASTNot node,
Object data)
|
Object |
visit(ASTNullComparison node,
Object data)
|
Object |
visit(ASTOrderBy node,
Object data)
|
Object |
visit(ASTOrderByPath node,
Object data)
|
Object |
visit(ASTOr node,
Object data)
|
Object |
visit(ASTParameter node,
Object data)
|
Object |
visit(ASTPath node,
Object data)
|
Object |
visit(ASTPlusMinus node,
Object data)
|
Object |
visit(ASTRangeVariableDeclaration node,
Object data)
|
Object |
visit(ASTSelect select,
Object data)
|
Object |
visit(ASTSqrt node,
Object data)
|
Object |
visit(ASTStringComparison node,
Object data)
|
Object |
visit(ASTStringLiteral node,
Object data)
|
Object |
visit(ASTStringParenthetical node,
Object data)
|
Object |
visit(ASTSubstring node,
Object data)
|
Object |
visit(ASTSum node,
Object data)
|
Object |
visit(ASTUCase node,
Object data)
|
Object |
visit(ASTValueClassComparison node,
Object data)
|
Object |
visit(ASTWhereConditionalTerm node,
Object data)
|
Object |
visit(ASTWhere node,
Object data)
|
Object |
visit(SimpleNode node,
Object data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBQLToSQL92Compiler
public EJBQLToSQL92Compiler(Catalog catalog)
compileEJBQL
public void compileEJBQL(String ejbql,
Class returnType,
Class[] parameterTypes,
JDBCQueryMetaData metadata)
throws Exception
- Specified by:
compileEJBQL
in interface QLCompiler
- Throws:
Exception
compileJBossQL
public void compileJBossQL(String ejbql,
Class returnType,
Class[] parameterTypes,
JDBCQueryMetaData metadata)
throws Exception
- Specified by:
compileJBossQL
in interface QLCompiler
- Throws:
Exception
getSQL
public String getSQL()
- Specified by:
getSQL
in interface QLCompiler
getOffsetValue
public int getOffsetValue()
- Specified by:
getOffsetValue
in interface QLCompiler
getOffsetParam
public int getOffsetParam()
- Specified by:
getOffsetParam
in interface QLCompiler
getLimitValue
public int getLimitValue()
- Specified by:
getLimitValue
in interface QLCompiler
getLimitParam
public int getLimitParam()
- Specified by:
getLimitParam
in interface QLCompiler
isSelectEntity
public boolean isSelectEntity()
- Specified by:
isSelectEntity
in interface QLCompiler
getSelectEntity
public JDBCAbstractEntityBridge getSelectEntity()
- Specified by:
getSelectEntity
in interface QLCompiler
isSelectField
public boolean isSelectField()
- Specified by:
isSelectField
in interface QLCompiler
getSelectField
public JDBCFieldBridge getSelectField()
- Specified by:
getSelectField
in interface QLCompiler
getSelectFunction
public SelectFunction getSelectFunction()
- Specified by:
getSelectFunction
in interface QLCompiler
getStoreManager
public EntityPersistenceStore getStoreManager()
- Specified by:
getStoreManager
in interface QLCompiler
getInputParameters
public List getInputParameters()
- Specified by:
getInputParameters
in interface QLCompiler
getLeftJoinCMRList
public List getLeftJoinCMRList()
- Specified by:
getLeftJoinCMRList
in interface QLCompiler
visit
public Object visit(SimpleNode node,
Object data)
visit
public Object visit(ASTEJBQL node,
Object data)
visit
public Object visit(ASTOrderBy node,
Object data)
visit
public Object visit(ASTOrderByPath node,
Object data)
visit
public Object visit(ASTLimitOffset node,
Object data)
visit
public Object visit(ASTSelect select,
Object data)
visit
public Object visit(ASTWhere node,
Object data)
visit
public Object visit(ASTOr node,
Object data)
visit
public Object visit(ASTWhereConditionalTerm node,
Object data)
visit
public Object visit(ASTAnd node,
Object data)
visit
public Object visit(ASTNot node,
Object data)
visit
public Object visit(ASTConditionalParenthetical node,
Object data)
visit
public Object visit(ASTBetween node,
Object data)
visit
public Object visit(ASTIn node,
Object data)
visit
public Object visit(ASTLike node,
Object data)
visit
public Object visit(ASTNullComparison node,
Object data)
visit
public Object visit(ASTIsEmpty node,
Object data)
visit
public Object visit(ASTMemberOf node,
Object data)
visit
public Object visit(ASTStringComparison node,
Object data)
visit
public Object visit(ASTBooleanComparison node,
Object data)
visit
public Object visit(ASTDatetimeComparison node,
Object data)
visit
public Object visit(ASTValueClassComparison node,
Object data)
visit
public Object visit(ASTEntityComparison node,
Object data)
visit
public Object visit(ASTArithmeticComparison node,
Object data)
visit
public Object visit(ASTPlusMinus node,
Object data)
visit
public Object visit(ASTMultDiv node,
Object data)
visit
public Object visit(ASTNegation node,
Object data)
visit
public Object visit(ASTArithmeticParenthetical node,
Object data)
visit
public Object visit(ASTStringParenthetical node,
Object data)
visit
public Object visit(ASTConcat node,
Object data)
visit
public Object visit(ASTSubstring node,
Object data)
visit
public Object visit(ASTUCase node,
Object data)
visit
public Object visit(ASTLCase node,
Object data)
visit
public Object visit(ASTLength node,
Object data)
visit
public Object visit(ASTLocate node,
Object data)
visit
public Object visit(ASTAbs node,
Object data)
visit
public Object visit(ASTSqrt node,
Object data)
visit
public Object visit(ASTMod node,
Object data)
visit
public Object visit(ASTAvg node,
Object data)
visit
public Object visit(ASTMax node,
Object data)
visit
public Object visit(ASTMin node,
Object data)
visit
public Object visit(ASTSum node,
Object data)
visit
public Object visit(ASTCount node,
Object data)
visit
public Object visit(ASTPath node,
Object data)
visit
public Object visit(ASTAbstractSchema node,
Object data)
visit
public Object visit(ASTIdentifier node,
Object data)
visit
public Object visit(ASTParameter node,
Object data)
visit
public Object visit(ASTExactNumericLiteral node,
Object data)
visit
public Object visit(ASTApproximateNumericLiteral node,
Object data)
visit
public Object visit(ASTStringLiteral node,
Object data)
visit
public Object visit(ASTBooleanLiteral node,
Object data)
visit
public Object visit(ASTFrom from,
Object data)
visit
public Object visit(ASTCollectionMemberDeclaration node,
Object data)
visit
public Object visit(ASTRangeVariableDeclaration node,
Object data)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.