Class TableOutputHelper
java.lang.Object
org.pentaho.di.trans.step.BaseStepHelper
org.pentaho.di.trans.steps.tableoutput.TableOutputHelper
- All Implemented Interfaces:
StepHelperInterface
-
Field Summary
FieldsFields 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 TypeMethodDescriptionorg.json.simple.JSONObjectgetSQLAction(TransMeta transMeta, Map<String, String> queryParams) protected org.json.simple.JSONObjectAbstract method to be implemented by subclasses for handling step-specific actions.org.pentaho.di.core.SQLStatementMethods inherited from class org.pentaho.di.trans.step.BaseStepHelper
getReferencePath, isFailedResponse, stepAction, validateAndPutReferenceStatus
-
Field Details
-
STEP_NAME
- See Also:
-
DETAILS
- See Also:
-
CONNECTION
- See Also:
-
-
Constructor Details
-
TableOutputHelper
public TableOutputHelper()
-
-
Method Details
-
handleStepAction
protected org.json.simple.JSONObject handleStepAction(String method, TransMeta transMeta, Map<String, String> queryParams) Description copied from class:BaseStepHelperAbstract method to be implemented by subclasses for handling step-specific actions.- 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.
-
getSQLAction
-
sql
public org.pentaho.di.core.SQLStatement sql(TransMeta transMeta, String stepName, String connection) throws org.pentaho.di.core.exception.KettleStepException - Throws:
org.pentaho.di.core.exception.KettleStepException
-