public class UserDefinedJavaClass extends BaseStep implements StepInterface
| Modifier and Type | Field and Description |
|---|---|
protected UserDefinedJavaClassData |
data |
static String |
KETTLE_DEFAULT_CLASS_CACHE_SIZE |
protected UserDefinedJavaClassMeta |
meta |
deadLockCounter, extensionDataMap, first, linesInput, linesOutput, linesRead, linesRejected, linesSkipped, linesUpdated, linesWritten, log, metaStore, repository, rowListeners, safeStopped, terminator, terminator_rows, variables| Constructor and Description |
|---|
UserDefinedJavaClass(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans) |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
getVariable(String variableName,
String defaultValue) |
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) |
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() |
addRowSetToInputRowSets, addRowSetToOutputRowSets, batchComplete, buildLog, canProcessOneRow, clearInputRowSets, clearOutputRowSets, closeQuietly, copyVariablesFrom, dispatch, 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, isMapping, isPaused, isRowLevel, isRunning, isSafeStopped, listVariables, logBasic, logDebug, logDetailed, logError, logMinimal, logRowlevel, pauseRunning, resumeRunning, safeModeChecking, setCarteObjectId, setCopy, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setDistributed, setErrorRowMeta, setForcingSeparateLogging, setGatheringMetrics, setInternalVariables, 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, waitUntilTransformationIsStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRowSetToInputRowSets, addRowSetToOutputRowSets, batchComplete, 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, subStatusescopyVariablesFrom, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getParentVariableSpace, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, shareVariablesWithprotected final UserDefinedJavaClassMeta meta
protected final UserDefinedJavaClassData data
public static final String KETTLE_DEFAULT_CLASS_CACHE_SIZE
public UserDefinedJavaClass(StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta, Trans trans)
public void addResultFile(ResultFile resultFile)
BaseStepaddResultFile in class BaseStepresultFile - the result filepublic void addResultFileImpl(ResultFile resultFile)
public void addRowListener(RowListener rowListener)
StepInterfaceaddRowListener in interface StepInterfaceaddRowListener in class BaseSteprowListener - the rowlistener to addpublic void addRowListenerImpl(RowListener rowListener)
public void addStepListener(StepListener stepListener)
StepInterfaceaddStepListener in interface StepInterfaceaddStepListener in class BaseStepstepListener - The listener to add to the steppublic void addStepListenerImpl(StepListener stepListener)
public boolean checkFeedback(long lines)
BaseStepcheckFeedback in class BaseSteplines - the linespublic boolean checkFeedbackImpl(long lines)
public void cleanup()
StepInterfacecleanup in interface StepInterfacecleanup in class BaseSteppublic void cleanupImpl()
public long decrementLinesRead()
BaseStepdecrementLinesRead in class BaseSteppublic long decrementLinesReadImpl()
public long decrementLinesWritten()
BaseStepdecrementLinesWritten in class BaseSteppublic long decrementLinesWrittenImpl()
public void dispose(StepMetaInterface smi, StepDataInterface sdi)
StepInterfacedispose in interface StepInterfacedispose in class BaseStepsmi - The metadata to work withsdi - The data to dispose ofpublic void disposeImpl(StepMetaInterface smi, StepDataInterface sdi)
public RowSet findInputRowSet(String sourceStep) throws KettleStepException
BaseStepfindInputRowSet in class BaseStepsourceStep - the source stepKettleStepException - the kettle step exceptionpublic RowSet findInputRowSet(String from, int fromcopy, String to, int tocopy)
BaseStepfindInputRowSet in class BaseStepfrom - the fromfromcopy - the fromcopyto - the totocopy - the tocopypublic RowSet findInputRowSetImpl(String sourceStep) throws KettleStepException
KettleStepExceptionpublic RowSet findInputRowSetImpl(String from, int fromcopy, String to, int tocopy)
public RowSet findOutputRowSet(String targetStep) throws KettleStepException
BaseStepfindOutputRowSet in class BaseSteptargetStep - the target stepKettleStepException - the kettle step exceptionpublic RowSet findOutputRowSet(String from, int fromcopy, String to, int tocopy)
BaseStepfindOutputRowSet in class BaseSteppublic RowSet findOutputRowSetImpl(String targetStep) throws KettleStepException
KettleStepExceptionpublic RowSet findOutputRowSetImpl(String from, int fromcopy, String to, int tocopy)
public int getClusterSize()
BaseStepgetClusterSize in class BaseSteppublic int getClusterSizeImpl()
public int getCopyImpl()
public RowMetaInterface getErrorRowMeta()
getErrorRowMeta in class BaseSteppublic RowMetaInterface getErrorRowMetaImpl()
public long getErrors()
StepInterfacegetErrors 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 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 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
BaseStepgetRow in interface StepInterfacegetRow in class BaseStepKettleExceptionpublic Object[] getRowFrom(RowSet rowSet) throws KettleStepException
BaseStepgetRowFrom in class BaseSteprowSet - the row setKettleStepException - the kettle step exceptionpublic Object[] getRowFromImpl(RowSet rowSet) throws KettleStepException
KettleStepExceptionpublic 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()
BaseStepgetSlaveNr in class BaseSteppublic int getSlaveNrImpl()
public SocketRepository getSocketRepository()
BaseStepgetSocketRepository in class BaseSteppublic SocketRepository getSocketRepositoryImpl()
public BaseStepData.StepExecutionStatus getStatus()
getStatus in interface StepInterfacegetStatus in class BaseStepStepDataInterfacepublic String getStatusDescription()
BaseStepgetStatusDescription 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()
BaseStepgetStepListeners in class BaseSteppublic List<StepListener> getStepListenersImpl()
public StepMeta getStepMeta()
getStepMeta in interface StepInterfacegetStepMeta in class BaseSteppublic StepMeta getStepMetaImpl()
public String getStepname()
StepInterfacegetStepname in interface StepInterfacegetStepname in class BaseSteppublic String getStepnameImpl()
public Trans getTransImpl()
public TransMeta getTransMeta()
getTransMeta in class BaseSteppublic TransMeta getTransMetaImpl()
public String getTypeId()
BaseSteppublic String getTypeIdImpl()
public int getUniqueStepCountAcrossSlaves()
BaseStepgetUniqueStepCountAcrossSlaves in class BaseSteppublic int getUniqueStepCountAcrossSlavesImpl()
public int getUniqueStepNrAcrossSlaves()
BaseStepgetUniqueStepNrAcrossSlaves in class BaseSteppublic int getUniqueStepNrAcrossSlavesImpl()
public String getVariable(String variableName)
getVariable in interface VariableSpacegetVariable in class BaseSteppublic String getVariable(String variableName, String defaultValue)
getVariable in interface VariableSpacegetVariable in class BaseSteppublic long incrementLinesInput()
BaseStepincrementLinesInput in class BaseSteppublic long incrementLinesInputImpl()
public long incrementLinesOutput()
BaseStepincrementLinesOutput in class BaseSteppublic long incrementLinesOutputImpl()
public long incrementLinesRead()
BaseStepincrementLinesRead in class BaseSteppublic long incrementLinesReadImpl()
public long incrementLinesRejected()
BaseStepincrementLinesRejected in class BaseSteppublic long incrementLinesRejectedImpl()
public long incrementLinesSkipped()
BaseStepincrementLinesSkipped in class BaseSteppublic long incrementLinesSkippedImpl()
public long incrementLinesUpdated()
BaseStepincrementLinesUpdated in class BaseSteppublic long incrementLinesUpdatedImpl()
public long incrementLinesWritten()
BaseStepincrementLinesWritten in class BaseSteppublic long incrementLinesWrittenImpl()
public boolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
StepInterfaceinit in interface StepInterfaceinit in class BaseStepstepMetaInterface - The metadata to work withstepDataInterface - The data to initializepublic void initBeforeStart()
throws KettleStepException
BaseStepMore to the point: here we open remote output step sockets.
initBeforeStart in interface StepInterfaceinitBeforeStart in class BaseStepKettleStepException - In case there is an errorpublic void initBeforeStartImpl()
throws KettleStepException
KettleStepExceptionpublic boolean initImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
public boolean isDistributed()
isDistributed in class BaseSteppublic boolean isDistributedImpl()
public boolean isInitialising()
BaseStepisInitialising 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()
BaseStepisUsingThreadPriorityManagment in interface StepInterfaceisUsingThreadPriorityManagment in class BaseSteppublic boolean isUsingThreadPriorityManagmentImpl()
public void logBasicImpl(String s)
public void logDebugImpl(String s)
public void logDetailed(String s)
BaseSteplogDetailed in class BaseSteps - the messagepublic void logDetailedImpl(String s)
public void logError(String s, Throwable e)
BaseSteppublic void logErrorImpl(String s)
public void logMinimal(String s)
BaseSteplogMinimal in class BaseSteps - the messagepublic void logMinimalImpl(String s)
public void logRowlevel(String s)
BaseSteplogRowlevel in class BaseSteps - the messagepublic void logRowlevelImpl(String s)
public void logSummary()
BaseSteplogSummary in class BaseSteppublic void logSummaryImpl()
public void markStart()
StepInterfacemarkStart in interface StepInterfacemarkStart in class BaseSteppublic void markStartImpl()
public void markStop()
StepInterfacemarkStop in interface StepInterfacemarkStop in class BaseSteppublic void markStopImpl()
public void openRemoteInputStepSocketsOnce()
throws KettleStepException
BaseStepopenRemoteInputStepSocketsOnce in class BaseStepKettleStepExceptionpublic void openRemoteInputStepSocketsOnceImpl()
throws KettleStepException
KettleStepExceptionpublic void openRemoteOutputStepSocketsOnce()
throws KettleStepException
BaseStepopenRemoteOutputStepSocketsOnce in class BaseStepKettleStepExceptionpublic void openRemoteOutputStepSocketsOnceImpl()
throws KettleStepException
KettleStepExceptionpublic boolean outputIsDone()
BaseStepoutputIsDone in class BaseSteppublic boolean outputIsDoneImpl()
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException
StepInterfaceprocessRow 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.)KettleExceptionpublic void putError(RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes) throws KettleStepException
BaseStepputError in class BaseSteprowMeta - the row metarow - the rownrErrors - the nr errorserrorDescriptions - the error descriptionsfieldNames - the field nameserrorCodes - the error codesKettleStepException - the kettle step exceptionpublic void putErrorImpl(RowMetaInterface rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes) throws KettleStepException
KettleStepExceptionpublic void putRow(RowMetaInterface row, Object[] data) throws KettleStepException
BaseStepputRow in interface StepInterfaceputRow in class BaseSteprow - The row to send to the destinations stepsdata - The row to put to the destination rowset(s).KettleStepExceptionpublic void putRowImpl(RowMetaInterface row, Object[] data) throws KettleStepException
KettleStepExceptionpublic void putRowTo(RowMetaInterface rowMeta, Object[] row, RowSet rowSet) throws KettleStepException
BaseStepputRowTo 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 wrongpublic void putRowToImpl(RowMetaInterface rowMeta, Object[] row, RowSet rowSet) throws KettleStepException
KettleStepExceptionpublic void removeRowListener(RowListener rowListener)
StepInterfaceremoveRowListener 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
BaseStepsafeModeChecking in class BaseSteprow - the rowKettleRowException - the kettle row exceptionpublic void safeModeCheckingImpl(RowMetaInterface row) throws KettleRowException
KettleRowExceptionpublic void setErrors(long errors)
StepInterfacesetErrors 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 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 BaseStepnewLinesUpdatedValue - the new number of lines updated in an output target: database, file, socket, etc.public 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()
StepInterfacesetOutputDone in interface StepInterfacesetOutputDone in class BaseSteppublic void setOutputDoneImpl()
public void setOutputRowSets(List<RowSet> outputRowSets)
setOutputRowSets in class BaseStepoutputRowSets - The outputRowSets to set.public void setStepListeners(List<StepListener> stepListeners)
BaseStepsetStepListeners in class BaseStepstepListeners - the stepListeners to setpublic void setStepListenersImpl(List<StepListener> stepListeners)
public void setVariable(String variableName, String variableValue)
setVariable in interface VariableSpacesetVariable in class BaseSteppublic void stopAll()
StepInterfacestopAll in interface StepInterfacestopAll in class BaseSteppublic void stopAllImpl()
public void stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws KettleException
BaseStepstopRunning 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 wrongpublic void stopRunningImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws KettleException
KettleExceptionpublic String toStringImpl()
Copyright © 2020 Hitachi Vantara. All rights reserved.