public interface ScriptInterface extends StepInterface
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRowListener(RowListener rowListener)
Add a rowlistener to the step allowing you to inspect (or manipulate, be careful) the rows coming in or exiting the
step.
|
void |
cleanup()
Call this method typically, after ALL the slave transformations in a clustered run have finished.
|
void |
dispose(StepMetaInterface sii,
StepDataInterface sdi)
Dispose of this step: close files, empty logs, etc.
|
long |
getErrors()
Get the number of errors
|
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()
Get the name of the step.
|
boolean |
init(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
Initialize and do work where other steps need to wait for...
|
boolean |
isAlive() |
boolean |
isPartitioned() |
boolean |
isStopped() |
void |
markStart()
Mark the start time of the step.
|
void |
markStop()
Mark the end time of the step.
|
void |
pauseRunning()
Pause a running step
|
boolean |
processRow(StepMetaInterface smi,
StepDataInterface sdi)
Perform the equivalent of processing one row.
|
void |
putRow(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
Put a row on the destination rowsets.
|
void |
removeRowListener(RowListener rowListener)
Remove a rowlistener from this step.
|
void |
resumeRunning()
Resume a running step
|
void |
run() |
void |
setErrors(long errors)
Sets the number of errors
|
void |
setOutputDone()
Signal output done to destination steps
|
void |
setPartitionID(String partitionID) |
void |
start() |
void |
stopAll()
Flags all rowsets as stopped/completed/finished.
|
void |
stopRunning(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
Stop running operations...
|
addRowSetToInputRowSets, addRowSetToOutputRowSets, addStepListener, batchComplete, canProcessOneRow, getCopy, getCurrentInputRowSetNr, getCurrentOutputRowSetNr, getLogChannel, getMetaStore, getProcessed, getRepository, getResultFiles, getRuntime, getStatus, getStepMeta, getTrans, identifyErrorOutput, initBeforeStart, isMapping, isPaused, isRunning, isSafeStopped, isUsingThreadPriorityManagment, rowsetInputSize, rowsetOutputSize, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setLinesRejected, setMetaStore, setPartitioned, setRepartitioning, setRepository, setRunning, setSafeStopped, setStopped, setUsingThreadPriorityManagment, subStatusescopyVariablesFrom, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getParentVariableSpace, getVariable, getVariable, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, setVariable, shareVariablesWithboolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws org.pentaho.di.core.exception.KettleException
StepInterfaceprocessRow 在接口中 StepInterfacesmi - The steps metadata to work withsdi - The steps temporary working data to work with (database connections, result sets, caches, temporary
variables, etc.)org.pentaho.di.core.exception.KettleExceptionvoid addRowListener(RowListener rowListener)
StepInterfaceaddRowListener 在接口中 StepInterfacerowListener - the rowlistener to addvoid dispose(StepMetaInterface sii, StepDataInterface sdi)
StepInterfacedispose 在接口中 StepInterfacesii - The metadata to work withsdi - The data to dispose oflong getErrors()
StepInterfacegetErrors 在接口中 StepInterfaceList<org.pentaho.di.core.RowSet> getInputRowSets()
getInputRowSets 在接口中 StepInterfacelong getLinesInput()
getLinesInput 在接口中 StepInterfacelong getLinesOutput()
getLinesOutput 在接口中 StepInterfacelong getLinesRead()
getLinesRead 在接口中 StepInterfacelong getLinesUpdated()
getLinesUpdated 在接口中 StepInterfacelong getLinesWritten()
getLinesWritten 在接口中 StepInterfacelong getLinesRejected()
getLinesRejected 在接口中 StepInterfaceList<org.pentaho.di.core.RowSet> getOutputRowSets()
getOutputRowSets 在接口中 StepInterfaceString getPartitionID()
getPartitionID 在接口中 StepInterfaceObject[] getRow() throws org.pentaho.di.core.exception.KettleException
getRow 在接口中 StepInterfaceorg.pentaho.di.core.exception.KettleExceptionList<RowListener> getRowListeners()
getRowListeners 在接口中 StepInterfaceString getStepID()
getStepID 在接口中 StepInterfaceString getStepname()
StepInterfacegetStepname 在接口中 StepInterfaceboolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
StepInterfaceinit 在接口中 StepInterfacestepMetaInterface - The metadata to work withstepDataInterface - The data to initializeboolean isAlive()
boolean isPartitioned()
isPartitioned 在接口中 StepInterfaceboolean isStopped()
isStopped 在接口中 StepInterfacevoid markStart()
StepInterfacemarkStart 在接口中 StepInterfacevoid markStop()
StepInterfacemarkStop 在接口中 StepInterfacevoid putRow(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
throws org.pentaho.di.core.exception.KettleException
StepInterfaceputRow 在接口中 StepInterfacerowMeta - The row to send to the destinations stepsorg.pentaho.di.core.exception.KettleExceptionvoid removeRowListener(RowListener rowListener)
StepInterfaceremoveRowListener 在接口中 StepInterfacerowListener - the rowlistener to removevoid run()
void setErrors(long errors)
StepInterfacesetErrors 在接口中 StepInterfaceerrors - the number of errors to setvoid setOutputDone()
StepInterfacesetOutputDone 在接口中 StepInterfacevoid setPartitionID(String partitionID)
setPartitionID 在接口中 StepInterfacepartitionID - the partitionID to setvoid start()
void stopAll()
StepInterfacestopAll 在接口中 StepInterfacevoid stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws org.pentaho.di.core.exception.KettleException
StepInterfacestopRunning 在接口中 StepInterfacestepMetaInterface - 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.org.pentaho.di.core.exception.KettleExceptionvoid cleanup()
StepInterfacecleanup 在接口中 StepInterfacevoid pauseRunning()
StepInterfacepauseRunning 在接口中 StepInterfacevoid resumeRunning()
StepInterfaceresumeRunning 在接口中 StepInterfaceCopyright © 2024 Hitachi Vantara. All rights reserved.