org.pentaho.di.trans.steps.scriptvalues_mod
Interface ScriptValuesModInterface

All Superinterfaces:
org.pentaho.di.core.variables.VariableSpace
All Known Implementing Classes:
ScriptValuesMod, ScriptValuesModDummy

public interface ScriptValuesModInterface
extends org.pentaho.di.core.variables.VariableSpace

Interface to make the real ScriptValueMod and ScriptValueModDummy similar.

Author:
Sven Boden

Method Summary
 void addRowListener(RowListener rowListener)
           
 void cleanup()
           
 void dispose(StepMetaInterface sii, StepDataInterface sdi)
           
 long getErrors()
           
 List<org.pentaho.di.core.RowSet> getInputRowSets()
           
 long getLinesInput()
           
 long getLinesOutput()
           
 long getLinesRead()
           
 long getLinesRejected()
           
 long getLinesUpdated()
           
 long getLinesWritten()
           
 List<org.pentaho.di.core.RowSet> getOutputRowSets()
           
 String getPartitionID()
           
 Object[] getRow()
           
 List<RowListener> getRowListeners()
           
 String getStepID()
           
 String getStepname()
           
 boolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
           
 boolean isAlive()
           
 boolean isPartitioned()
           
 boolean isStopped()
           
 void markStart()
           
 void markStop()
           
 void pauseRunning()
           
 boolean processRow(StepMetaInterface smi, StepDataInterface sdi)
           
 void putRow(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row)
           
 void removeRowListener(RowListener rowListener)
           
 void resumeRunning()
           
 void run()
           
 void setErrors(long errors)
           
 void setOutputDone()
           
 void setPartitionID(String partitionID)
           
 void start()
           
 void stopAll()
           
 void stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
           
 
Methods inherited from interface org.pentaho.di.core.variables.VariableSpace
copyVariablesFrom, environmentSubstitute, environmentSubstitute, getBooleanValueOfVariable, getParentVariableSpace, getVariable, getVariable, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, setVariable, shareVariablesWith
 

Method Detail

processRow

boolean processRow(StepMetaInterface smi,
                   StepDataInterface sdi)
                   throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

addRowListener

void addRowListener(RowListener rowListener)

dispose

void dispose(StepMetaInterface sii,
             StepDataInterface sdi)

getErrors

long getErrors()

getInputRowSets

List<org.pentaho.di.core.RowSet> getInputRowSets()

getLinesInput

long getLinesInput()

getLinesOutput

long getLinesOutput()

getLinesRead

long getLinesRead()

getLinesUpdated

long getLinesUpdated()

getLinesWritten

long getLinesWritten()

getLinesRejected

long getLinesRejected()

getOutputRowSets

List<org.pentaho.di.core.RowSet> getOutputRowSets()

getPartitionID

String getPartitionID()

getRow

Object[] getRow()
                throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

getRowListeners

List<RowListener> getRowListeners()

getStepID

String getStepID()

getStepname

String getStepname()

init

boolean init(StepMetaInterface stepMetaInterface,
             StepDataInterface stepDataInterface)

isAlive

boolean isAlive()

isPartitioned

boolean isPartitioned()

isStopped

boolean isStopped()

markStart

void markStart()

markStop

void markStop()

putRow

void putRow(org.pentaho.di.core.row.RowMetaInterface rowMeta,
            Object[] row)
            throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

removeRowListener

void removeRowListener(RowListener rowListener)

run

void run()

setErrors

void setErrors(long errors)

setOutputDone

void setOutputDone()

setPartitionID

void setPartitionID(String partitionID)

start

void start()

stopAll

void stopAll()

stopRunning

void stopRunning(StepMetaInterface stepMetaInterface,
                 StepDataInterface stepDataInterface)
                 throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

cleanup

void cleanup()

pauseRunning

void pauseRunning()

resumeRunning

void resumeRunning()