public class DBCompareParenthesisExpr extends DBCompareExpr implements Unwrappable<DBCompareExpr>
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE| Constructor and Description |
|---|
DBCompareParenthesisExpr(DBCompareExpr expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReferencedColumns(Set<DBColumn> list)
Internal function to obtain all DBColumnExpr-objects used by this expression.
|
void |
addSQL(DBSQLBuilder sql,
long context)
Used to build the SQL command.
|
DBCompareExpr |
copy(DBCommand newCmd)
internally used for command cloning
|
DBDatabase |
getDatabase()
Returns the database object to which this object belongs to.
|
DBRowSet |
getRowSet()
Returns the underlying rowset containing this column
For functions involving none or more than one physical column this function return the first one
|
boolean |
isConstraintOn(DBColumnExpr colExpr) |
boolean |
isMutuallyExclusive(DBCompareExpr other) |
boolean |
isWrapper()
Returns true if the object is a wrapper for another object
|
void |
prepareCommand(DBCommand cmd)
internally used for preapred statement generation
|
DBCompareExpr |
unwrap()
Unwrapps am object that is wrapped by this object
If the object is not a wrapper then it must return itself (this)!
|
and, not, orcheckParamNullpublic DBCompareParenthesisExpr(DBCompareExpr expr)
public boolean isWrapper()
UnwrappableisWrapper in interface Unwrappable<DBCompareExpr>public DBCompareExpr unwrap()
Unwrappableunwrap in interface Unwrappable<DBCompareExpr>public final DBDatabase getDatabase()
DBObjectgetDatabase in class DBObjectpublic DBRowSet getRowSet()
DBCompareExprgetRowSet in class DBCompareExprpublic boolean isMutuallyExclusive(DBCompareExpr other)
isMutuallyExclusive in class DBCompareExprpublic void prepareCommand(DBCommand cmd)
DBCompareExprprepareCommand in class DBCompareExprcmd - the commandpublic DBCompareExpr copy(DBCommand newCmd)
DBCompareExprcopy in class DBCompareExprnewCmd - the new command objectpublic void addReferencedColumns(Set<DBColumn> list)
DBExpraddReferencedColumns in class DBExprlist - list to which all used column expressions must be addedpublic void addSQL(DBSQLBuilder sql, long context)
DBExprpublic boolean isConstraintOn(DBColumnExpr colExpr)
isConstraintOn in class DBCompareExprCopyright © 2008–2023 Apache Software Foundation. All rights reserved.