public abstract class DBCompareExpr extends DBExpr
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE| Constructor and Description |
|---|
DBCompareExpr() |
| Modifier and Type | Method and Description |
|---|---|
DBCompareAndOrExpr |
and(DBCompareExpr expr)
Creates a new DBCompareAndOrExpr object.
|
abstract DBCompareExpr |
copy(DBCommand newCmd)
internally used for command cloning
|
abstract 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
|
abstract boolean |
isConstraintOn(DBColumnExpr colExpr) |
abstract boolean |
isMutuallyExclusive(DBCompareExpr other) |
DBCompareExpr |
not()
Creates a sql-expression for the not() function.
|
DBCompareAndOrExpr |
or(DBCompareExpr expr)
Create a new DBCompareAndOrExpr object.
|
abstract void |
prepareCommand(DBCommand cmd)
internally used for preapred statement generation
|
addReferencedColumns, addSQLcheckParamNull, getDatabasepublic abstract boolean isMutuallyExclusive(DBCompareExpr other)
public abstract boolean isConstraintOn(DBColumnExpr colExpr)
public DBCompareAndOrExpr and(DBCompareExpr expr)
expr - the right part of the AND expressionpublic DBCompareAndOrExpr or(DBCompareExpr expr)
expr - the right part of the OR expressionpublic DBCompareExpr not()
public abstract DBRowSet getRowSet()
public abstract void prepareCommand(DBCommand cmd)
cmd - the commandpublic abstract DBCompareExpr copy(DBCommand newCmd)
newCmd - the new command objectCopyright © 2008–2023 Apache Software Foundation. All rights reserved.