Class StepInterfaceWebSocketEngineAdapter

  • All Implemented Interfaces:
    org.pentaho.di.core.ExtensionDataInterface, HasLogChannelInterface, org.pentaho.di.core.logging.LoggingObjectInterface, org.pentaho.di.core.logging.LoggingObjectLifecycleInterface, org.pentaho.di.core.variables.VariableSpace, StepInterface

    public class StepInterfaceWebSocketEngineAdapter
    extends BaseStep
    Adapts AEL Operation events to the StepInterface. This class will register handlers to engine events and translate them to corresponding StepInterface updates.
    • Constructor Detail

      • StepInterfaceWebSocketEngineAdapter

        public StepInterfaceWebSocketEngineAdapter​(org.pentaho.di.engine.api.model.Operation op,
                                                   MessageEventService messageEventService,
                                                   StepMeta stepMeta,
                                                   TransMeta transMeta,
                                                   StepDataInterface dataInterface,
                                                   Trans trans,
                                                   List<StepMetaDataCombi> subSteps)
                                            throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
    • Method Detail

      • dispatch

        public void dispatch()
        Description copied from class: BaseStep
        This method finds the surrounding steps and rowsets for this base step. This steps keeps it's own list of rowsets (etc.) to prevent it from having to search every time.

        Note that all rowsets input and output is already created by transformation itself. So in this place we will look and choose which rowsets will be used by this particular step.

        We will collect all input rowsets and output rowsets so step will be able to read input data, and write to the output.

        Steps can run in multiple copies, on in partitioned fashion. For this case we should take in account that in different cases we should take in account one to one, one to many and other cases properly.

        Overrides:
        dispatch in class BaseStep