Class UserDefinedJavaClass
- java.lang.Object
-
- org.pentaho.di.trans.step.BaseStep
-
- org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClass
-
- 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 UserDefinedJavaClass extends BaseStep implements StepInterface
-
-
Field Summary
Fields Modifier and Type Field Description protected UserDefinedJavaClassDatadatastatic StringKETTLE_DEFAULT_CLASS_CACHE_SIZEprotected UserDefinedJavaClassMetameta-
Fields inherited from class org.pentaho.di.trans.step.BaseStep
deadLockCounter, extensionDataMap, first, linesInput, linesOutput, linesRead, linesRejected, linesSkipped, linesUpdated, linesWritten, log, loggingObjectInUse, metaStore, repository, rowListeners, safeStopped, terminator, terminator_rows, variables
-
-
Constructor Summary
Constructors Constructor Description UserDefinedJavaClass(StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta, Trans trans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResultFile(org.pentaho.di.core.ResultFile resultFile)Adds the result file.voidaddResultFileImpl(org.pentaho.di.core.ResultFile resultFile)voidaddRowListener(RowListener rowListener)Add a rowlistener to the step allowing you to inspect (or manipulate, be careful) the rows coming in or exiting the step.voidaddRowListenerImpl(RowListener rowListener)voidaddStepListener(StepListener stepListener)Attach a step listener to be notified when a step arrives in a certain state.voidaddStepListenerImpl(StepListener stepListener)booleancheckFeedback(long lines)Check feedback.booleancheckFeedbackImpl(long lines)voidcleanup()Call this method typically, after ALL the slave transformations in a clustered run have finished.voidcleanupImpl()longdecrementLinesRead()Decrements the number of lines read from previous steps by onelongdecrementLinesReadImpl()longdecrementLinesWritten()Decrements the number of lines written to next steps by onelongdecrementLinesWrittenImpl()voiddispose(StepMetaInterface smi, StepDataInterface sdi)Dispose of this step: close files, empty logs, etc.voiddisposeImpl(StepMetaInterface smi, StepDataInterface sdi)org.pentaho.di.core.RowSetfindInputRowSet(String sourceStep)Find input row set.org.pentaho.di.core.RowSetfindInputRowSet(String from, int fromcopy, String to, int tocopy)Find input row set.org.pentaho.di.core.RowSetfindInputRowSetImpl(String sourceStep)org.pentaho.di.core.RowSetfindInputRowSetImpl(String from, int fromcopy, String to, int tocopy)org.pentaho.di.core.RowSetfindOutputRowSet(String targetStep)Find output row set.org.pentaho.di.core.RowSetfindOutputRowSet(String from, int fromcopy, String to, int tocopy)Find an output rowset in a running transformation.org.pentaho.di.core.RowSetfindOutputRowSetImpl(String targetStep)org.pentaho.di.core.RowSetfindOutputRowSetImpl(String from, int fromcopy, String to, int tocopy)intgetClusterSize()Returns the cluster size.intgetClusterSizeImpl()intgetCopyImpl()org.pentaho.di.core.row.RowMetaInterfacegetErrorRowMeta()org.pentaho.di.core.row.RowMetaInterfacegetErrorRowMetaImpl()longgetErrors()Get the number of errorslonggetErrorsImpl()org.pentaho.di.core.row.RowMetaInterfacegetInputRowMeta()org.pentaho.di.core.row.RowMetaInterfacegetInputRowMetaImpl()List<org.pentaho.di.core.RowSet>getInputRowSets()List<org.pentaho.di.core.RowSet>getInputRowSetsImpl()longgetLinesInput()longgetLinesInputImpl()longgetLinesOutput()longgetLinesOutputImpl()longgetLinesRead()longgetLinesReadImpl()longgetLinesRejected()longgetLinesRejectedImpl()longgetLinesSkipped()longgetLinesSkippedImpl()longgetLinesUpdated()longgetLinesUpdatedImpl()longgetLinesWritten()longgetLinesWrittenImpl()List<org.pentaho.di.core.RowSet>getOutputRowSets()List<org.pentaho.di.core.RowSet>getOutputRowSetsImpl()StringgetPartitionID()StringgetPartitionIDImpl()Map<String,org.pentaho.di.core.BlockingRowSet>getPartitionTargets()Map<String,org.pentaho.di.core.BlockingRowSet>getPartitionTargetsImpl()longgetProcessed()longgetProcessedImpl()intgetRepartitioning()intgetRepartitioningImpl()Map<String,org.pentaho.di.core.ResultFile>getResultFiles()Map<String,org.pentaho.di.core.ResultFile>getResultFilesImpl()Object[]getRow()In case of getRow, we receive data from previous steps through the input rowset.Object[]getRowFrom(org.pentaho.di.core.RowSet rowSet)Gets the row from.Object[]getRowFromImpl(org.pentaho.di.core.RowSet rowSet)Object[]getRowImpl()List<RowListener>getRowListeners()List<RowListener>getRowListenersImpl()longgetRuntime()longgetRuntimeImpl()intgetSlaveNr()Returns the unique slave number in the cluster.intgetSlaveNrImpl()SocketRepositorygetSocketRepository()Retutns the socket repository.SocketRepositorygetSocketRepositoryImpl()BaseStepData.StepExecutionStatusgetStatus()StringgetStatusDescription()Gets the status description.StringgetStatusDescriptionImpl()BaseStepData.StepExecutionStatusgetStatusImpl()StepDataInterfacegetStepDataInterface()StepDataInterfacegetStepDataInterfaceImpl()StringgetStepID()StringgetStepIDImpl()List<StepListener>getStepListeners()Returns the step listeners.List<StepListener>getStepListenersImpl()StepMetagetStepMeta()StepMetagetStepMetaImpl()StringgetStepname()Get the name of the step.StringgetStepnameImpl()TransgetTransImpl()TransMetagetTransMeta()TransMetagetTransMetaImpl()StringgetTypeId()Returns the step ID via the getStepID() method call.StringgetTypeIdImpl()intgetUniqueStepCountAcrossSlaves()Returns the number of unique steps across all slave servers.intgetUniqueStepCountAcrossSlavesImpl()intgetUniqueStepNrAcrossSlaves()Returns a unique step number across all slave servers: slaveNr * nrCopies + copyNr.intgetUniqueStepNrAcrossSlavesImpl()StringgetVariable(String variableName)StringgetVariable(String variableName, String defaultValue)StringgetVariableImpl(String variableName)StringgetVariableImpl(String variableName, String defaultValue)longincrementLinesInput()Increments the number of lines read from an input source: database, file, socket, etc.longincrementLinesInputImpl()longincrementLinesOutput()Increments the number of lines written to an output target: database, file, socket, etc.longincrementLinesOutputImpl()longincrementLinesRead()Increments the number of lines read from previous steps by onelongincrementLinesReadImpl()longincrementLinesRejected()Increments the number of lines rejected to an error handling steplongincrementLinesRejectedImpl()longincrementLinesSkipped()Increments the number of lines skippedlongincrementLinesSkippedImpl()longincrementLinesUpdated()Increments the number of lines updated in an output target: database, file, socket, etc.longincrementLinesUpdatedImpl()longincrementLinesWritten()Increments the number of lines written to next steps by onelongincrementLinesWrittenImpl()booleaninit(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)Initialize and do work where other steps need to wait for...voidinitBeforeStart()This method is executed by Trans right before the threads start and right after initialization.voidinitBeforeStartImpl()booleaninitImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)booleanisDistributed()booleanisDistributedImpl()booleanisInitialising()Checks if is initialising.booleanisInitialisingImpl()booleanisPartitioned()booleanisPartitionedImpl()booleanisSafeModeEnabled()booleanisSafeModeEnabledImpl()booleanisStopped()booleanisStoppedImpl()booleanisUsingThreadPriorityManagment()Retusn true if we are actively managing priorities of step threads.booleanisUsingThreadPriorityManagmentImpl()voidlogBasic(String s)Log basic.voidlogBasicImpl(String s)voidlogDebug(String s)Log debug.voidlogDebugImpl(String s)voidlogDetailed(String s)Log detailed.voidlogDetailedImpl(String s)voidlogError(String s)Log error.voidlogError(String s, Throwable e)Log error.voidlogErrorImpl(String s)voidlogErrorImpl(String s, Throwable e)voidlogMinimal(String s)Log minimal.voidlogMinimalImpl(String s)voidlogRowlevel(String s)Log rowlevel.voidlogRowlevelImpl(String s)voidlogSummary()Log summary.voidlogSummaryImpl()voidmarkStart()Mark the start time of the step.voidmarkStartImpl()voidmarkStop()Mark the end time of the step.voidmarkStopImpl()voidopenRemoteInputStepSocketsOnce()Opens socket connections to the remote input steps of this step.voidopenRemoteInputStepSocketsOnceImpl()voidopenRemoteOutputStepSocketsOnce()Opens socket connections to the remote output steps of this step.voidopenRemoteOutputStepSocketsOnceImpl()booleanoutputIsDone()Output is done.booleanoutputIsDoneImpl()booleanprocessRow(StepMetaInterface smi, StepDataInterface sdi)Perform the equivalent of processing one row.voidputError(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes)Put error.voidputErrorImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes)voidputRow(org.pentaho.di.core.row.RowMetaInterface row, Object[] data)putRow is used to copy a row, to the alternate rowset(s) This should get priority over everything else! (synchronized) If distribute is true, a row is copied only once to the output rowsets, otherwise copies are sent to each rowset!voidputRowImpl(org.pentaho.di.core.row.RowMetaInterface row, Object[] data)voidputRowTo(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, org.pentaho.di.core.RowSet rowSet)putRowTo is used to put a row in a certain specific RowSet.voidputRowToImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, org.pentaho.di.core.RowSet rowSet)voidremoveRowListener(RowListener rowListener)Remove a rowlistener from this step.voidremoveRowListenerImpl(RowListener rowListener)introwsetInputSize()introwsetInputSizeImpl()introwsetOutputSize()introwsetOutputSizeImpl()voidsafeModeChecking(org.pentaho.di.core.row.RowMetaInterface row)Safe mode checking.voidsafeModeCheckingImpl(org.pentaho.di.core.row.RowMetaInterface row)voidsetErrors(long errors)Sets the number of errorsvoidsetErrorsImpl(long errors)voidsetInputRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta)voidsetInputRowMetaImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta)voidsetInputRowSets(List<org.pentaho.di.core.RowSet> inputRowSets)voidsetInputRowSetsImpl(List<org.pentaho.di.core.RowSet> inputRowSets)voidsetLinesInput(long newLinesInputValue)voidsetLinesInputImpl(long newLinesInputValue)voidsetLinesOutput(long newLinesOutputValue)voidsetLinesOutputImpl(long newLinesOutputValue)voidsetLinesRead(long newLinesReadValue)voidsetLinesReadImpl(long newLinesReadValue)voidsetLinesRejected(long linesRejected)voidsetLinesRejectedImpl(long linesRejected)voidsetLinesSkipped(long newLinesSkippedValue)voidsetLinesSkippedImpl(long newLinesSkippedValue)voidsetLinesUpdated(long newLinesUpdatedValue)voidsetLinesUpdatedImpl(long newLinesUpdatedValue)voidsetLinesWritten(long newLinesWrittenValue)voidsetLinesWrittenImpl(long newLinesWrittenValue)voidsetOutputDone()Signal output done to destination stepsvoidsetOutputDoneImpl()voidsetOutputRowSets(List<org.pentaho.di.core.RowSet> outputRowSets)voidsetOutputRowSetsImpl(List<org.pentaho.di.core.RowSet> outputRowSets)voidsetStepListeners(List<StepListener> stepListeners)Sets the step listeners.voidsetStepListenersImpl(List<StepListener> stepListeners)voidsetVariable(String variableName, String variableValue)voidsetVariableImpl(String variableName, String variableValue)voidstopAll()Flags all rowsets as stopped/completed/finished.voidstopAllImpl()voidstopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)Perform actions to stop a running step.voidstopRunningImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)StringtoString()StringtoStringImpl()-
Methods inherited from class org.pentaho.di.trans.step.BaseStep
addRowSetToInputRowSets, addRowSetToOutputRowSets, batchComplete, beforeStartProcessing, buildLog, canProcessOneRow, clearInputRowSets, clearOutputRowSets, closeQuietly, copyVariablesFrom, dispatch, environmentSubstitute, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getContainerObjectId, getCopy, getCurrentInputRowSetNr, getCurrentOutputRowSetNr, getDispatcher, getExtensionDataMap, getFilename, getFirstInputRowSet, getLogChannel, getLogChannelId, getLogFields, getLogLevel, getMetaStore, getNextClassNr, getObjectCopy, getObjectId, getObjectName, getObjectRevision, getObjectType, getParent, getParentVariableSpace, getPreviewRowMeta, getRegistrationDate, getRemoteInputSteps, getRemoteOutputSteps, getRepository, getRepositoryDirectory, getRowHandler, getServerSockets, getStepMetaInterface, getTrans, handleGetRowFrom, handlePutRowTo, identifyErrorOutput, initializeVariablesFrom, injectVariables, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isLoggingObjectInUse, isMapping, isPaused, isRowLevel, isRunning, isSafeStopped, listVariables, logBasic, logDebug, logDetailed, logError, logMinimal, logRowlevel, pauseRunning, resumeRunning, safeModeChecking, setCarteObjectId, setCopy, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setDistributed, setErrorRowMeta, setForcingSeparateLogging, setGatheringMetrics, setInternalVariables, setLoggingObjectInUse, setLogLevel, setMetaStore, setParentVariableSpace, setPartitioned, setPartitionID, setPartitionTargets, setPaused, setPaused, setPreviewRowMeta, setRepartitioning, setRepository, setRowHandler, setRunning, setSafeStopped, setServerSockets, setSocketRepository, setStepDataInterface, setStepMeta, setStepMetaInterface, setStepname, setStopped, setTransMeta, setUsingThreadPriorityManagment, shareVariablesWith, stopRunning, swapFirstInputRowSetIfExists, verifyInputDeadLock, waitUntilTransformationIsStarted
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.core.logging.LoggingObjectLifecycleInterface
callAfterLog, callBeforeLog
-
Methods inherited from interface org.pentaho.di.trans.step.StepInterface
addRowSetToInputRowSets, addRowSetToOutputRowSets, afterFinishProcessing, batchComplete, beforeStartProcessing, canProcessOneRow, getCopy, getCurrentInputRowSetNr, getCurrentOutputRowSetNr, getLogChannel, getMetaStore, getRepository, getTrans, identifyErrorOutput, isMapping, isPaused, isRunning, isSafeStopped, pauseRunning, resumeRunning, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setMetaStore, setPartitioned, setPartitionID, setRepartitioning, setRepository, setRunning, setSafeStopped, setStopped, setUsingThreadPriorityManagment, subStatuses
-
Methods inherited from interface org.pentaho.di.core.variables.VariableSpace
copyVariablesFrom, environmentSubstitute, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getParentVariableSpace, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, shareVariablesWith
-
-
-
-
Field Detail
-
meta
protected final UserDefinedJavaClassMeta meta
-
data
protected final UserDefinedJavaClassData data
-
KETTLE_DEFAULT_CLASS_CACHE_SIZE
public static final String KETTLE_DEFAULT_CLASS_CACHE_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserDefinedJavaClass
public UserDefinedJavaClass(StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta, Trans trans)
-
-
Method Detail
-
addResultFile
public void addResultFile(org.pentaho.di.core.ResultFile resultFile)
Description copied from class:BaseStepAdds the result file.- Overrides:
addResultFilein classBaseStep- Parameters:
resultFile- the result file
-
addResultFileImpl
public void addResultFileImpl(org.pentaho.di.core.ResultFile resultFile)
-
addRowListener
public void addRowListener(RowListener rowListener)
Description copied from interface:StepInterfaceAdd a rowlistener to the step allowing you to inspect (or manipulate, be careful) the rows coming in or exiting the step.- Specified by:
addRowListenerin interfaceStepInterface- Overrides:
addRowListenerin classBaseStep- Parameters:
rowListener- the rowlistener to add
-
addRowListenerImpl
public void addRowListenerImpl(RowListener rowListener)
-
addStepListener
public void addStepListener(StepListener stepListener)
Description copied from interface:StepInterfaceAttach a step listener to be notified when a step arrives in a certain state. (finished)- Specified by:
addStepListenerin interfaceStepInterface- Overrides:
addStepListenerin classBaseStep- Parameters:
stepListener- The listener to add to the step
-
addStepListenerImpl
public void addStepListenerImpl(StepListener stepListener)
-
checkFeedback
public boolean checkFeedback(long lines)
Description copied from class:BaseStepCheck feedback.- Overrides:
checkFeedbackin classBaseStep- Parameters:
lines- the lines- Returns:
- true, if successful
-
checkFeedbackImpl
public boolean checkFeedbackImpl(long lines)
-
cleanup
public void cleanup()
Description copied from interface:StepInterfaceCall this method typically, after ALL the slave transformations in a clustered run have finished.- Specified by:
cleanupin interfaceStepInterface- Overrides:
cleanupin classBaseStep
-
cleanupImpl
public void cleanupImpl()
-
decrementLinesRead
public long decrementLinesRead()
Description copied from class:BaseStepDecrements the number of lines read from previous steps by one- Overrides:
decrementLinesReadin classBaseStep- Returns:
- Returns the new value
-
decrementLinesReadImpl
public long decrementLinesReadImpl()
-
decrementLinesWritten
public long decrementLinesWritten()
Description copied from class:BaseStepDecrements the number of lines written to next steps by one- Overrides:
decrementLinesWrittenin classBaseStep- Returns:
- Returns the new value
-
decrementLinesWrittenImpl
public long decrementLinesWrittenImpl()
-
dispose
public void dispose(StepMetaInterface smi, StepDataInterface sdi)
Description copied from interface:StepInterfaceDispose of this step: close files, empty logs, etc.- Specified by:
disposein interfaceStepInterface- Overrides:
disposein classBaseStep- Parameters:
smi- The metadata to work withsdi- The data to dispose of
-
disposeImpl
public void disposeImpl(StepMetaInterface smi, StepDataInterface sdi)
-
findInputRowSet
public org.pentaho.di.core.RowSet findInputRowSet(String sourceStep) throws org.pentaho.di.core.exception.KettleStepException
Description copied from class:BaseStepFind input row set.- Overrides:
findInputRowSetin classBaseStep- Parameters:
sourceStep- the source step- Returns:
- the row set
- Throws:
org.pentaho.di.core.exception.KettleStepException- the kettle step exception
-
findInputRowSet
public org.pentaho.di.core.RowSet findInputRowSet(String from, int fromcopy, String to, int tocopy)
Description copied from class:BaseStepFind input row set.- Overrides:
findInputRowSetin classBaseStep- Parameters:
from- the fromfromcopy- the fromcopyto- the totocopy- the tocopy- Returns:
- the row set
-
findInputRowSetImpl
public org.pentaho.di.core.RowSet findInputRowSetImpl(String sourceStep) throws org.pentaho.di.core.exception.KettleStepException
- Throws:
org.pentaho.di.core.exception.KettleStepException
-
findInputRowSetImpl
public org.pentaho.di.core.RowSet findInputRowSetImpl(String from, int fromcopy, String to, int tocopy)
-
findOutputRowSet
public org.pentaho.di.core.RowSet findOutputRowSet(String targetStep) throws org.pentaho.di.core.exception.KettleStepException
Description copied from class:BaseStepFind output row set.- Overrides:
findOutputRowSetin classBaseStep- Parameters:
targetStep- the target step- Returns:
- the row set
- Throws:
org.pentaho.di.core.exception.KettleStepException- the kettle step exception
-
findOutputRowSet
public org.pentaho.di.core.RowSet findOutputRowSet(String from, int fromcopy, String to, int tocopy)
Description copied from class:BaseStepFind an output rowset in a running transformation. It will also look at the "to" step to see if this is a mapping. If it is, it will find the appropriate rowset in that transformation.- Overrides:
findOutputRowSetin classBaseStep- Returns:
- The rowset or null if none is found.
-
findOutputRowSetImpl
public org.pentaho.di.core.RowSet findOutputRowSetImpl(String targetStep) throws org.pentaho.di.core.exception.KettleStepException
- Throws:
org.pentaho.di.core.exception.KettleStepException
-
findOutputRowSetImpl
public org.pentaho.di.core.RowSet findOutputRowSetImpl(String from, int fromcopy, String to, int tocopy)
-
getClusterSize
public int getClusterSize()
Description copied from class:BaseStepReturns the cluster size.- Overrides:
getClusterSizein classBaseStep- Returns:
- the cluster size
-
getClusterSizeImpl
public int getClusterSizeImpl()
-
getCopyImpl
public int getCopyImpl()
-
getErrorRowMeta
public org.pentaho.di.core.row.RowMetaInterface getErrorRowMeta()
- Overrides:
getErrorRowMetain classBaseStep- Returns:
- the errorRowMeta
-
getErrorRowMetaImpl
public org.pentaho.di.core.row.RowMetaInterface getErrorRowMetaImpl()
-
getErrors
public long getErrors()
Description copied from interface:StepInterfaceGet the number of errors- Specified by:
getErrorsin interfaceStepInterface- Overrides:
getErrorsin classBaseStep- Returns:
- the number of errors
-
getErrorsImpl
public long getErrorsImpl()
-
getInputRowMeta
public org.pentaho.di.core.row.RowMetaInterface getInputRowMeta()
- Overrides:
getInputRowMetain classBaseStep- Returns:
- the rowMeta
-
getInputRowMetaImpl
public org.pentaho.di.core.row.RowMetaInterface getInputRowMetaImpl()
-
getInputRowSets
public List<org.pentaho.di.core.RowSet> getInputRowSets()
- Specified by:
getInputRowSetsin interfaceStepInterface- Overrides:
getInputRowSetsin classBaseStep- Returns:
- Returns the inputRowSets.
-
getInputRowSetsImpl
public List<org.pentaho.di.core.RowSet> getInputRowSetsImpl()
-
getLinesInput
public long getLinesInput()
- Specified by:
getLinesInputin interfaceStepInterface- Overrides:
getLinesInputin classBaseStep- Returns:
- Returns the number of lines read from an input source: database, file, socket, etc.
-
getLinesInputImpl
public long getLinesInputImpl()
-
getLinesOutput
public long getLinesOutput()
- Specified by:
getLinesOutputin interfaceStepInterface- Overrides:
getLinesOutputin classBaseStep- Returns:
- Returns the number of lines written to an output target: database, file, socket, etc.
-
getLinesOutputImpl
public long getLinesOutputImpl()
-
getLinesRead
public long getLinesRead()
- Specified by:
getLinesReadin interfaceStepInterface- Overrides:
getLinesReadin classBaseStep- Returns:
- Returns the number of lines read from previous steps
-
getLinesReadImpl
public long getLinesReadImpl()
-
getLinesRejected
public long getLinesRejected()
- Specified by:
getLinesRejectedin interfaceStepInterface- Overrides:
getLinesRejectedin classBaseStep- Returns:
- the number of lines rejected to an error handling step
-
getLinesRejectedImpl
public long getLinesRejectedImpl()
-
getLinesSkipped
public long getLinesSkipped()
- Overrides:
getLinesSkippedin classBaseStep- Returns:
- the number of lines skipped
-
getLinesSkippedImpl
public long getLinesSkippedImpl()
-
getLinesUpdated
public long getLinesUpdated()
- Specified by:
getLinesUpdatedin interfaceStepInterface- Overrides:
getLinesUpdatedin classBaseStep- Returns:
- Returns the number of lines updated in an output target: database, file, socket, etc.
-
getLinesUpdatedImpl
public long getLinesUpdatedImpl()
-
getLinesWritten
public long getLinesWritten()
- Specified by:
getLinesWrittenin interfaceStepInterface- Overrides:
getLinesWrittenin classBaseStep- Returns:
- Returns the linesWritten.
-
getLinesWrittenImpl
public long getLinesWrittenImpl()
-
getOutputRowSets
public List<org.pentaho.di.core.RowSet> getOutputRowSets()
- Specified by:
getOutputRowSetsin interfaceStepInterface- Overrides:
getOutputRowSetsin classBaseStep- Returns:
- Returns the outputRowSets.
-
getOutputRowSetsImpl
public List<org.pentaho.di.core.RowSet> getOutputRowSetsImpl()
-
getPartitionID
public String getPartitionID()
- Specified by:
getPartitionIDin interfaceStepInterface- Overrides:
getPartitionIDin classBaseStep- Returns:
- the partitionID
-
getPartitionIDImpl
public String getPartitionIDImpl()
-
getPartitionTargets
public Map<String,org.pentaho.di.core.BlockingRowSet> getPartitionTargets()
- Overrides:
getPartitionTargetsin classBaseStep- Returns:
- the partitionTargets
-
getPartitionTargetsImpl
public Map<String,org.pentaho.di.core.BlockingRowSet> getPartitionTargetsImpl()
-
getProcessed
public long getProcessed()
- Specified by:
getProcessedin interfaceStepInterface- Overrides:
getProcessedin classBaseStep- Returns:
- The number of "processed" lines of a step. Well, a representable metric for that anyway.
-
getProcessedImpl
public long getProcessedImpl()
-
getRepartitioning
public int getRepartitioning()
- Overrides:
getRepartitioningin classBaseStep- Returns:
- the repartitioning type
-
getRepartitioningImpl
public int getRepartitioningImpl()
-
getResultFiles
public Map<String,org.pentaho.di.core.ResultFile> getResultFiles()
- Specified by:
getResultFilesin interfaceStepInterface- Overrides:
getResultFilesin classBaseStep- Returns:
- The result files for this step
-
getRow
public Object[] getRow() throws org.pentaho.di.core.exception.KettleException
Description copied from class:BaseStepIn case of getRow, we receive data from previous steps through the input rowset. In case we split the stream, we have to copy the data to the alternate splits: rowsets 1 through n.- Specified by:
getRowin interfaceStepInterface- Overrides:
getRowin classBaseStep- Returns:
- a row from the source step(s).
- Throws:
org.pentaho.di.core.exception.KettleException
-
getRowFrom
public Object[] getRowFrom(org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepException
Description copied from class:BaseStepGets the row from.- Overrides:
getRowFromin classBaseStep- Parameters:
rowSet- the row set- Returns:
- the row from
- Throws:
org.pentaho.di.core.exception.KettleStepException- the kettle step exception
-
getRowFromImpl
public Object[] getRowFromImpl(org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepException
- Throws:
org.pentaho.di.core.exception.KettleStepException
-
getRowImpl
public Object[] getRowImpl() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getRowListeners
public List<RowListener> getRowListeners()
- Specified by:
getRowListenersin interfaceStepInterface- Overrides:
getRowListenersin classBaseStep- Returns:
- a list of the installed RowListeners
-
getRowListenersImpl
public List<RowListener> getRowListenersImpl()
-
getRuntime
public long getRuntime()
- Specified by:
getRuntimein interfaceStepInterface- Overrides:
getRuntimein classBaseStep- Returns:
- The number of ms that this step has been running
-
getRuntimeImpl
public long getRuntimeImpl()
-
getSlaveNr
public int getSlaveNr()
Description copied from class:BaseStepReturns the unique slave number in the cluster.- Overrides:
getSlaveNrin classBaseStep- Returns:
- the unique slave number in the cluster
-
getSlaveNrImpl
public int getSlaveNrImpl()
-
getSocketRepository
public SocketRepository getSocketRepository()
Description copied from class:BaseStepRetutns the socket repository.- Overrides:
getSocketRepositoryin classBaseStep- Returns:
- the socketRepository
-
getSocketRepositoryImpl
public SocketRepository getSocketRepositoryImpl()
-
getStatus
public BaseStepData.StepExecutionStatus getStatus()
- Specified by:
getStatusin interfaceStepInterface- Overrides:
getStatusin classBaseStep- Returns:
- the description as in
StepDataInterface
-
getStatusDescription
public String getStatusDescription()
Description copied from class:BaseStepGets the status description.- Overrides:
getStatusDescriptionin classBaseStep- Returns:
- the status description
-
getStatusDescriptionImpl
public String getStatusDescriptionImpl()
-
getStatusImpl
public BaseStepData.StepExecutionStatus getStatusImpl()
-
getStepDataInterface
public StepDataInterface getStepDataInterface()
- Overrides:
getStepDataInterfacein classBaseStep- Returns:
- Returns the stepDataInterface.
-
getStepDataInterfaceImpl
public StepDataInterface getStepDataInterfaceImpl()
-
getStepID
public String getStepID()
- Specified by:
getStepIDin interfaceStepInterface- Overrides:
getStepIDin classBaseStep- Returns:
- the type ID of the step...
-
getStepIDImpl
public String getStepIDImpl()
-
getStepListeners
public List<StepListener> getStepListeners()
Description copied from class:BaseStepReturns the step listeners.- Overrides:
getStepListenersin classBaseStep- Returns:
- the stepListeners
-
getStepListenersImpl
public List<StepListener> getStepListenersImpl()
-
getStepMeta
public StepMeta getStepMeta()
- Specified by:
getStepMetain interfaceStepInterface- Overrides:
getStepMetain classBaseStep- Returns:
- Returns the stepMeta.
-
getStepMetaImpl
public StepMeta getStepMetaImpl()
-
getStepname
public String getStepname()
Description copied from interface:StepInterfaceGet the name of the step.- Specified by:
getStepnamein interfaceStepInterface- Overrides:
getStepnamein classBaseStep- Returns:
- the name of the step
-
getStepnameImpl
public String getStepnameImpl()
-
getTransImpl
public Trans getTransImpl()
-
getTransMeta
public TransMeta getTransMeta()
- Overrides:
getTransMetain classBaseStep- Returns:
- Returns the transMeta.
-
getTransMetaImpl
public TransMeta getTransMetaImpl()
-
getTypeId
public String getTypeId()
Description copied from class:BaseStepReturns the step ID via the getStepID() method call. Support for CheckResultSourceInterface.
-
getTypeIdImpl
public String getTypeIdImpl()
-
getUniqueStepCountAcrossSlaves
public int getUniqueStepCountAcrossSlaves()
Description copied from class:BaseStepReturns the number of unique steps across all slave servers.- Overrides:
getUniqueStepCountAcrossSlavesin classBaseStep- Returns:
- the number of unique steps across all slave servers
-
getUniqueStepCountAcrossSlavesImpl
public int getUniqueStepCountAcrossSlavesImpl()
-
getUniqueStepNrAcrossSlaves
public int getUniqueStepNrAcrossSlaves()
Description copied from class:BaseStepReturns a unique step number across all slave servers: slaveNr * nrCopies + copyNr.- Overrides:
getUniqueStepNrAcrossSlavesin classBaseStep- Returns:
- a unique step number across all slave servers: slaveNr * nrCopies + copyNr
-
getUniqueStepNrAcrossSlavesImpl
public int getUniqueStepNrAcrossSlavesImpl()
-
getVariable
public String getVariable(String variableName)
- Specified by:
getVariablein interfaceorg.pentaho.di.core.variables.VariableSpace- Overrides:
getVariablein classBaseStep
-
getVariable
public String getVariable(String variableName, String defaultValue)
- Specified by:
getVariablein interfaceorg.pentaho.di.core.variables.VariableSpace- Overrides:
getVariablein classBaseStep
-
incrementLinesInput
public long incrementLinesInput()
Description copied from class:BaseStepIncrements the number of lines read from an input source: database, file, socket, etc.- Overrides:
incrementLinesInputin classBaseStep- Returns:
- the new incremented value
-
incrementLinesInputImpl
public long incrementLinesInputImpl()
-
incrementLinesOutput
public long incrementLinesOutput()
Description copied from class:BaseStepIncrements the number of lines written to an output target: database, file, socket, etc.- Overrides:
incrementLinesOutputin classBaseStep- Returns:
- the new incremented value
-
incrementLinesOutputImpl
public long incrementLinesOutputImpl()
-
incrementLinesRead
public long incrementLinesRead()
Description copied from class:BaseStepIncrements the number of lines read from previous steps by one- Overrides:
incrementLinesReadin classBaseStep- Returns:
- Returns the new value
-
incrementLinesReadImpl
public long incrementLinesReadImpl()
-
incrementLinesRejected
public long incrementLinesRejected()
Description copied from class:BaseStepIncrements the number of lines rejected to an error handling step- Overrides:
incrementLinesRejectedin classBaseStep- Returns:
- the new incremented value
-
incrementLinesRejectedImpl
public long incrementLinesRejectedImpl()
-
incrementLinesSkipped
public long incrementLinesSkipped()
Description copied from class:BaseStepIncrements the number of lines skipped- Overrides:
incrementLinesSkippedin classBaseStep- Returns:
- the new incremented value
-
incrementLinesSkippedImpl
public long incrementLinesSkippedImpl()
-
incrementLinesUpdated
public long incrementLinesUpdated()
Description copied from class:BaseStepIncrements the number of lines updated in an output target: database, file, socket, etc.- Overrides:
incrementLinesUpdatedin classBaseStep- Returns:
- the new incremented value
-
incrementLinesUpdatedImpl
public long incrementLinesUpdatedImpl()
-
incrementLinesWritten
public long incrementLinesWritten()
Description copied from class:BaseStepIncrements the number of lines written to next steps by one- Overrides:
incrementLinesWrittenin classBaseStep- Returns:
- Returns the new value
-
incrementLinesWrittenImpl
public long incrementLinesWrittenImpl()
-
init
public boolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
Description copied from interface:StepInterfaceInitialize and do work where other steps need to wait for...- Specified by:
initin interfaceStepInterface- Overrides:
initin classBaseStep- Parameters:
stepMetaInterface- The metadata to work withstepDataInterface- The data to initialize
-
initBeforeStart
public void initBeforeStart() throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepThis method is executed by Trans right before the threads start and right after initialization.More to the point: here we open remote output step sockets.
- Specified by:
initBeforeStartin interfaceStepInterface- Overrides:
initBeforeStartin classBaseStep- Throws:
org.pentaho.di.core.exception.KettleStepException- In case there is an error
-
initBeforeStartImpl
public void initBeforeStartImpl() throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
initImpl
public boolean initImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
-
isDistributed
public boolean isDistributed()
- Overrides:
isDistributedin classBaseStep- Returns:
- Returns the distributed.
-
isDistributedImpl
public boolean isDistributedImpl()
-
isInitialising
public boolean isInitialising()
Description copied from class:BaseStepChecks if is initialising.- Overrides:
isInitialisingin classBaseStep- Returns:
- true, if is initialising
-
isInitialisingImpl
public boolean isInitialisingImpl()
-
isPartitioned
public boolean isPartitioned()
- Specified by:
isPartitionedin interfaceStepInterface- Overrides:
isPartitionedin classBaseStep- Returns:
- the partitioned
-
isPartitionedImpl
public boolean isPartitionedImpl()
-
isSafeModeEnabled
public boolean isSafeModeEnabled()
-
isSafeModeEnabledImpl
public boolean isSafeModeEnabledImpl()
-
isStopped
public boolean isStopped()
- Specified by:
isStoppedin interfaceStepInterface- Overrides:
isStoppedin classBaseStep- Returns:
- True if the step is marked as stopped. Execution should stop immediate.
-
isStoppedImpl
public boolean isStoppedImpl()
-
isUsingThreadPriorityManagment
public boolean isUsingThreadPriorityManagment()
Description copied from class:BaseStepRetusn true if we are actively managing priorities of step threads.- Specified by:
isUsingThreadPriorityManagmentin interfaceStepInterface- Overrides:
isUsingThreadPriorityManagmentin classBaseStep- Returns:
- true if we are actively managing priorities of step threads
-
isUsingThreadPriorityManagmentImpl
public boolean isUsingThreadPriorityManagmentImpl()
-
logBasicImpl
public void logBasicImpl(String s)
-
logDebugImpl
public void logDebugImpl(String s)
-
logDetailed
public void logDetailed(String s)
Description copied from class:BaseStepLog detailed.- Overrides:
logDetailedin classBaseStep- Parameters:
s- the message
-
logDetailedImpl
public void logDetailedImpl(String s)
-
logError
public void logError(String s, Throwable e)
Description copied from class:BaseStepLog error.
-
logErrorImpl
public void logErrorImpl(String s)
-
logMinimal
public void logMinimal(String s)
Description copied from class:BaseStepLog minimal.- Overrides:
logMinimalin classBaseStep- Parameters:
s- the message
-
logMinimalImpl
public void logMinimalImpl(String s)
-
logRowlevel
public void logRowlevel(String s)
Description copied from class:BaseStepLog rowlevel.- Overrides:
logRowlevelin classBaseStep- Parameters:
s- the message
-
logRowlevelImpl
public void logRowlevelImpl(String s)
-
logSummary
public void logSummary()
Description copied from class:BaseStepLog summary.- Overrides:
logSummaryin classBaseStep
-
logSummaryImpl
public void logSummaryImpl()
-
markStart
public void markStart()
Description copied from interface:StepInterfaceMark the start time of the step.- Specified by:
markStartin interfaceStepInterface- Overrides:
markStartin classBaseStep
-
markStartImpl
public void markStartImpl()
-
markStop
public void markStop()
Description copied from interface:StepInterfaceMark the end time of the step.- Specified by:
markStopin interfaceStepInterface- Overrides:
markStopin classBaseStep
-
markStopImpl
public void markStopImpl()
-
openRemoteInputStepSocketsOnce
public void openRemoteInputStepSocketsOnce() throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepOpens socket connections to the remote input steps of this step.
This method should be used by steps that don't call getRow() first in which it is executed automatically.
This method should be called before any data is read from previous steps.
This action is executed only once.- Overrides:
openRemoteInputStepSocketsOncein classBaseStep- Throws:
org.pentaho.di.core.exception.KettleStepException
-
openRemoteInputStepSocketsOnceImpl
public void openRemoteInputStepSocketsOnceImpl() throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
openRemoteOutputStepSocketsOnce
public void openRemoteOutputStepSocketsOnce() throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepOpens socket connections to the remote output steps of this step.
This method is called in method initBeforeStart() because it needs to connect to the server sockets (remote steps) as soon as possible to avoid time-out situations.
This action is executed only once.- Overrides:
openRemoteOutputStepSocketsOncein classBaseStep- Throws:
org.pentaho.di.core.exception.KettleStepException
-
openRemoteOutputStepSocketsOnceImpl
public void openRemoteOutputStepSocketsOnceImpl() throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
outputIsDone
public boolean outputIsDone()
Description copied from class:BaseStepOutput is done.- Overrides:
outputIsDonein classBaseStep- Returns:
- true, if successful
-
outputIsDoneImpl
public boolean outputIsDoneImpl()
-
processRow
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws org.pentaho.di.core.exception.KettleException
Description copied from interface:StepInterfacePerform the equivalent of processing one row. Typically this means reading a row from input (getRow()) and passing a row to output (putRow)).- Specified by:
processRowin interfaceStepInterface- Overrides:
processRowin classBaseStep- Parameters:
smi- The steps metadata to work withsdi- The steps temporary working data to work with (database connections, result sets, caches, temporary variables, etc.)- Returns:
- false if no more rows can be processed or an error occurred.
- Throws:
org.pentaho.di.core.exception.KettleException
-
putError
public void putError(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes) throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepPut error.
-
putErrorImpl
public void putErrorImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes) throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
putRow
public void putRow(org.pentaho.di.core.row.RowMetaInterface row, Object[] data) throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepputRow is used to copy a row, to the alternate rowset(s) This should get priority over everything else! (synchronized) If distribute is true, a row is copied only once to the output rowsets, otherwise copies are sent to each rowset!- Specified by:
putRowin interfaceStepInterface- Overrides:
putRowin classBaseStep- Parameters:
row- The row to send to the destinations stepsdata- The row to put to the destination rowset(s).- Throws:
org.pentaho.di.core.exception.KettleStepException
-
putRowImpl
public void putRowImpl(org.pentaho.di.core.row.RowMetaInterface row, Object[] data) throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
putRowTo
public void putRowTo(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepExceptionDescription copied from class:BaseStepputRowTo is used to put a row in a certain specific RowSet.
-
putRowToImpl
public void putRowToImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepException- Throws:
org.pentaho.di.core.exception.KettleStepException
-
removeRowListener
public void removeRowListener(RowListener rowListener)
Description copied from interface:StepInterfaceRemove a rowlistener from this step.- Specified by:
removeRowListenerin interfaceStepInterface- Overrides:
removeRowListenerin classBaseStep- Parameters:
rowListener- the rowlistener to remove
-
removeRowListenerImpl
public void removeRowListenerImpl(RowListener rowListener)
-
rowsetInputSize
public int rowsetInputSize()
- Specified by:
rowsetInputSizein interfaceStepInterface- Overrides:
rowsetInputSizein classBaseStep- Returns:
- The total amount of rows in the input buffers
-
rowsetInputSizeImpl
public int rowsetInputSizeImpl()
-
rowsetOutputSize
public int rowsetOutputSize()
- Specified by:
rowsetOutputSizein interfaceStepInterface- Overrides:
rowsetOutputSizein classBaseStep- Returns:
- The total amount of rows in the output buffers
-
rowsetOutputSizeImpl
public int rowsetOutputSizeImpl()
-
safeModeChecking
public void safeModeChecking(org.pentaho.di.core.row.RowMetaInterface row) throws org.pentaho.di.core.exception.KettleRowExceptionDescription copied from class:BaseStepSafe mode checking.- Overrides:
safeModeCheckingin classBaseStep- Parameters:
row- the row- Throws:
org.pentaho.di.core.exception.KettleRowException- the kettle row exception
-
safeModeCheckingImpl
public void safeModeCheckingImpl(org.pentaho.di.core.row.RowMetaInterface row) throws org.pentaho.di.core.exception.KettleRowException- Throws:
org.pentaho.di.core.exception.KettleRowException
-
setErrors
public void setErrors(long errors)
Description copied from interface:StepInterfaceSets the number of errors- Specified by:
setErrorsin interfaceStepInterface- Overrides:
setErrorsin classBaseStep- Parameters:
errors- the number of errors to set
-
setErrorsImpl
public void setErrorsImpl(long errors)
-
setInputRowMeta
public void setInputRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta)
- Overrides:
setInputRowMetain classBaseStep- Parameters:
rowMeta- the rowMeta to set
-
setInputRowMetaImpl
public void setInputRowMetaImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta)
-
setInputRowSets
public void setInputRowSets(List<org.pentaho.di.core.RowSet> inputRowSets)
- Overrides:
setInputRowSetsin classBaseStep- Parameters:
inputRowSets- The inputRowSets to set.
-
setInputRowSetsImpl
public void setInputRowSetsImpl(List<org.pentaho.di.core.RowSet> inputRowSets)
-
setLinesInput
public void setLinesInput(long newLinesInputValue)
- Overrides:
setLinesInputin classBaseStep- Parameters:
newLinesInputValue- the new number of lines read from an input source: database, file, socket, etc.
-
setLinesInputImpl
public void setLinesInputImpl(long newLinesInputValue)
-
setLinesOutput
public void setLinesOutput(long newLinesOutputValue)
- Overrides:
setLinesOutputin classBaseStep- Parameters:
newLinesOutputValue- the new number of lines written to an output target: database, file, socket, etc.
-
setLinesOutputImpl
public void setLinesOutputImpl(long newLinesOutputValue)
-
setLinesRead
public void setLinesRead(long newLinesReadValue)
- Overrides:
setLinesReadin classBaseStep- Parameters:
newLinesReadValue- the new number of lines read from previous steps
-
setLinesReadImpl
public void setLinesReadImpl(long newLinesReadValue)
-
setLinesRejected
public void setLinesRejected(long linesRejected)
- Specified by:
setLinesRejectedin interfaceStepInterface- Overrides:
setLinesRejectedin classBaseStep- Parameters:
linesRejected- lines number of lines rejected to an error handling step
-
setLinesRejectedImpl
public void setLinesRejectedImpl(long linesRejected)
-
setLinesSkipped
public void setLinesSkipped(long newLinesSkippedValue)
- Overrides:
setLinesSkippedin classBaseStep- Parameters:
newLinesSkippedValue- lines number of lines skipped
-
setLinesSkippedImpl
public void setLinesSkippedImpl(long newLinesSkippedValue)
-
setLinesUpdated
public void setLinesUpdated(long newLinesUpdatedValue)
- Overrides:
setLinesUpdatedin classBaseStep- Parameters:
newLinesUpdatedValue- the new number of lines updated in an output target: database, file, socket, etc.
-
setLinesUpdatedImpl
public void setLinesUpdatedImpl(long newLinesUpdatedValue)
-
setLinesWritten
public void setLinesWritten(long newLinesWrittenValue)
- Overrides:
setLinesWrittenin classBaseStep- Parameters:
newLinesWrittenValue- the new number of lines written to next steps
-
setLinesWrittenImpl
public void setLinesWrittenImpl(long newLinesWrittenValue)
-
setOutputDone
public void setOutputDone()
Description copied from interface:StepInterfaceSignal output done to destination steps- Specified by:
setOutputDonein interfaceStepInterface- Overrides:
setOutputDonein classBaseStep
-
setOutputDoneImpl
public void setOutputDoneImpl()
-
setOutputRowSets
public void setOutputRowSets(List<org.pentaho.di.core.RowSet> outputRowSets)
- Overrides:
setOutputRowSetsin classBaseStep- Parameters:
outputRowSets- The outputRowSets to set.
-
setOutputRowSetsImpl
public void setOutputRowSetsImpl(List<org.pentaho.di.core.RowSet> outputRowSets)
-
setStepListeners
public void setStepListeners(List<StepListener> stepListeners)
Description copied from class:BaseStepSets the step listeners.- Overrides:
setStepListenersin classBaseStep- Parameters:
stepListeners- the stepListeners to set
-
setStepListenersImpl
public void setStepListenersImpl(List<StepListener> stepListeners)
-
setVariable
public void setVariable(String variableName, String variableValue)
- Specified by:
setVariablein interfaceorg.pentaho.di.core.variables.VariableSpace- Overrides:
setVariablein classBaseStep
-
stopAll
public void stopAll()
Description copied from interface:StepInterfaceFlags all rowsets as stopped/completed/finished.- Specified by:
stopAllin interfaceStepInterface- Overrides:
stopAllin classBaseStep
-
stopAllImpl
public void stopAllImpl()
-
stopRunning
public void stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws org.pentaho.di.core.exception.KettleException
Description copied from class:BaseStepPerform actions to stop a running step. This can be stopping running SQL queries (cancel), etc. Default it doesn't do anything.- Specified by:
stopRunningin interfaceStepInterface- Overrides:
stopRunningin classBaseStep- Parameters:
stepMetaInterface- The metadata that might be needed by the step to stop running.stepDataInterface- The interface to the step data containing the connections, resultsets, open files, etc.- Throws:
org.pentaho.di.core.exception.KettleException- in case something goes wrong
-
stopRunningImpl
public void stopRunningImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
toStringImpl
public String toStringImpl()
-
-