Class MergeJoinHelper

java.lang.Object
org.pentaho.di.trans.step.BaseStepHelper
org.pentaho.di.trans.steps.mergejoin.MergeJoinHelper
All Implemented Interfaces:
StepHelperInterface

public class MergeJoinHelper extends BaseStepHelper
  • Constructor Details

    • MergeJoinHelper

      public MergeJoinHelper()
  • Method Details

    • handleStepAction

      protected org.json.simple.JSONObject handleStepAction(String method, TransMeta transMeta, Map<String,String> queryParams)
      Handles step-specific actions for MergeJoin.
      Specified by:
      handleStepAction in class BaseStepHelper
      Parameters:
      method - The name of the method to execute.
      transMeta - The transformation metadata associated with the step.
      queryParams - A map of query parameters for the action.
      Returns:
      A JSON object containing the action status and any additional response data.
    • previousKeysAction

      public org.json.simple.JSONObject previousKeysAction(TransMeta transMeta, Map<String,String> queryParams) throws org.pentaho.di.core.exception.KettleException
      Retrieves the keys from the previous steps connected to the specified MergeJoin step.
      Parameters:
      transMeta - The transformation metadata.
      queryParams - A map of query parameters for the action, including "stepName".
      Returns:
      A JSON object containing the previous step keys and their fields.
      Throws:
      org.pentaho.di.core.exception.KettleException - if there's an error retrieving step information.