Replies: 1 comment
-
with a bit of delay, but it has been merged, without the DataTransformationFunctionnalInterface improvement |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@firegloves I need to export a custom column in the excel to allow my users to create groups in the final Excel file :
Age range
is a calculated result:In this SELECT 'ageRange' can by calculate with this
SELECT : YEAR(CURDATE()) - YEAR(birthdate) AS age
and then use DataTransformationFunction, no pb.But, in this SELECT 'myCachedData' cannot be field in the SELECT and then I would like to be able to use DataTransformationFunction to fill the column data.
myCachedData
is a data loaded on server cache from other source then the database, and the result depends on the gender and the birthday date.So I need to populate it on runtime and I'm currently limited with the current DataTransformationFunction contract. For this reason I would like to improve DataTransformationFunction
To
And then, in DataStrategos.createDataRows add the resultset during the export process
To
With the resultset, In parameter, I'm able to retrieve the
birthday
and thegender
of the current processing row and then display the right cached data.In a second part, I would like to improve the usage of DataTransformationFunction as a framework interface, I would like to change it to extact the @FunctionalInterface
Let me now if you agree these improvements.
Beta Was this translation helpful? Give feedback.
All reactions