Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ClassPurpose
AbstractETLRowStepExtend this class if the step is required to process data row by row and output data as and when it is processed. Filter and Calculated Field are examples of row steps.
AbstractETLCachedStepThis class should be extended if the step is required to accumulate data before it can begin processing. For example, Merge and Union are cached steps.
AbstractETLInlineRowStepInline transforms are expected to be row steps. Extend AbstractETLInlineRowStep to implement an inline transform.




Types of Step Implementation

Depending on which abstract class is used different methods need to be implemented. There are some common aspects though. For ease of understanding, the implementation details are split into three sections:

  • User Interface Implementation
  • Processing Implementation
  • Helper Methods.

User Interface Implementation

...

...

...

public String getDefaultName()

Use this method to define the name of the step. This name will be displayed in the Step List (left panel) of the Transformation Flow Builder.

Example:

 

Code Block
languagejava
themeEclipse
@Override
public String getDefaultName() {      	
    return "Append Number";
}

 

 

Styleclass
ClasstopLink

top

 

...

public String getDefaultDescription()

Define a description of the step. This will be displayed in the Step List (left panel) of the Transformation Flow Builder.

 

Example:

 

Code Block
languagejava
themeEclipse
@Override
public String getDefaultDescription() {
	return "Append a number to the data in a field";
}

 

 

Styleclass
ClasstopLink

top

 

 

...

public ETLStepCategory getStepCategory()

Specify which category the step should appear under. Available categories are listed in enum ETLStepCategory.

Example:

 

Code Block
languagejava
themeEclipse
@Override
public ETLStepCategory getStepCategory() {
	return ETLStepCategory.TRANSFORM;
}

 

 

Styleclass
ClasstopLink

top

...