Class GroupByHelper

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

public class GroupByHelper extends BaseStepHelper
  • Constructor Details

    • GroupByHelper

      public GroupByHelper()
  • Method Details

    • handleStepAction

      protected org.json.simple.JSONObject handleStepAction(String method, TransMeta transMeta, Map<String,String> queryParams)
      Handles step-specific actions for GroupBy.
      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.
    • getTypeGroupCode

      public org.json.simple.JSONObject getTypeGroupCode()
      Retrieves the list of type group codes and returns them as a JSON object.
      Returns:
      A JSON object containing the list of type group codes.