|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface defining mathematical expressions. They can be used for differerent purpose, e.g. for defining abstract SQL statements.
| Method Summary | |
java.lang.String |
getSQLTemplate()
Returns a string representation for this expression which can be used as a template in an SQL statement. |
Expression |
substitute(java.util.Map binding)
Performs an substitution for variables, e.g. for each key variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map. |
| Method Detail |
public Expression substitute(java.util.Map binding)
variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map.How the substitution is managed is left to the implementing class. It is explicitly allowed to return a new expression object.
binding - variable binding
public java.lang.String getSQLTemplate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||