public class PostgresAtAt extends DBCompareExpr
logCTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE| Constructor and Description |
|---|
PostgresAtAt(DBColumnExpr left,
DBColumnExpr right) |
| 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) |
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.
|
and, not, orcheckParamNullpublic PostgresAtAt(DBColumnExpr left, DBColumnExpr right)
public DBDatabase getDatabase()
DBObjectgetDatabase in class DBObjectpublic void prepareParams(DBCommand cmd, DBExpr parent)
DBPreparablecmd - the command to which to add the parametersparent - the parent expression holding the valuepublic DBCompareExpr copy(DBCommand newCmd)
DBCompareExprcopy in class DBCompareExprnewCmd - the new command objectpublic boolean isMutuallyExclusive(DBCompareExpr other)
isMutuallyExclusive in class DBCompareExprpublic boolean isConstraintOn(DBColumnExpr colExpr)
isConstraintOn in class DBCompareExprpublic DBRowSet getRowSet()
DBCompareExprgetRowSet in class DBCompareExprpublic 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)
DBExprCopyright © 2008–2023 Apache Software Foundation. All rights reserved.