Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
in Java custom routines, is there any way to use generic schemas in order to make it easier to handle parameters that are rows actually?
Do we have to use Java reflection as described in this post instead?
Thanks,
Mick
Hello,
So far, it is impossible to use directly context variables in custom routine yet, you can define some input parameter and pass context variables to routine when calling the routine in the job, for example:
RoutineName.methodName(context.host, context.database);
Feel free to let us know if it is what you are looking for.
Best regards
Sabrina
Hello,
So far, it is impossible to use directly context variables in custom routine yet, you can define some input parameter and pass context variables to routine when calling the routine in the job, for example:
RoutineName.methodName(context.host, context.database);
Feel free to let us know if it is what you are looking for.
Best regards
Sabrina
ode routines enable the developer to create re-usable Java classes that can be integrated into Talend jobs, and in particular within tMap. In the validation chapter, there is an example of a simple code routine. This recipe is a fuller explanation of creating and using code routines within Talend. Getting ready Open the job jo_cook_ch05_0040_codeRoutine. How to do it?