|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.expressions.AbstractExpression
de.unidu.is.expressions.FunctionExpression
de.unidu.is.expressions.Str2NumFunctionExpression
An expression for the str2num function.
| Field Summary |
| Fields inherited from class de.unidu.is.expressions.FunctionExpression |
arg, name |
| Constructor Summary | |
Str2NumFunctionExpression(Expression arg)
Creates a new expression object. |
|
| 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. |
| Methods inherited from class de.unidu.is.expressions.FunctionExpression |
getArgument, getName, setArgument, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Str2NumFunctionExpression(Expression arg)
arg - function argument| 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.Only the argument is substituted.
substitute in interface Expressionsubstitute in class FunctionExpressionbinding - variable binding
public java.lang.String getSQLTemplate()
getSQLTemplate in interface ExpressiongetSQLTemplate in class FunctionExpression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||