public class DBCompareJoinExpr extends DBColumnJoinExpr
There is no need to explicitly create instances of this class.
Instead use @link DBCommand.join(DBRowSet, DBCompareExpr, DBJoinType)
Modifier and Type | Field and Description |
---|---|
protected DBCompareExpr |
cmp |
compExpr, left, right
type
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE
Constructor and Description |
---|
DBCompareJoinExpr(DBRowSet rset,
DBCompareExpr cmp,
DBJoinType joinType)
Constructs a new DBJoinExprEx
|
Modifier and Type | Method and Description |
---|---|
void |
addSQL(DBSQLBuilder sql,
long context)
Not allowed, this operation have to be done in the DBCommand object.
|
DBJoinExpr |
copy(DBCommand newCmd)
Copy Command
|
DBCompareExpr |
getJoinConstraint() |
void |
prepareCommand(DBCommand cmd)
prepareCommand
|
addReferencedColumns, and, and, equals, getDatabase, getLeft, getLeftTable, getOuterTable, getRight, getRightTable, getWhere, isJoinOn, isJoinOn, reverse, toString, where
getType, setType
checkParamNull
protected final DBCompareExpr cmp
public DBCompareJoinExpr(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
rset
- the rowsetcmp
- the compare expressionjoinType
- the join typepublic void prepareCommand(DBCommand cmd)
prepareCommand
in class DBColumnJoinExpr
public DBJoinExpr copy(DBCommand newCmd)
copy
in class DBColumnJoinExpr
newCmd
- the new command objectpublic DBCompareExpr getJoinConstraint()
public void addSQL(DBSQLBuilder sql, long context)
DBColumnJoinExpr
addSQL
in class DBColumnJoinExpr
sql
- the string buffer used to build the sql commandcontext
- context flag for this SQL-Command (see CTX_??? constants).Copyright © 2008–2023 Apache Software Foundation. All rights reserved.