Package org.apache.empire.db.expr.column
Interface DBPreparable
- All Known Implementing Classes:
DBAbstractFuncExpr,DBAliasExpr,DBCoalesceExpr,DBColumnJoinExpr,DBCompareAndOrExpr,DBCompareColExpr,DBCompareExpr,DBCompareJoinExpr,DBCompareNotExpr,DBCompareParenthesisExpr,DBConcatFuncExpr,DBConvertExpr,DBCrossJoinExpr,DBDecodeExpr,DBExistsExpr,DBFuncExpr,DBJoinExpr,DBParenthesisExpr,DBScalarExpr,DBValueExpr,PostgresAtAt,PostgresFuncExpr
public interface DBPreparable
DBPreparable
This interface indicates that a DBExpr Object wants to perform preparation tasks when added to a DBCommand
- Author:
- rainer
-
Method Summary
Modifier and TypeMethodDescriptionvoidprepareParams(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.
-
Method Details
-
prepareParams
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. Do not call yourself!- Parameters:
cmd- the command to which to add the parametersparent- the parent expression holding the value
-