|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
|
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)
|
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)
|
RowSet |
findInputRowSet(String from,
int fromcopy,
String to,
int tocopy)
|
RowSet |
findInputRowSetImpl(String sourceStep)
|
RowSet |
findInputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy)
|
RowSet |
findOutputRowSet(String targetStep)
|
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()
|
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)
|
Object[] |
getRowFromImpl(RowSet rowSet)
|
Object[] |
getRowImpl()
|
List<RowListener> |
getRowListeners()
|
List<RowListener> |
getRowListenersImpl()
|
long |
getRuntime()
|
long |
getRuntimeImpl()
|
int |
getSlaveNr()
|
int |
getSlaveNrImpl()
|
SocketRepository |
getSocketRepository()
|
SocketRepository |
getSocketRepositoryImpl()
|
BaseStepData.StepExecutionStatus |
getStatus()
|
String |
getStatusDescription()
|
String |
getStatusDescriptionImpl()
|
BaseStepData.StepExecutionStatus |
getStatusImpl()
|
StepDataInterface |
getStepDataInterface()
|
StepDataInterface |
getStepDataInterfaceImpl()
|
String |
getStepID()
|
String |
getStepIDImpl()
|
List<StepListener> |
getStepListeners()
|
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()
Support for CheckResultSourceInterface |
String |
getTypeIdImpl()
|
int |
getUniqueStepCountAcrossSlaves()
|
int |
getUniqueStepCountAcrossSlavesImpl()
|
int |
getUniqueStepNrAcrossSlaves()
|
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()
|
boolean |
isInitialisingImpl()
|
boolean |
isPartitioned()
|
boolean |
isPartitionedImpl()
|
boolean |
isSafeModeEnabled()
|
boolean |
isSafeModeEnabledImpl()
|
boolean |
isStopped()
|
boolean |
isStoppedImpl()
|
boolean |
isUsingThreadPriorityManagment()
|
boolean |
isUsingThreadPriorityManagmentImpl()
|
void |
logBasic(String s)
|
void |
logBasicImpl(String s)
|
void |
logDebug(String s)
|
void |
logDebugImpl(String s)
|
void |
logDetailed(String s)
|
void |
logDetailedImpl(String s)
|
void |
logError(String s)
|
void |
logError(String s,
Throwable e)
|
void |
logErrorImpl(String s)
|
void |
logErrorImpl(String s,
Throwable e)
|
void |
logMinimal(String s)
|
void |
logMinimalImpl(String s)
|
void |
logRowlevel(String s)
|
void |
logRowlevelImpl(String s)
|
void |
logSummary()
|
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()
|
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)
|
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)
|
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)
|
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)
addResultFile
in class BaseStep
public void addResultFileImpl(ResultFile resultFile)
public void addRowListener(RowListener rowListener)
StepInterface
addRowListener
in interface StepInterface
addRowListener
in class BaseStep
rowListener
- the rowlistener to addpublic void addRowListenerImpl(RowListener rowListener)
public void addStepListener(StepListener stepListener)
StepInterface
addStepListener
in interface StepInterface
addStepListener
in class BaseStep
stepListener
- The listener to add to the steppublic void addStepListenerImpl(StepListener stepListener)
public boolean checkFeedback(long lines)
public boolean checkFeedbackImpl(long lines)
public void cleanup()
StepInterface
cleanup
in interface StepInterface
cleanup
in class BaseStep
public void cleanupImpl()
public long decrementLinesRead()
BaseStep
decrementLinesRead
in class BaseStep
public long decrementLinesReadImpl()
public long decrementLinesWritten()
BaseStep
decrementLinesWritten
in class BaseStep
public long decrementLinesWrittenImpl()
public void dispose(StepMetaInterface smi, StepDataInterface sdi)
StepInterface
dispose
in interface StepInterface
dispose
in class BaseStep
smi
- The metadata to work withsdi
- The data to dispose ofpublic void disposeImpl(StepMetaInterface smi, StepDataInterface sdi)
public RowSet findInputRowSet(String sourceStep) throws KettleStepException
findInputRowSet
in class BaseStep
KettleStepException
public RowSet findInputRowSet(String from, int fromcopy, String to, int tocopy)
findInputRowSet
in class BaseStep
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
findOutputRowSet
in class BaseStep
KettleStepException
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()
getClusterSize
in class BaseStep
public int getClusterSizeImpl()
public int getCopyImpl()
public RowMetaInterface getErrorRowMeta()
getErrorRowMeta
in class BaseStep
public RowMetaInterface getErrorRowMetaImpl()
public long getErrors()
StepInterface
getErrors
in interface StepInterface
getErrors
in class BaseStep
public long getErrorsImpl()
public RowMetaInterface getInputRowMeta()
getInputRowMeta
in class BaseStep
public RowMetaInterface getInputRowMetaImpl()
public List<RowSet> getInputRowSets()
getInputRowSets
in interface StepInterface
getInputRowSets
in class BaseStep
public List<RowSet> getInputRowSetsImpl()
public long getLinesInput()
getLinesInput
in interface StepInterface
getLinesInput
in class BaseStep
public long getLinesInputImpl()
public long getLinesOutput()
getLinesOutput
in interface StepInterface
getLinesOutput
in class BaseStep
public long getLinesOutputImpl()
public long getLinesRead()
getLinesRead
in interface StepInterface
getLinesRead
in class BaseStep
public long getLinesReadImpl()
public long getLinesRejected()
getLinesRejected
in interface StepInterface
getLinesRejected
in class BaseStep
public long getLinesRejectedImpl()
public long getLinesSkipped()
getLinesSkipped
in class BaseStep
public long getLinesSkippedImpl()
public long getLinesUpdated()
getLinesUpdated
in interface StepInterface
getLinesUpdated
in class BaseStep
public long getLinesUpdatedImpl()
public long getLinesWritten()
getLinesWritten
in interface StepInterface
getLinesWritten
in class BaseStep
public long getLinesWrittenImpl()
public List<RowSet> getOutputRowSets()
getOutputRowSets
in interface StepInterface
getOutputRowSets
in class BaseStep
public List<RowSet> getOutputRowSetsImpl()
public String getPartitionID()
getPartitionID
in interface StepInterface
getPartitionID
in class BaseStep
public String getPartitionIDImpl()
public Map<String,BlockingRowSet> getPartitionTargets()
getPartitionTargets
in class BaseStep
public Map<String,BlockingRowSet> getPartitionTargetsImpl()
public long getProcessed()
getProcessed
in interface StepInterface
getProcessed
in class BaseStep
public long getProcessedImpl()
public int getRepartitioning()
getRepartitioning
in class BaseStep
public int getRepartitioningImpl()
public Map<String,ResultFile> getResultFiles()
getResultFiles
in interface StepInterface
getResultFiles
in class BaseStep
public Map<String,ResultFile> getResultFilesImpl()
public Object[] getRow() throws KettleException
BaseStep
getRow
in interface StepInterface
getRow
in class BaseStep
KettleException
public Object[] getRowFrom(RowSet rowSet) throws KettleStepException
getRowFrom
in class BaseStep
KettleStepException
public Object[] getRowFromImpl(RowSet rowSet) throws KettleStepException
KettleStepException
public Object[] getRowImpl() throws KettleException
KettleException
public List<RowListener> getRowListeners()
getRowListeners
in interface StepInterface
getRowListeners
in class BaseStep
public List<RowListener> getRowListenersImpl()
public long getRuntime()
getRuntime
in interface StepInterface
getRuntime
in class BaseStep
public long getRuntimeImpl()
public int getSlaveNr()
getSlaveNr
in class BaseStep
public int getSlaveNrImpl()
public SocketRepository getSocketRepository()
getSocketRepository
in class BaseStep
public SocketRepository getSocketRepositoryImpl()
public BaseStepData.StepExecutionStatus getStatus()
getStatus
in interface StepInterface
getStatus
in class BaseStep
StepDataInterface
public String getStatusDescription()
getStatusDescription
in class BaseStep
public String getStatusDescriptionImpl()
public BaseStepData.StepExecutionStatus getStatusImpl()
public StepDataInterface getStepDataInterface()
getStepDataInterface
in class BaseStep
public StepDataInterface getStepDataInterfaceImpl()
public String getStepID()
getStepID
in interface StepInterface
getStepID
in class BaseStep
public String getStepIDImpl()
public List<StepListener> getStepListeners()
getStepListeners
in class BaseStep
public List<StepListener> getStepListenersImpl()
public StepMeta getStepMeta()
getStepMeta
in interface StepInterface
getStepMeta
in class BaseStep
public StepMeta getStepMetaImpl()
public String getStepname()
StepInterface
getStepname
in interface StepInterface
getStepname
in class BaseStep
public String getStepnameImpl()
public Trans getTransImpl()
public TransMeta getTransMeta()
getTransMeta
in class BaseStep
public TransMeta getTransMetaImpl()
public String getTypeId()
BaseStep
getTypeId
in class BaseStep
public String getTypeIdImpl()
public int getUniqueStepCountAcrossSlaves()
getUniqueStepCountAcrossSlaves
in class BaseStep
public int getUniqueStepCountAcrossSlavesImpl()
public int getUniqueStepNrAcrossSlaves()
getUniqueStepNrAcrossSlaves
in class BaseStep
public int getUniqueStepNrAcrossSlavesImpl()
public String getVariable(String variableName)
VariableSpace
getVariable
in interface VariableSpace
getVariable
in class BaseStep
variableName
- The name of the variable
public String getVariable(String variableName, String defaultValue)
VariableSpace
getVariable
in interface VariableSpace
getVariable
in class BaseStep
variableName
- 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 BaseStep
public long incrementLinesInputImpl()
public long incrementLinesOutput()
BaseStep
incrementLinesOutput
in class BaseStep
public long incrementLinesOutputImpl()
public long incrementLinesRead()
BaseStep
incrementLinesRead
in class BaseStep
public long incrementLinesReadImpl()
public long incrementLinesRejected()
BaseStep
incrementLinesRejected
in class BaseStep
public long incrementLinesRejectedImpl()
public long incrementLinesSkipped()
BaseStep
incrementLinesSkipped
in class BaseStep
public long incrementLinesSkippedImpl()
public long incrementLinesUpdated()
BaseStep
incrementLinesUpdated
in class BaseStep
public long incrementLinesUpdatedImpl()
public long incrementLinesWritten()
BaseStep
incrementLinesWritten
in class BaseStep
public long incrementLinesWrittenImpl()
public boolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
StepInterface
init
in interface StepInterface
init
in class BaseStep
stepMetaInterface
- The metadata to work withstepDataInterface
- The data to initializepublic void initBeforeStart() throws KettleStepException
BaseStep
initBeforeStart
in interface StepInterface
initBeforeStart
in class BaseStep
KettleStepException
- In case there is an errorpublic void initBeforeStartImpl() throws KettleStepException
KettleStepException
public boolean initImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
public boolean isDistributed()
isDistributed
in class BaseStep
public boolean isDistributedImpl()
public boolean isInitialising()
isInitialising
in class BaseStep
public boolean isInitialisingImpl()
public boolean isPartitioned()
isPartitioned
in interface StepInterface
isPartitioned
in class BaseStep
public boolean isPartitionedImpl()
public boolean isSafeModeEnabled()
public boolean isSafeModeEnabledImpl()
public boolean isStopped()
isStopped
in interface StepInterface
isStopped
in class BaseStep
public boolean isStoppedImpl()
public boolean isUsingThreadPriorityManagment()
isUsingThreadPriorityManagment
in interface StepInterface
isUsingThreadPriorityManagment
in class BaseStep
public boolean isUsingThreadPriorityManagmentImpl()
public void logBasic(String s)
logBasic
in class BaseStep
public void logBasicImpl(String s)
public void logDebug(String s)
logDebug
in class BaseStep
public void logDebugImpl(String s)
public void logDetailed(String s)
logDetailed
in class BaseStep
public void logDetailedImpl(String s)
public void logError(String s)
logError
in class BaseStep
public void logError(String s, Throwable e)
logError
in class BaseStep
public void logErrorImpl(String s)
public void logErrorImpl(String s, Throwable e)
public void logMinimal(String s)
logMinimal
in class BaseStep
public void logMinimalImpl(String s)
public void logRowlevel(String s)
logRowlevel
in class BaseStep
public void logRowlevelImpl(String s)
public void logSummary()
logSummary
in class BaseStep
public void logSummaryImpl()
public void markStart()
StepInterface
markStart
in interface StepInterface
markStart
in class BaseStep
public void markStartImpl()
public void markStop()
StepInterface
markStop
in interface StepInterface
markStop
in class BaseStep
public 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
KettleStepException
public boolean outputIsDone()
outputIsDone
in class BaseStep
public boolean outputIsDoneImpl()
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException
StepInterface
processRow
in interface StepInterface
processRow
in class BaseStep
smi
- 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
putError
in class BaseStep
KettleStepException
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 StepInterface
putRow
in class BaseStep
row
- 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 BaseStep
rowMeta
- 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 wrongpublic void putRowToImpl(RowMetaInterface rowMeta, Object[] row, RowSet rowSet) throws KettleStepException
KettleStepException
public void removeRowListener(RowListener rowListener)
StepInterface
removeRowListener
in interface StepInterface
removeRowListener
in class BaseStep
rowListener
- the rowlistener to removepublic void removeRowListenerImpl(RowListener rowListener)
public int rowsetInputSize()
rowsetInputSize
in interface StepInterface
rowsetInputSize
in class BaseStep
public int rowsetInputSizeImpl()
public int rowsetOutputSize()
rowsetOutputSize
in interface StepInterface
rowsetOutputSize
in class BaseStep
public int rowsetOutputSizeImpl()
public void safeModeChecking(RowMetaInterface row) throws KettleRowException
KettleRowException
public void safeModeCheckingImpl(RowMetaInterface row) throws KettleRowException
KettleRowException
public void setErrors(long errors)
StepInterface
setErrors
in interface StepInterface
setErrors
in class BaseStep
errors
- the number of errors to setpublic void setErrorsImpl(long errors)
public void setInputRowMeta(RowMetaInterface rowMeta)
setInputRowMeta
in class BaseStep
rowMeta
- the rowMeta to setpublic void setInputRowMetaImpl(RowMetaInterface rowMeta)
public void setInputRowSets(List<RowSet> inputRowSets)
setInputRowSets
in class BaseStep
inputRowSets
- The inputRowSets to set.public void setInputRowSetsImpl(List<RowSet> inputRowSets)
public void setLinesInput(long newLinesInputValue)
setLinesInput
in class BaseStep
newLinesInputValue
- 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 BaseStep
newLinesOutputValue
- 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 BaseStep
newLinesReadValue
- the new number of lines read from previous stepspublic void setLinesReadImpl(long newLinesReadValue)
public void setLinesRejected(long linesRejected)
setLinesRejected
in interface StepInterface
setLinesRejected
in class BaseStep
linesRejected
- lines number of lines rejected to an error handling steppublic void setLinesRejectedImpl(long linesRejected)
public void setLinesSkipped(long newLinesSkippedValue)
setLinesSkipped
in class BaseStep
newLinesSkippedValue
- lines number of lines skippedpublic void setLinesSkippedImpl(long newLinesSkippedValue)
public void setLinesUpdated(long newLinesUpdatedValue)
setLinesUpdated
in class BaseStep
public void setLinesUpdatedImpl(long newLinesUpdatedValue)
public void setLinesWritten(long newLinesWrittenValue)
setLinesWritten
in class BaseStep
newLinesWrittenValue
- the new number of lines written to next stepspublic void setLinesWrittenImpl(long newLinesWrittenValue)
public void setOutputDone()
StepInterface
setOutputDone
in interface StepInterface
setOutputDone
in class BaseStep
public void setOutputDoneImpl()
public void setOutputRowSets(List<RowSet> outputRowSets)
setOutputRowSets
in class BaseStep
outputRowSets
- The outputRowSets to set.public void setOutputRowSetsImpl(List<RowSet> outputRowSets)
public void setStepListeners(List<StepListener> stepListeners)
setStepListeners
in class BaseStep
stepListeners
- the stepListeners to setpublic void setStepListenersImpl(List<StepListener> stepListeners)
public void setVariable(String variableName, String variableValue)
VariableSpace
setVariable
in interface VariableSpace
setVariable
in class BaseStep
variableName
- 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 StepInterface
stopAll
in class BaseStep
public void stopAllImpl()
public void stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws KettleException
BaseStep
stopRunning
in interface StepInterface
stopRunning
in class BaseStep
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.
KettleException
- in case something goes wrongpublic void stopRunningImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws KettleException
KettleException
public String toString()
toString
in class BaseStep
public String toStringImpl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |