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, righttypeCTX_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 |
prepareParams(DBCommand cmd,
DBExpr parent)
Prepares an expression for a query
This function is called by DBCommand in order to add values as query parameters
instead of being literally included in the sql statement
Please Note: This function is internally called.
|
addReferencedColumns, and, and, equals, getDatabase, getLeft, getLeftTable, getOuterTable, getRight, getRightTable, getWhere, isJoinOn, isJoinOn, reverse, toString, wheregetType, setTypecheckParamNullprotected final DBCompareExpr cmp
public DBCompareJoinExpr(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
rset - the rowsetcmp - the compare expressionjoinType - the join typepublic void prepareParams(DBCommand cmd, DBExpr parent)
DBPreparableprepareParams in interface DBPreparableprepareParams in class DBColumnJoinExprcmd - the command to which to add the parametersparent - the parent expression holding the valuepublic DBJoinExpr copy(DBCommand newCmd)
copy in class DBColumnJoinExprnewCmd - the new command objectpublic DBCompareExpr getJoinConstraint()
public void addSQL(DBSQLBuilder sql, long context)
DBColumnJoinExpraddSQL in class DBColumnJoinExprsql - 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.