|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.step.BaseStep
org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClass
public class UserDefinedJavaClass
| Field Summary |
|---|
| Fields inherited from class org.pentaho.di.trans.step.BaseStep |
|---|
first, linesInput, linesOutput, linesRead, linesRejected, linesSkipped, linesUpdated, linesWritten, terminator, terminator_rows |
| Constructor Summary | |
|---|---|
UserDefinedJavaClass(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans)
|
|
| Method Summary | |
|---|---|
void |
addResultFile(ResultFile resultFile)
Adds the result file. |
void |
addResultFileImpl(ResultFile resultFile)
|
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 |
addRowListenerImpl(RowListener rowListener)
|
void |
addStepListener(StepListener stepListener)
Attach a step listener to be notified when a step arrives in a certain state. |
void |
addStepListenerImpl(StepListener stepListener)
|
boolean |
checkFeedback(long lines)
Check feedback. |
boolean |
checkFeedbackImpl(long lines)
|
void |
cleanup()
Call this method typically, after ALL the slave transformations in a clustered run have finished. |
void |
cleanupImpl()
|
long |
decrementLinesRead()
Decrements the number of lines read from previous steps by one |
long |
decrementLinesReadImpl()
|
long |
decrementLinesWritten()
Decrements the number of lines written to next steps by one |
long |
decrementLinesWrittenImpl()
|
void |
dispose(StepMetaInterface smi,
StepDataInterface sdi)
Dispose of this step: close files, empty logs, etc. |
void |
disposeImpl(StepMetaInterface smi,
StepDataInterface sdi)
|
RowSet |
findInputRowSet(String sourceStep)
Find input row set. |
RowSet |
findInputRowSet(String from,
int fromcopy,
String to,
int tocopy)
Find input row set. |
RowSet |
findInputRowSetImpl(String sourceStep)
|
RowSet |
findInputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy)
|
RowSet |
findOutputRowSet(String targetStep)
Find output row set. |
RowSet |
findOutputRowSet(String from,
int fromcopy,
String to,
int tocopy)
Find an output rowset in a running transformation. |
RowSet |
findOutputRowSetImpl(String targetStep)
|
RowSet |
findOutputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy)
|
int |
getClusterSize()
Returns the cluster size. |
int |
getClusterSizeImpl()
|
int |
getCopyImpl()
|
RowMetaInterface |
getErrorRowMeta()
|
RowMetaInterface |
getErrorRowMetaImpl()
|
long |
getErrors()
Get the number of errors |
long |
getErrorsImpl()
|
RowMetaInterface |
getInputRowMeta()
|
RowMetaInterface |
getInputRowMetaImpl()
|
List<RowSet> |
getInputRowSets()
|
List<RowSet> |
getInputRowSetsImpl()
|
long |
getLinesInput()
|
long |
getLinesInputImpl()
|
long |
getLinesOutput()
|
long |
getLinesOutputImpl()
|
long |
getLinesRead()
|
long |
getLinesReadImpl()
|
long |
getLinesRejected()
|
long |
getLinesRejectedImpl()
|
long |
getLinesSkipped()
|
long |
getLinesSkippedImpl()
|
long |
getLinesUpdated()
|
long |
getLinesUpdatedImpl()
|
long |
getLinesWritten()
|
long |
getLinesWrittenImpl()
|
List<RowSet> |
getOutputRowSets()
|
List<RowSet> |
getOutputRowSetsImpl()
|
String |
getPartitionID()
|
String |
getPartitionIDImpl()
|
Map<String,BlockingRowSet> |
getPartitionTargets()
|
Map<String,BlockingRowSet> |
getPartitionTargetsImpl()
|
long |
getProcessed()
|
long |
getProcessedImpl()
|
int |
getRepartitioning()
|
int |
getRepartitioningImpl()
|
Map<String,ResultFile> |
getResultFiles()
|
Map<String,ResultFile> |
getResultFilesImpl()
|
Object[] |
getRow()
In case of getRow, we receive data from previous steps through the input rowset. |
Object[] |
getRowFrom(RowSet rowSet)
Gets the row from. |
Object[] |
getRowFromImpl(RowSet rowSet)
|
Object[] |
getRowImpl()
|
List<RowListener> |
getRowListeners()
|
List<RowListener> |
getRowListenersImpl()
|
long |
getRuntime()
|
long |
getRuntimeImpl()
|
int |
getSlaveNr()
Returns the unique slave number in the cluster. |
int |
getSlaveNrImpl()
|
SocketRepository |
getSocketRepository()
Retutns the socket repository. |
SocketRepository |
getSocketRepositoryImpl()
|
BaseStepData.StepExecutionStatus |
getStatus()
|
String |
getStatusDescription()
Gets the status description. |
String |
getStatusDescriptionImpl()
|
BaseStepData.StepExecutionStatus |
getStatusImpl()
|
StepDataInterface |
getStepDataInterface()
|
StepDataInterface |
getStepDataInterfaceImpl()
|
String |
getStepID()
|
String |
getStepIDImpl()
|
List<StepListener> |
getStepListeners()
Returns the step listeners. |
List<StepListener> |
getStepListenersImpl()
|
StepMeta |
getStepMeta()
|
StepMeta |
getStepMetaImpl()
|
String |
getStepname()
Get the name of the step. |
String |
getStepnameImpl()
|
Trans |
getTransImpl()
|
TransMeta |
getTransMeta()
|
TransMeta |
getTransMetaImpl()
|
String |
getTypeId()
Returns the step ID via the getStepID() method call. |
String |
getTypeIdImpl()
|
int |
getUniqueStepCountAcrossSlaves()
Returns the number of unique steps across all slave servers. |
int |
getUniqueStepCountAcrossSlavesImpl()
|
int |
getUniqueStepNrAcrossSlaves()
Returns a unique step number across all slave servers: slaveNr * nrCopies + copyNr. |
int |
getUniqueStepNrAcrossSlavesImpl()
|
String |
getVariable(String variableName)
Get the value of a variable. |
String |
getVariable(String variableName,
String defaultValue)
Get the value of a variable with a default in case the variable is not found. |
String |
getVariableImpl(String variableName)
|
String |
getVariableImpl(String variableName,
String defaultValue)
|
long |
incrementLinesInput()
Increments the number of lines read from an input source: database, file, socket, etc. |
long |
incrementLinesInputImpl()
|
long |
incrementLinesOutput()
Increments the number of lines written to an output target: database, file, socket, etc. |
long |
incrementLinesOutputImpl()
|
long |
incrementLinesRead()
Increments the number of lines read from previous steps by one |
long |
incrementLinesReadImpl()
|
long |
incrementLinesRejected()
Increments the number of lines rejected to an error handling step |
long |
incrementLinesRejectedImpl()
|
long |
incrementLinesSkipped()
Increments the number of lines skipped |
long |
incrementLinesSkippedImpl()
|
long |
incrementLinesUpdated()
Increments the number of lines updated in an output target: database, file, socket, etc. |
long |
incrementLinesUpdatedImpl()
|
long |
incrementLinesWritten()
Increments the number of lines written to next steps by one |
long |
incrementLinesWrittenImpl()
|
boolean |
init(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
Initialize and do work where other steps need to wait for... |
void |
initBeforeStart()
This method is executed by Trans right before the threads start and right after initialization. |
void |
initBeforeStartImpl()
|
boolean |
initImpl(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
|
boolean |
isDistributed()
|
boolean |
isDistributedImpl()
|
boolean |
isInitialising()
Checks if is initialising. |
boolean |
isInitialisingImpl()
|
boolean |
isPartitioned()
|
boolean |
isPartitionedImpl()
|
boolean |
isSafeModeEnabled()
|
boolean |
isSafeModeEnabledImpl()
|
boolean |
isStopped()
|
boolean |
isStoppedImpl()
|
boolean |
isUsingThreadPriorityManagment()
Retusn true if we are actively managing priorities of step threads. |
boolean |
isUsingThreadPriorityManagmentImpl()
|
void |
logBasic(String s)
Log basic. |
void |
logBasicImpl(String s)
|
void |
logDebug(String s)
Log debug. |
void |
logDebugImpl(String s)
|
void |
logDetailed(String s)
Log detailed. |
void |
logDetailedImpl(String s)
|
void |
logError(String s)
Log error. |
void |
logError(String s,
Throwable e)
Log error. |
void |
logErrorImpl(String s)
|
void |
logErrorImpl(String s,
Throwable e)
|
void |
logMinimal(String s)
Log minimal. |
void |
logMinimalImpl(String s)
|
void |
logRowlevel(String s)
Log rowlevel. |
void |
logRowlevelImpl(String s)
|
void |
logSummary()
Log summary. |
void |
logSummaryImpl()
|
void |
markStart()
Mark the start time of the step. |
void |
markStartImpl()
|
void |
markStop()
Mark the end time of the step. |
void |
markStopImpl()
|
void |
openRemoteInputStepSocketsOnce()
Opens socket connections to the remote input steps of this step. |
void |
openRemoteInputStepSocketsOnceImpl()
|
void |
openRemoteOutputStepSocketsOnce()
Opens socket connections to the remote output steps of this step. |
void |
openRemoteOutputStepSocketsOnceImpl()
|
boolean |
outputIsDone()
Output is done. |
boolean |
outputIsDoneImpl()
|
boolean |
processRow(StepMetaInterface smi,
StepDataInterface sdi)
Perform the equivalent of processing one row. |
void |
putError(RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
Put error. |
void |
putErrorImpl(RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
|
void |
putRow(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! |
void |
putRowImpl(RowMetaInterface row,
Object[] data)
|
void |
putRowTo(RowMetaInterface rowMeta,
Object[] row,
RowSet rowSet)
putRowTo is used to put a row in a certain specific RowSet. |
void |
putRowToImpl(RowMetaInterface rowMeta,
Object[] row,
RowSet rowSet)
|
void |
removeRowListener(RowListener rowListener)
Remove a rowlistener from this step. |
void |
removeRowListenerImpl(RowListener rowListener)
|
int |
rowsetInputSize()
|
int |
rowsetInputSizeImpl()
|
int |
rowsetOutputSize()
|
int |
rowsetOutputSizeImpl()
|
void |
safeModeChecking(RowMetaInterface row)
Safe mode checking. |
void |
safeModeCheckingImpl(RowMetaInterface row)
|
void |
setErrors(long errors)
Sets the number of errors |
void |
setErrorsImpl(long errors)
|
void |
setInputRowMeta(RowMetaInterface rowMeta)
|
void |
setInputRowMetaImpl(RowMetaInterface rowMeta)
|
void |
setInputRowSets(List<RowSet> inputRowSets)
|
void |
setInputRowSetsImpl(List<RowSet> inputRowSets)
|
void |
setLinesInput(long newLinesInputValue)
|
void |
setLinesInputImpl(long newLinesInputValue)
|
void |
setLinesOutput(long newLinesOutputValue)
|
void |
setLinesOutputImpl(long newLinesOutputValue)
|
void |
setLinesRead(long newLinesReadValue)
|
void |
setLinesReadImpl(long newLinesReadValue)
|
void |
setLinesRejected(long linesRejected)
|
void |
setLinesRejectedImpl(long linesRejected)
|
void |
setLinesSkipped(long newLinesSkippedValue)
|
void |
setLinesSkippedImpl(long newLinesSkippedValue)
|
void |
setLinesUpdated(long newLinesUpdatedValue)
|
void |
setLinesUpdatedImpl(long newLinesUpdatedValue)
|
void |
setLinesWritten(long newLinesWrittenValue)
|
void |
setLinesWrittenImpl(long newLinesWrittenValue)
|
void |
setOutputDone()
Signal output done to destination steps |
void |
setOutputDoneImpl()
|
void |
setOutputRowSets(List<RowSet> outputRowSets)
|
void |
setOutputRowSetsImpl(List<RowSet> outputRowSets)
|
void |
setStepListeners(List<StepListener> stepListeners)
Sets the step listeners. |
void |
setStepListenersImpl(List<StepListener> stepListeners)
|
void |
setVariable(String variableName,
String variableValue)
Sets a variable in the Kettle Variables list. |
void |
setVariableImpl(String variableName,
String variableValue)
|
void |
stopAll()
Flags all rowsets as stopped/completed/finished. |
void |
stopAllImpl()
|
void |
stopRunning(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
Perform actions to stop a running step. |
void |
stopRunningImpl(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
|
String |
toString()
|
String |
toStringImpl()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pentaho.di.trans.step.StepInterface |
|---|
batchComplete, canProcessOneRow, getCopy, getLogChannel, getTrans, identifyErrorOutput, isMapping, isPaused, isRunning, pauseRunning, resumeRunning, setPartitioned, setPartitionID, setRepartitioning, setRunning, setStopped, setUsingThreadPriorityManagment |
| Methods inherited from interface org.pentaho.di.core.variables.VariableSpace |
|---|
copyVariablesFrom, environmentSubstitute, environmentSubstitute, getBooleanValueOfVariable, getParentVariableSpace, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, shareVariablesWith |
| Constructor Detail |
|---|
public UserDefinedJavaClass(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans)
| Method Detail |
|---|
public void addResultFile(ResultFile resultFile)
BaseStep
addResultFile in class BaseStepresultFile - the result filepublic void addResultFileImpl(ResultFile resultFile)
public void addRowListener(RowListener rowListener)
StepInterface
addRowListener in interface StepInterfaceaddRowListener in class BaseSteprowListener - the rowlistener to addpublic void addRowListenerImpl(RowListener rowListener)
public void addStepListener(StepListener stepListener)
StepInterface
addStepListener in interface StepInterfaceaddStepListener in class BaseStepstepListener - The listener to add to the steppublic void addStepListenerImpl(StepListener stepListener)
public boolean checkFeedback(long lines)
BaseStep
lines - the lines
public boolean checkFeedbackImpl(long lines)
public void cleanup()
StepInterface
cleanup in interface StepInterfacecleanup in class BaseSteppublic void cleanupImpl()
public long decrementLinesRead()
BaseStep
decrementLinesRead in class BaseSteppublic long decrementLinesReadImpl()
public long decrementLinesWritten()
BaseStep
decrementLinesWritten in class BaseSteppublic long decrementLinesWrittenImpl()
public void dispose(StepMetaInterface smi,
StepDataInterface sdi)
StepInterface
dispose in interface StepInterfacedispose in class BaseStepsmi - The metadata to work withsdi - The data to dispose of
public void disposeImpl(StepMetaInterface smi,
StepDataInterface sdi)
public RowSet findInputRowSet(String sourceStep)
throws KettleStepException
BaseStep
findInputRowSet in class BaseStepsourceStep - the source step
KettleStepException - the kettle step exception
public RowSet findInputRowSet(String from,
int fromcopy,
String to,
int tocopy)
BaseStep
findInputRowSet in class BaseStepfrom - the fromfromcopy - the fromcopyto - the totocopy - the tocopy
public RowSet findInputRowSetImpl(String sourceStep)
throws KettleStepException
KettleStepException
public RowSet findInputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy)
public RowSet findOutputRowSet(String targetStep)
throws KettleStepException
BaseStep
findOutputRowSet in class BaseSteptargetStep - the target step
KettleStepException - the kettle step exception
public RowSet findOutputRowSet(String from,
int fromcopy,
String to,
int tocopy)
BaseStep
findOutputRowSet in class BaseStep
public RowSet findOutputRowSetImpl(String targetStep)
throws KettleStepException
KettleStepException
public RowSet findOutputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy)
public int getClusterSize()
BaseStep
getClusterSize in class BaseSteppublic int getClusterSizeImpl()
public int getCopyImpl()
public RowMetaInterface getErrorRowMeta()
getErrorRowMeta in class BaseSteppublic RowMetaInterface getErrorRowMetaImpl()
public long getErrors()
StepInterface
getErrors in interface StepInterfacegetErrors in class BaseSteppublic long getErrorsImpl()
public RowMetaInterface getInputRowMeta()
getInputRowMeta in class BaseSteppublic RowMetaInterface getInputRowMetaImpl()
public List<RowSet> getInputRowSets()
getInputRowSets in interface StepInterfacegetInputRowSets in class BaseSteppublic List<RowSet> getInputRowSetsImpl()
public long getLinesInput()
getLinesInput in interface StepInterfacegetLinesInput in class BaseSteppublic long getLinesInputImpl()
public long getLinesOutput()
getLinesOutput in interface StepInterfacegetLinesOutput in class BaseSteppublic long getLinesOutputImpl()
public long getLinesRead()
getLinesRead in interface StepInterfacegetLinesRead in class BaseSteppublic long getLinesReadImpl()
public long getLinesRejected()
getLinesRejected in interface StepInterfacegetLinesRejected in class BaseSteppublic long getLinesRejectedImpl()
public long getLinesSkipped()
getLinesSkipped in class BaseSteppublic long getLinesSkippedImpl()
public long getLinesUpdated()
getLinesUpdated in interface StepInterfacegetLinesUpdated in class BaseSteppublic long getLinesUpdatedImpl()
public long getLinesWritten()
getLinesWritten in interface StepInterfacegetLinesWritten in class BaseSteppublic long getLinesWrittenImpl()
public List<RowSet> getOutputRowSets()
getOutputRowSets in interface StepInterfacegetOutputRowSets in class BaseSteppublic List<RowSet> getOutputRowSetsImpl()
public String getPartitionID()
getPartitionID in interface StepInterfacegetPartitionID in class BaseSteppublic String getPartitionIDImpl()
public Map<String,BlockingRowSet> getPartitionTargets()
getPartitionTargets in class BaseSteppublic Map<String,BlockingRowSet> getPartitionTargetsImpl()
public long getProcessed()
getProcessed in interface StepInterfacegetProcessed in class BaseSteppublic long getProcessedImpl()
public int getRepartitioning()
getRepartitioning in class BaseSteppublic int getRepartitioningImpl()
public Map<String,ResultFile> getResultFiles()
getResultFiles in interface StepInterfacegetResultFiles in class BaseSteppublic Map<String,ResultFile> getResultFilesImpl()
public Object[] getRow()
throws KettleException
BaseStep
getRow in interface StepInterfacegetRow in class BaseStepKettleException
public Object[] getRowFrom(RowSet rowSet)
throws KettleStepException
BaseStep
getRowFrom in class BaseSteprowSet - the row set
KettleStepException - the kettle step exception
public Object[] getRowFromImpl(RowSet rowSet)
throws KettleStepException
KettleStepException
public Object[] getRowImpl()
throws KettleException
KettleExceptionpublic List<RowListener> getRowListeners()
getRowListeners in interface StepInterfacegetRowListeners in class BaseSteppublic List<RowListener> getRowListenersImpl()
public long getRuntime()
getRuntime in interface StepInterfacegetRuntime in class BaseSteppublic long getRuntimeImpl()
public int getSlaveNr()
BaseStep
getSlaveNr in class BaseSteppublic int getSlaveNrImpl()
public SocketRepository getSocketRepository()
BaseStep
getSocketRepository in class BaseSteppublic SocketRepository getSocketRepositoryImpl()
public BaseStepData.StepExecutionStatus getStatus()
getStatus in interface StepInterfacegetStatus in class BaseStepStepDataInterfacepublic String getStatusDescription()
BaseStep
getStatusDescription in class BaseSteppublic String getStatusDescriptionImpl()
public BaseStepData.StepExecutionStatus getStatusImpl()
public StepDataInterface getStepDataInterface()
getStepDataInterface in class BaseSteppublic StepDataInterface getStepDataInterfaceImpl()
public String getStepID()
getStepID in interface StepInterfacegetStepID in class BaseSteppublic String getStepIDImpl()
public List<StepListener> getStepListeners()
BaseStep
getStepListeners in class BaseSteppublic List<StepListener> getStepListenersImpl()
public StepMeta getStepMeta()
getStepMeta in interface StepInterfacegetStepMeta in class BaseSteppublic StepMeta getStepMetaImpl()
public String getStepname()
StepInterface
getStepname in interface StepInterfacegetStepname in class BaseSteppublic String getStepnameImpl()
public Trans getTransImpl()
public TransMeta getTransMeta()
getTransMeta in class BaseSteppublic TransMeta getTransMetaImpl()
public String getTypeId()
BaseStep
getTypeId in class BaseSteppublic String getTypeIdImpl()
public int getUniqueStepCountAcrossSlaves()
BaseStep
getUniqueStepCountAcrossSlaves in class BaseSteppublic int getUniqueStepCountAcrossSlavesImpl()
public int getUniqueStepNrAcrossSlaves()
BaseStep
getUniqueStepNrAcrossSlaves in class BaseSteppublic int getUniqueStepNrAcrossSlavesImpl()
public String getVariable(String variableName)
VariableSpace
getVariable in interface VariableSpacegetVariable in class BaseStepvariableName - The name of the variable
public String getVariable(String variableName,
String defaultValue)
VariableSpace
getVariable in interface VariableSpacegetVariable in class BaseStepvariableName - The name of the variabledefaultValue - The default value in case the variable could not be
found
public String getVariableImpl(String variableName)
public String getVariableImpl(String variableName,
String defaultValue)
public long incrementLinesInput()
BaseStep
incrementLinesInput in class BaseSteppublic long incrementLinesInputImpl()
public long incrementLinesOutput()
BaseStep
incrementLinesOutput in class BaseSteppublic long incrementLinesOutputImpl()
public long incrementLinesRead()
BaseStep
incrementLinesRead in class BaseSteppublic long incrementLinesReadImpl()
public long incrementLinesRejected()
BaseStep
incrementLinesRejected in class BaseSteppublic long incrementLinesRejectedImpl()
public long incrementLinesSkipped()
BaseStep
incrementLinesSkipped in class BaseSteppublic long incrementLinesSkippedImpl()
public long incrementLinesUpdated()
BaseStep
incrementLinesUpdated in class BaseSteppublic long incrementLinesUpdatedImpl()
public long incrementLinesWritten()
BaseStep
incrementLinesWritten in class BaseSteppublic long incrementLinesWrittenImpl()
public boolean init(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
StepInterface
init in interface StepInterfaceinit in class BaseStepstepMetaInterface - The metadata to work withstepDataInterface - The data to initialize
public void initBeforeStart()
throws KettleStepException
BaseStep
initBeforeStart in interface StepInterfaceinitBeforeStart in class BaseStepKettleStepException - In case there is an error
public void initBeforeStartImpl()
throws KettleStepException
KettleStepException
public boolean initImpl(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
public boolean isDistributed()
isDistributed in class BaseSteppublic boolean isDistributedImpl()
public boolean isInitialising()
BaseStep
isInitialising in class BaseSteppublic boolean isInitialisingImpl()
public boolean isPartitioned()
isPartitioned in interface StepInterfaceisPartitioned in class BaseSteppublic boolean isPartitionedImpl()
public boolean isSafeModeEnabled()
public boolean isSafeModeEnabledImpl()
public boolean isStopped()
isStopped in interface StepInterfaceisStopped in class BaseSteppublic boolean isStoppedImpl()
public boolean isUsingThreadPriorityManagment()
BaseStep
isUsingThreadPriorityManagment in interface StepInterfaceisUsingThreadPriorityManagment in class BaseSteppublic boolean isUsingThreadPriorityManagmentImpl()
public void logBasic(String s)
BaseStep
logBasic in class BaseSteps - the messagepublic void logBasicImpl(String s)
public void logDebug(String s)
BaseStep
logDebug in class BaseSteps - the messagepublic void logDebugImpl(String s)
public void logDetailed(String s)
BaseStep
logDetailed in class BaseSteps - the messagepublic void logDetailedImpl(String s)
public void logError(String s)
BaseStep
logError in class BaseSteps - the message
public void logError(String s,
Throwable e)
BaseStep
logError in class BaseSteps - the messagee - the epublic void logErrorImpl(String s)
public void logErrorImpl(String s,
Throwable e)
public void logMinimal(String s)
BaseStep
logMinimal in class BaseSteps - the messagepublic void logMinimalImpl(String s)
public void logRowlevel(String s)
BaseStep
logRowlevel in class BaseSteps - the messagepublic void logRowlevelImpl(String s)
public void logSummary()
BaseStep
logSummary in class BaseSteppublic void logSummaryImpl()
public void markStart()
StepInterface
markStart in interface StepInterfacemarkStart in class BaseSteppublic void markStartImpl()
public void markStop()
StepInterface
markStop in interface StepInterfacemarkStop in class BaseSteppublic void markStopImpl()
public void openRemoteInputStepSocketsOnce()
throws KettleStepException
BaseStep
KettleStepException
public void openRemoteInputStepSocketsOnceImpl()
throws KettleStepException
KettleStepException
public void openRemoteOutputStepSocketsOnce()
throws KettleStepException
BaseStep
KettleStepException
public void openRemoteOutputStepSocketsOnceImpl()
throws KettleStepException
KettleStepExceptionpublic boolean outputIsDone()
BaseStep
outputIsDone in class BaseSteppublic boolean outputIsDoneImpl()
public boolean processRow(StepMetaInterface smi,
StepDataInterface sdi)
throws KettleException
StepInterface
processRow in interface StepInterfaceprocessRow in class BaseStepsmi - The steps metadata to work withsdi - The steps temporary working data to work with (database connections, result sets, caches, temporary variables, etc.)
KettleException
public void putError(RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
throws KettleStepException
BaseStep
putError in class BaseSteprowMeta - the row metarow - the rownrErrors - the nr errorserrorDescriptions - the error descriptionsfieldNames - the field nameserrorCodes - the error codes
KettleStepException - the kettle step exception
public void putErrorImpl(RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
throws KettleStepException
KettleStepException
public void putRow(RowMetaInterface row,
Object[] data)
throws KettleStepException
BaseStep
putRow in interface StepInterfaceputRow in class BaseSteprow - The row to send to the destinations stepsdata - The row to put to the destination rowset(s).
KettleStepException
public void putRowImpl(RowMetaInterface row,
Object[] data)
throws KettleStepException
KettleStepException
public void putRowTo(RowMetaInterface rowMeta,
Object[] row,
RowSet rowSet)
throws KettleStepException
BaseStep
putRowTo in class BaseSteprowMeta - The row meta-data to put to the destination RowSet.row - the data to put in the RowSetrowSet - the RoWset to put the row into.
KettleStepException - In case something unexpected goes wrong
public void putRowToImpl(RowMetaInterface rowMeta,
Object[] row,
RowSet rowSet)
throws KettleStepException
KettleStepExceptionpublic void removeRowListener(RowListener rowListener)
StepInterface
removeRowListener in interface StepInterfaceremoveRowListener in class BaseSteprowListener - the rowlistener to removepublic void removeRowListenerImpl(RowListener rowListener)
public int rowsetInputSize()
rowsetInputSize in interface StepInterfacerowsetInputSize in class BaseSteppublic int rowsetInputSizeImpl()
public int rowsetOutputSize()
rowsetOutputSize in interface StepInterfacerowsetOutputSize in class BaseSteppublic int rowsetOutputSizeImpl()
public void safeModeChecking(RowMetaInterface row)
throws KettleRowException
BaseStep
row - the row
KettleRowException - the kettle row exception
public void safeModeCheckingImpl(RowMetaInterface row)
throws KettleRowException
KettleRowExceptionpublic void setErrors(long errors)
StepInterface
setErrors in interface StepInterfacesetErrors in class BaseSteperrors - the number of errors to setpublic void setErrorsImpl(long errors)
public void setInputRowMeta(RowMetaInterface rowMeta)
setInputRowMeta in class BaseSteprowMeta - the rowMeta to setpublic void setInputRowMetaImpl(RowMetaInterface rowMeta)
public void setInputRowSets(List<RowSet> inputRowSets)
setInputRowSets in class BaseStepinputRowSets - The inputRowSets to set.public void setInputRowSetsImpl(List<RowSet> inputRowSets)
public void setLinesInput(long newLinesInputValue)
setLinesInput in class BaseStepnewLinesInputValue - the new number of lines read from an input source: database, file, socket, etc.public void setLinesInputImpl(long newLinesInputValue)
public void setLinesOutput(long newLinesOutputValue)
setLinesOutput in class BaseStepnewLinesOutputValue - the new number of lines written to an output target: database, file, socket, etc.public void setLinesOutputImpl(long newLinesOutputValue)
public void setLinesRead(long newLinesReadValue)
setLinesRead in class BaseStepnewLinesReadValue - the new number of lines read from previous stepspublic void setLinesReadImpl(long newLinesReadValue)
public void setLinesRejected(long linesRejected)
setLinesRejected in interface StepInterfacesetLinesRejected in class BaseSteplinesRejected - lines number of lines rejected to an error handling steppublic void setLinesRejectedImpl(long linesRejected)
public void setLinesSkipped(long newLinesSkippedValue)
setLinesSkipped in class BaseStepnewLinesSkippedValue - lines number of lines skippedpublic void setLinesSkippedImpl(long newLinesSkippedValue)
public void setLinesUpdated(long newLinesUpdatedValue)
setLinesUpdated in class BaseSteppublic void setLinesUpdatedImpl(long newLinesUpdatedValue)
public void setLinesWritten(long newLinesWrittenValue)
setLinesWritten in class BaseStepnewLinesWrittenValue - the new number of lines written to next stepspublic void setLinesWrittenImpl(long newLinesWrittenValue)
public void setOutputDone()
StepInterface
setOutputDone in interface StepInterfacesetOutputDone in class BaseSteppublic void setOutputDoneImpl()
public void setOutputRowSets(List<RowSet> outputRowSets)
setOutputRowSets in class BaseStepoutputRowSets - The outputRowSets to set.public void setOutputRowSetsImpl(List<RowSet> outputRowSets)
public void setStepListeners(List<StepListener> stepListeners)
BaseStep
setStepListeners in class BaseStepstepListeners - the stepListeners to setpublic void setStepListenersImpl(List<StepListener> stepListeners)
public void setVariable(String variableName,
String variableValue)
VariableSpace
setVariable in interface VariableSpacesetVariable in class BaseStepvariableName - The name of the variable to setvariableValue - The value of the variable to set. If the
variableValue is null, the variable is cleared
from the list.
public void setVariableImpl(String variableName,
String variableValue)
public void stopAll()
StepInterface
stopAll in interface StepInterfacestopAll in class BaseSteppublic void stopAllImpl()
public void stopRunning(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
throws KettleException
BaseStep
stopRunning in interface StepInterfacestopRunning in class BaseStepstepMetaInterface - 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.
KettleException - in case something goes wrong
public void stopRunningImpl(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
throws KettleException
KettleExceptionpublic String toString()
toString in class BaseSteppublic String toStringImpl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||