org.apache.empire.db.expr.join
Class DBJoinExprEx

java.lang.Object
  extended by org.apache.empire.db.DBObject
      extended by org.apache.empire.db.DBExpr
          extended by org.apache.empire.db.expr.join.DBJoinExpr
              extended by org.apache.empire.db.expr.join.DBJoinExprEx
All Implemented Interfaces:
Serializable

public class DBJoinExprEx
extends DBJoinExpr

This class is used for building a join expression of an SQL statement.

There is no need to explicitly create instances of this class.
Instead use @link DBCommand.join(DBRowSet, DBCompareExpr, DBJoinType)

See Also:
Serialized Form

Field Summary
protected  DBCompareExpr cmp
           
 
Fields inherited from class org.apache.empire.db.expr.join.DBJoinExpr
compExpr, left, right, type
 
Fields inherited from class org.apache.empire.db.DBExpr
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE
 
Constructor Summary
DBJoinExprEx(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
          Constructs a new DBJoinExprEx
 
Method Summary
 void addSQL(StringBuilder buf, long context)
          Not allowed, this operation have to be done in the DBCommand object.
 DBCompareExpr getJoinConstraint()
           
 
Methods inherited from class org.apache.empire.db.expr.join.DBJoinExpr
addReferencedColumns, and, equals, getDatabase, getLeft, getOuterTable, getRight, getType, getWhere, isJoinOn, isJoinOn, reverse, where
 
Methods inherited from class org.apache.empire.db.DBExpr
getObjectValue, getValueClass
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cmp

protected final DBCompareExpr cmp
Constructor Detail

DBJoinExprEx

public DBJoinExprEx(DBRowSet rset,
                    DBCompareExpr cmp,
                    DBJoinType joinType)
Constructs a new DBJoinExprEx

Parameters:
rset - the rowset
cmp - the compare expression
joinType - the join type
Method Detail

getJoinConstraint

public DBCompareExpr getJoinConstraint()

addSQL

public void addSQL(StringBuilder buf,
                   long context)
Description copied from class: DBJoinExpr
Not allowed, this operation have to be done in the DBCommand object.

Overrides:
addSQL in class DBJoinExpr
Parameters:
buf - the string buffer used to build the sql command
context - context flag for this SQL-Command (see CTX_??? constants).


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.