Class MergeJoinHelper
java.lang.Object
org.pentaho.di.trans.step.BaseStepHelper
org.pentaho.di.trans.steps.mergejoin.MergeJoinHelper
- All Implemented Interfaces:
StepHelperInterface
-
Field Summary
Fields inherited from class org.pentaho.di.trans.step.BaseStepHelper
IS_TRANS_REFERENCE, IS_VALID_REFERENCE, log, REFERENCE_PATH, SEPARATORFields inherited from interface org.pentaho.di.trans.step.StepHelperInterface
ACTION_STATUS, FAILURE_METHOD_NOT_FOUND_RESPONSE, FAILURE_RESPONSE, STATUS, SUCCESS_RESPONSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.json.simple.JSONObjectHandles step-specific actions for MergeJoin.org.json.simple.JSONObjectpreviousKeysAction(TransMeta transMeta, Map<String, String> queryParams) Retrieves the keys from the previous steps connected to the specified MergeJoin step.Methods inherited from class org.pentaho.di.trans.step.BaseStepHelper
getReferencePath, isFailedResponse, stepAction, validateAndPutReferenceStatus
-
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:
handleStepActionin classBaseStepHelper- 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.KettleExceptionRetrieves 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.
-