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.
|
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, or
checkParamNull
public DBCompareParenthesisExpr(DBCompareExpr expr)
public boolean isWrapper()
Unwrappable
isWrapper
in interface Unwrappable<DBCompareExpr>
public DBCompareExpr unwrap()
Unwrappable
unwrap
in interface Unwrappable<DBCompareExpr>
public final DBDatabase getDatabase()
DBObject
getDatabase
in class DBObject
public boolean isMutuallyExclusive(DBCompareExpr other)
isMutuallyExclusive
in class DBCompareExpr
public void prepareCommand(DBCommand cmd)
DBCompareExpr
prepareCommand
in class DBCompareExpr
public DBCompareExpr copy(DBCommand newCmd)
DBCompareExpr
copy
in class DBCompareExpr
newCmd
- the new command objectpublic void addReferencedColumns(Set<DBColumn> list)
DBExpr
addReferencedColumns
in class DBExpr
list
- list to which all used column expressions must be addedpublic void addSQL(DBSQLBuilder sql, long context)
DBExpr
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.