Hi
The definition of init method in all joiners and transform component is boolean init().
Can somebody clarify on the significance of this return object? Do i return true or false? What would it be governed on?
I expect if i dont see any error in init i shall return true , is that correct? Also , if i want to override this method, do i need to invoke any super class method?
Hi Varkashy,
As per documentation (http://doc.cloveretl.com/documentation/ … iners.html ), init() method returns boolean. When true means the graph continues, whilst false will result in graph failure. Therefore if you want for some reason to end the transformation during the initialization, you may simply make this method return false.
Since transformations implement methods of the RecordTransform interface (and inherits other common methods from the Transform interface), you do not need to invoke any superclass method.
If you would like to inherit from existing component it would make sense to call the superclass.
Hope this helps.