org.apache.empire.db.expr.join
Class DBJoinExprEx
java.lang.Object
org.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.expr.join.DBJoinExpr
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
Methods inherited from class org.apache.empire.db.expr.join.DBJoinExpr |
addReferencedColumns, and, equals, getDatabase, getLeft, getOuterTable, getRight, getType, getWhere, isJoinOn, isJoinOn, reverse, where |
cmp
protected final DBCompareExpr cmp
DBJoinExprEx
public DBJoinExprEx(DBRowSet rset,
DBCompareExpr cmp,
DBJoinType joinType)
- Constructs a new DBJoinExprEx
- Parameters:
rset
- the rowsetcmp
- the compare expressionjoinType
- the join type
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 commandcontext
- context flag for this SQL-Command (see CTX_??? constants).
Copyright © 2008–2014 Apache Software Foundation. All rights reserved.