| java.lang.Object com.versant.core.ejb.query.NodeVisitorAdapter com.versant.core.jdbc.ejbql.EJBQLNodeToSqlExp
EJBQLNodeToSqlExp | public class EJBQLNodeToSqlExp extends NodeVisitorAdapter (Code) | | Walks EJBQL Node trees to produce SqlExp trees.
|
Method Summary | |
public Object | arriveAddNode(AddNode node, Object msg) | public Object | arriveAndNode(AndNode node, Object msg) | public Object | arriveBetweenNode(BetweenNode node, Object msg) | public Object | arriveCompNode(CompNode node, Object msg) | public Object | arriveIdentificationVarNode(IdentificationVarNode node, Object msg) Declaration of identification variable in the FROM list e.g. | public Object | arriveLikeNode(LikeNode node, Object msg) | public Object | arriveLiteralNode(LiteralNode node, Object msg) | public Object | arriveMultiplyNode(MultiplyNode node, Object msg) | public Object | arriveNotNode(NotNode node, Object msg) | public Object | arriveObjectNode(ObjectNode node, Object msg) | public Object | arriveOrNode(OrNode node, Object msg) | public Object | arriveParameterNode(ParameterNode node, Object msg) | public Object | arriveParenNode(ParenNode node, Object msg) | public Object | arrivePathNode(PathNode node, Object msg) Path (e.g. | public Object | arriveSelectNode(SelectNode node, Object msg) SELECT .. | public Object | arriveUnaryMinusNode(UnaryMinusNode node, Object msg) | protected Object | defaultArrive(Node node, Object msg) Throw exception if we hit any unhandled nodes. | public SqlExp | toSqlExp(Node node, Object msg) Convert resolved Node tree to a SqlExp tree. |
arriveIdentificationVarNode | public Object arriveIdentificationVarNode(IdentificationVarNode node, Object msg)(Code) | | Declaration of identification variable in the FROM list e.g.
'FROM Order AS o, Product AS p'.
|
arriveSelectNode | public Object arriveSelectNode(SelectNode node, Object msg)(Code) | | SELECT .. FROM .. WHERE .. GROUP BY .. HAVING .. ORDER BY expression
that is not a subquery.
|
defaultArrive | protected Object defaultArrive(Node node, Object msg)(Code) | | Throw exception if we hit any unhandled nodes.
|
toSqlExp | public SqlExp toSqlExp(Node node, Object msg)(Code) | | Convert resolved Node tree to a SqlExp tree. Returns nul if node is null.
|
Methods inherited from com.versant.core.ejb.query.NodeVisitorAdapter | public Object arriveAddNode(AddNode node, Object msg)(Code)(Java Doc) public Object arriveAggregateNode(AggregateNode node, Object msg)(Code)(Java Doc) public Object arriveAllOrAnyNode(AllOrAnyNode node, Object msg)(Code)(Java Doc) public Object arriveAndNode(AndNode node, Object msg)(Code)(Java Doc) public Object arriveBetweenNode(BetweenNode node, Object msg)(Code)(Java Doc) public Object arriveCollectionMemberNode(CollectionMemberNode node, Object msg)(Code)(Java Doc) public Object arriveCompNode(CompNode node, Object msg)(Code)(Java Doc) public Object arriveConstructorNode(ConstructorNode node, Object msg)(Code)(Java Doc) public Object arriveDateFunctionNode(DateFunctionNode node, Object msg)(Code)(Java Doc) public Object arriveDeleteNode(DeleteNode node, Object msg)(Code)(Java Doc) public Object arriveEmptyCompNode(EmptyCompNode node, Object msg)(Code)(Java Doc) public Object arriveExistsNode(ExistsNode node, Object msg)(Code)(Java Doc) public Object arriveIdentificationVarNode(IdentificationVarNode node, Object msg)(Code)(Java Doc) public Object arriveInNode(InNode node, Object msg)(Code)(Java Doc) public Object arriveJoinNode(JoinNode node, Object msg)(Code)(Java Doc) public Object arriveLikeNode(LikeNode node, Object msg)(Code)(Java Doc) public Object arriveLiteralNode(LiteralNode node, Object msg)(Code)(Java Doc) public Object arriveMemberCompNode(MemberCompNode node, Object msg)(Code)(Java Doc) public Object arriveMultiplyNode(MultiplyNode node, Object msg)(Code)(Java Doc) public Object arriveNotNode(NotNode node, Object msg)(Code)(Java Doc) public Object arriveNullCompNode(NullCompNode node, Object msg)(Code)(Java Doc) public Object arriveNumericFunctionNode(NumericFunctionNode node, Object msg)(Code)(Java Doc) public Object arriveObjectNode(ObjectNode node, Object msg)(Code)(Java Doc) public Object arriveOrNode(OrNode node, Object msg)(Code)(Java Doc) public Object arriveParameterNode(ParameterNode node, Object msg)(Code)(Java Doc) public Object arriveParenNode(ParenNode node, Object msg)(Code)(Java Doc) public Object arrivePathNode(PathNode node, Object msg)(Code)(Java Doc) public Object arriveSelectNode(SelectNode node, Object msg)(Code)(Java Doc) public Object arriveSetNode(SetNode node, Object msg)(Code)(Java Doc) public Object arriveStringFunctionNode(StringFunctionNode node, Object msg)(Code)(Java Doc) public Object arriveUnaryMinusNode(UnaryMinusNode node, Object msg)(Code)(Java Doc) public Object arriveUpdateNode(UpdateNode node, Object msg)(Code)(Java Doc) protected Object defaultArrive(Node node, Object msg)(Code)(Java Doc)
|
|
|