Class StreamLookupStepHelper
java.lang.Object
org.pentaho.di.trans.step.BaseStepHelper
org.pentaho.di.trans.steps.streamlookup.StreamLookupStepHelper
- 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
Methods inherited from class org.pentaho.di.trans.step.BaseStepHelper
getReferencePath, isFailedResponse, stepAction, validateAndPutReferenceStatus
-
Constructor Details
-
StreamLookupStepHelper
-
-
Method Details
-
handleStepAction
protected org.json.simple.JSONObject handleStepAction(String method, TransMeta transMeta, Map<String, String> queryParams) Handles step actions based on the provided method name.Depending on the value of
method, this function delegates to the appropriate handler:- If
methodequalsLOOKUP_FIELDS_METHOD, it callslookupFields. - If
methodequalsGET_FIELDS_METHOD, it callsgetFields. - For any other value, it returns a JSON response indicating the method was not found.
- Specified by:
handleStepActionin classBaseStepHelper- Parameters:
method- the action method to perform (e.g., lookup fields, get fields)transMeta- the transformation metadata contextqueryParams- additional query parameters for the action- Returns:
- a
JSONObjectcontaining the result of the action or an error response if the method is not found - See Also:
- If
-