org.tranql.ql
Class Join

java.lang.Object
  extended by org.tranql.ql.AbstractNode
      extended by org.tranql.ql.Join
All Implemented Interfaces:
java.io.Serializable, Node

public final class Join
extends AbstractNode

This node represents a JOIN cluase in the FROM clause of a SELECT statement. This node supports cross, inner, left right and full join. This node expects two or three childred a left entity, right entity, and an optional condition. left INNER JOIN right ON (left.x = right.y)

Version:
$Revision: 176 $ $Date: 2005-02-27 08:20:24 +0100 (Sun, 27 Feb 2005) $
See Also:
Serialized Form

Field Summary
static org.tranql.ql.Join.JoinType CROSS_JOIN
           
static org.tranql.ql.Join.JoinType FULL_JOIN
           
static org.tranql.ql.Join.JoinType INNER_JOIN
           
static org.tranql.ql.Join.JoinType LEFT_JOIN
           
static org.tranql.ql.Join.JoinType RIGHT_JOIN
           
 
Constructor Summary
Join(org.tranql.ql.Join.JoinType type)
           
 
Method Summary
 org.tranql.ql.Join.JoinType getType()
           
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CROSS_JOIN

public static final org.tranql.ql.Join.JoinType CROSS_JOIN

INNER_JOIN

public static final org.tranql.ql.Join.JoinType INNER_JOIN

LEFT_JOIN

public static final org.tranql.ql.Join.JoinType LEFT_JOIN

RIGHT_JOIN

public static final org.tranql.ql.Join.JoinType RIGHT_JOIN

FULL_JOIN

public static final org.tranql.ql.Join.JoinType FULL_JOIN
Constructor Detail

Join

public Join(org.tranql.ql.Join.JoinType type)
Method Detail

getType

public org.tranql.ql.Join.JoinType getType()

visit

public java.lang.Object visit(QueryVisitor visitor,
                              java.lang.Object param)
                       throws QueryException
Throws:
QueryException


Copyright © -2010 The Codehaus. All Rights Reserved.