Class LocalTransExecutorService

java.lang.Object
org.pentaho.di.pan.executors.LocalTransExecutorService
All Implemented Interfaces:
TransExecutorService

public class LocalTransExecutorService extends Object implements TransExecutorService
Service for executing transformations locally.
  • Constructor Details

    • LocalTransExecutorService

      public LocalTransExecutorService()
  • Method Details

    • execute

      public org.pentaho.di.core.Result execute(org.pentaho.di.core.logging.LogChannelInterface log, TransMeta transMeta, Repository repository, TransExecutionConfiguration executionConfiguration, String[] arguments) throws org.pentaho.di.core.exception.KettleException
      Executes a transformation locally.
      Specified by:
      execute in interface TransExecutorService
      Parameters:
      log - the log channel interface for logging
      transMeta - the transformation metadata
      repository - the repository (can be null)
      executionConfiguration - the execution configuration
      arguments - the command-line arguments
      Returns:
      the result of the transformation execution
      Throws:
      org.pentaho.di.core.exception.KettleException - if an error occurs during execution
    • execute

      protected org.pentaho.di.core.Result execute(Trans trans, Repository repository, TransExecutionConfiguration executionConfiguration, String[] arguments) throws org.pentaho.di.core.exception.KettleException
      Executes a transformation locally.
      Parameters:
      trans - the transformation object
      repository - the repository (can be null)
      executionConfiguration - the execution configuration
      arguments - the command-line arguments
      Returns:
      the result of the transformation execution
      Throws:
      org.pentaho.di.core.exception.KettleException - if an error occurs during execution