Class PostgresAtAt
java.lang.Object
org.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.expr.compare.DBCompareExpr
org.apache.empire.dbms.postgresql.PostgresAtAt
- All Implemented Interfaces:
DBPreparable
PostgresAtAt
create a Postgres @@ comparator
-
Field Summary
Fields inherited from class org.apache.empire.db.expr.compare.DBCompareExpr
logFields inherited from class org.apache.empire.db.DBExpr
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReferencedColumns(Set<DBColumn> list) Internal function to obtain all DBColumnExpr-objects used by this expression.voidaddSQL(DBSQLBuilder sql, long context) Used to build the SQL command.internally used for command cloningReturns the database object to which this object belongs to.Returns the underlying rowset containing this column For functions involving none or more than one physical column this function return the first onebooleanisConstraintOn(DBColumnExpr colExpr) booleanisMutuallyExclusive(DBCompareExpr other) voidprepareParams(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.Methods inherited from class org.apache.empire.db.expr.compare.DBCompareExpr
and, not, orMethods inherited from class org.apache.empire.db.DBObject
checkParamNull
-
Constructor Details
-
PostgresAtAt
-
-
Method Details
-
getDatabase
Description copied from class:DBObjectReturns the database object to which this object belongs to. For the database object itself this function will return the this pointer.- Specified by:
getDatabasein classDBObject- Returns:
- the database object
-
prepareParams
Description copied from interface:DBPreparablePrepares 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. Do not call yourself!- Parameters:
cmd- the command to which to add the parametersparent- the parent expression holding the value
-
copy
Description copied from class:DBCompareExprinternally used for command cloning- Specified by:
copyin classDBCompareExpr- Parameters:
newCmd- the new command object- Returns:
- the cloned compare expression
-
isMutuallyExclusive
- Specified by:
isMutuallyExclusivein classDBCompareExpr
-
isConstraintOn
- Specified by:
isConstraintOnin classDBCompareExpr
-
getRowSet
Description copied from class:DBCompareExprReturns the underlying rowset containing this column For functions involving none or more than one physical column this function return the first one- Specified by:
getRowSetin classDBCompareExpr- Returns:
- a column used for this expression
-
addReferencedColumns
Description copied from class:DBExprInternal function to obtain all DBColumnExpr-objects used by this expression.- Specified by:
addReferencedColumnsin classDBExpr- Parameters:
list- list to which all used column expressions must be added
-
addSQL
Description copied from class:DBExprUsed to build the SQL command. SQL for this expression must be appended to StringBuilder.
-