Class StreamLookupStepHelper

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

public class StreamLookupStepHelper extends BaseStepHelper
  • Constructor Details

    • StreamLookupStepHelper

      public StreamLookupStepHelper(StreamLookupMeta streamLookupMeta)
  • 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 method equals LOOKUP_FIELDS_METHOD, it calls lookupFields.
      • If method equals GET_FIELDS_METHOD, it calls getFields.
      • For any other value, it returns a JSON response indicating the method was not found.
      Specified by:
      handleStepAction in class BaseStepHelper
      Parameters:
      method - the action method to perform (e.g., lookup fields, get fields)
      transMeta - the transformation metadata context
      queryParams - additional query parameters for the action
      Returns:
      a JSONObject containing the result of the action or an error response if the method is not found
      See Also: