ExpressionsGivenRow
Expressions Given Row
Expressing values using a "Row Expression" (See Row Expressions on the documentation website.) can occur in the following two types of operations:
Providing a new value for every selected cell given the row of that cell (
Row Expression), for instance inmap,add, andinsert(usingRowExpression).Providing a new value for every selected cell given the row of that cell and its previous value (
Row Value Expression), for instance inupdate.with, andconvert.notNull(usingRowValueExpression).
NOTE:
update with-, convert with- and add-like expressions use AddDataRow instead of DataRow as the DSL's receiver type. This is an extension to RowValueExpression and RowExpression that provides access to the modified/generated value of the preceding row (AddDataRow.newValue).
A Row Expression is similar to a Row Condition but expects a Boolean as result.
Types
Provide a new value for every selected cell given its row using a row expression.
Provide a new value for every selected cell given its row and its previous value using a row value expression.