public class UserDefinedJavaClass extends BaseStep implements StepInterface
| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
UserDefinedJavaClass(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addResultFile(org.pentaho.di.core.ResultFile resultFile)
Adds the result file.
|
void |
addResultFileImpl(org.pentaho.di.core.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) |
org.pentaho.di.core.RowSet |
findInputRowSet(String sourceStep)
Find input row set.
|
org.pentaho.di.core.RowSet |
findInputRowSet(String from,
int fromcopy,
String to,
int tocopy)
Find input row set.
|
org.pentaho.di.core.RowSet |
findInputRowSetImpl(String sourceStep) |
org.pentaho.di.core.RowSet |
findInputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy) |
org.pentaho.di.core.RowSet |
findOutputRowSet(String targetStep)
Find output row set.
|
org.pentaho.di.core.RowSet |
findOutputRowSet(String from,
int fromcopy,
String to,
int tocopy)
Find an output rowset in a running transformation.
|
org.pentaho.di.core.RowSet |
findOutputRowSetImpl(String targetStep) |
org.pentaho.di.core.RowSet |
findOutputRowSetImpl(String from,
int fromcopy,
String to,
int tocopy) |
int |
getClusterSize()
Returns the cluster size.
|
int |
getClusterSizeImpl() |
int |
getCopyImpl() |
org.pentaho.di.core.row.RowMetaInterface |
getErrorRowMeta() |
org.pentaho.di.core.row.RowMetaInterface |
getErrorRowMetaImpl() |
long |
getErrors()
Get the number of errors
|
long |
getErrorsImpl() |
org.pentaho.di.core.row.RowMetaInterface |
getInputRowMeta() |
org.pentaho.di.core.row.RowMetaInterface |
getInputRowMetaImpl() |
List<org.pentaho.di.core.RowSet> |
getInputRowSets() |
List<org.pentaho.di.core.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<org.pentaho.di.core.RowSet> |
getOutputRowSets() |
List<org.pentaho.di.core.RowSet> |
getOutputRowSetsImpl() |
String |
getPartitionID() |
String |
getPartitionIDImpl() |
Map<String,org.pentaho.di.core.BlockingRowSet> |
getPartitionTargets() |
Map<String,org.pentaho.di.core.BlockingRowSet> |
getPartitionTargetsImpl() |
long |
getProcessed() |
long |
getProcessedImpl() |
int |
getRepartitioning() |
int |
getRepartitioningImpl() |
Map<String,org.pentaho.di.core.ResultFile> |
getResultFiles() |
Map<String,org.pentaho.di.core.ResultFile> |
getResultFilesImpl() |
Object[] |
getRow()
In case of getRow, we receive data from previous steps through the input rowset.
|
Object[] |
getRowFrom(org.pentaho.di.core.RowSet rowSet)
Gets the row from.
|
Object[] |
getRowFromImpl(org.pentaho.di.core.RowSet rowSet) |
Object[] |
getRowImpl() |
List<RowListener> |
getRowListeners() |
List<RowListener> |
getRowListenersImpl() |
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(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
Put error.
|
void |
putErrorImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes) |
void |
putRow(org.pentaho.di.core.row.RowMetaInterface row,
Object[] data)
putRow is used to copy a row, to the alternate rowset(s) This should get priority over everything else!
|
void |
putRowImpl(org.pentaho.di.core.row.RowMetaInterface row,
Object[] data) |
void |
putRowTo(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
org.pentaho.di.core.RowSet rowSet)
putRowTo is used to put a row in a certain specific RowSet.
|
void |
putRowToImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
org.pentaho.di.core.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(org.pentaho.di.core.row.RowMetaInterface row)
Safe mode checking.
|
void |
safeModeCheckingImpl(org.pentaho.di.core.row.RowMetaInterface row) |
void |
setErrors(long errors)
Sets the number of errors
|
void |
setErrorsImpl(long errors) |
void |
setInputRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta) |
void |
setInputRowMetaImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta) |
void |
setInputRowSets(List<org.pentaho.di.core.RowSet> inputRowSets) |
void |
setInputRowSetsImpl(List<org.pentaho.di.core.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<org.pentaho.di.core.RowSet> outputRowSets) |
void |
setOutputRowSetsImpl(List<org.pentaho.di.core.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, subStatusesprotected final UserDefinedJavaClassMeta meta
protected final UserDefinedJavaClassData data
public UserDefinedJavaClass(StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta, Trans trans)
public void addResultFile(org.pentaho.di.core.ResultFile resultFile)
BaseStepaddResultFile 在类中 BaseStepresultFile - the result filepublic void addResultFileImpl(org.pentaho.di.core.ResultFile resultFile)
public void addRowListener(RowListener rowListener)
StepInterfaceaddRowListener 在接口中 StepInterfaceaddRowListener 在类中 BaseSteprowListener - the rowlistener to addpublic void addRowListenerImpl(RowListener rowListener)
public void addStepListener(StepListener stepListener)
StepInterfaceaddStepListener 在接口中 StepInterfaceaddStepListener 在类中 BaseStepstepListener - The listener to add to the steppublic void addStepListenerImpl(StepListener stepListener)
public boolean checkFeedback(long lines)
BaseStepcheckFeedback 在类中 BaseSteplines - the linespublic boolean checkFeedbackImpl(long lines)
public void cleanup()
StepInterfacecleanup 在接口中 StepInterfacecleanup 在类中 BaseSteppublic void cleanupImpl()
public long decrementLinesRead()
BaseStepdecrementLinesRead 在类中 BaseSteppublic long decrementLinesReadImpl()
public long decrementLinesWritten()
BaseStepdecrementLinesWritten 在类中 BaseSteppublic long decrementLinesWrittenImpl()
public void dispose(StepMetaInterface smi, StepDataInterface sdi)
StepInterfacedispose 在接口中 StepInterfacedispose 在类中 BaseStepsmi - The metadata to work withsdi - The data to dispose ofpublic void disposeImpl(StepMetaInterface smi, StepDataInterface sdi)
public org.pentaho.di.core.RowSet findInputRowSet(String sourceStep) throws org.pentaho.di.core.exception.KettleStepException
BaseStepfindInputRowSet 在类中 BaseStepsourceStep - the source steporg.pentaho.di.core.exception.KettleStepException - the kettle step exceptionpublic org.pentaho.di.core.RowSet findInputRowSet(String from, int fromcopy, String to, int tocopy)
BaseStepfindInputRowSet 在类中 BaseStepfrom - the fromfromcopy - the fromcopyto - the totocopy - the tocopypublic org.pentaho.di.core.RowSet findInputRowSetImpl(String sourceStep) throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic org.pentaho.di.core.RowSet findInputRowSetImpl(String from, int fromcopy, String to, int tocopy)
public org.pentaho.di.core.RowSet findOutputRowSet(String targetStep) throws org.pentaho.di.core.exception.KettleStepException
BaseStepfindOutputRowSet 在类中 BaseSteptargetStep - the target steporg.pentaho.di.core.exception.KettleStepException - the kettle step exceptionpublic org.pentaho.di.core.RowSet findOutputRowSet(String from, int fromcopy, String to, int tocopy)
BaseStepfindOutputRowSet 在类中 BaseSteppublic org.pentaho.di.core.RowSet findOutputRowSetImpl(String targetStep) throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic org.pentaho.di.core.RowSet findOutputRowSetImpl(String from, int fromcopy, String to, int tocopy)
public int getClusterSize()
BaseStepgetClusterSize 在类中 BaseSteppublic int getClusterSizeImpl()
public int getCopyImpl()
public org.pentaho.di.core.row.RowMetaInterface getErrorRowMeta()
getErrorRowMeta 在类中 BaseSteppublic org.pentaho.di.core.row.RowMetaInterface getErrorRowMetaImpl()
public long getErrors()
StepInterfacegetErrors 在接口中 StepInterfacegetErrors 在类中 BaseSteppublic long getErrorsImpl()
public org.pentaho.di.core.row.RowMetaInterface getInputRowMeta()
getInputRowMeta 在类中 BaseSteppublic org.pentaho.di.core.row.RowMetaInterface getInputRowMetaImpl()
public List<org.pentaho.di.core.RowSet> getInputRowSets()
getInputRowSets 在接口中 StepInterfacegetInputRowSets 在类中 BaseSteppublic List<org.pentaho.di.core.RowSet> getInputRowSetsImpl()
public long getLinesInput()
getLinesInput 在接口中 StepInterfacegetLinesInput 在类中 BaseSteppublic long getLinesInputImpl()
public long getLinesOutput()
getLinesOutput 在接口中 StepInterfacegetLinesOutput 在类中 BaseSteppublic long getLinesOutputImpl()
public long getLinesRead()
getLinesRead 在接口中 StepInterfacegetLinesRead 在类中 BaseSteppublic long getLinesReadImpl()
public long getLinesRejected()
getLinesRejected 在接口中 StepInterfacegetLinesRejected 在类中 BaseSteppublic long getLinesRejectedImpl()
public long getLinesSkipped()
getLinesSkipped 在类中 BaseSteppublic long getLinesSkippedImpl()
public long getLinesUpdated()
getLinesUpdated 在接口中 StepInterfacegetLinesUpdated 在类中 BaseSteppublic long getLinesUpdatedImpl()
public long getLinesWritten()
getLinesWritten 在接口中 StepInterfacegetLinesWritten 在类中 BaseSteppublic long getLinesWrittenImpl()
public List<org.pentaho.di.core.RowSet> getOutputRowSets()
getOutputRowSets 在接口中 StepInterfacegetOutputRowSets 在类中 BaseSteppublic List<org.pentaho.di.core.RowSet> getOutputRowSetsImpl()
public String getPartitionID()
getPartitionID 在接口中 StepInterfacegetPartitionID 在类中 BaseSteppublic String getPartitionIDImpl()
public Map<String,org.pentaho.di.core.BlockingRowSet> getPartitionTargets()
getPartitionTargets 在类中 BaseSteppublic Map<String,org.pentaho.di.core.BlockingRowSet> getPartitionTargetsImpl()
public long getProcessed()
getProcessed 在接口中 StepInterfacegetProcessed 在类中 BaseSteppublic long getProcessedImpl()
public int getRepartitioning()
getRepartitioning 在类中 BaseSteppublic int getRepartitioningImpl()
public Map<String,org.pentaho.di.core.ResultFile> getResultFiles()
getResultFiles 在接口中 StepInterfacegetResultFiles 在类中 BaseSteppublic Object[] getRow() throws org.pentaho.di.core.exception.KettleException
BaseStepgetRow 在接口中 StepInterfacegetRow 在类中 BaseSteporg.pentaho.di.core.exception.KettleExceptionpublic Object[] getRowFrom(org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepException
BaseStepgetRowFrom 在类中 BaseSteprowSet - the row setorg.pentaho.di.core.exception.KettleStepException - the kettle step exceptionpublic Object[] getRowFromImpl(org.pentaho.di.core.RowSet rowSet) throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic Object[] getRowImpl() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic List<RowListener> getRowListeners()
getRowListeners 在接口中 StepInterfacegetRowListeners 在类中 BaseSteppublic List<RowListener> getRowListenersImpl()
public long getRuntime()
getRuntime 在接口中 StepInterfacegetRuntime 在类中 BaseSteppublic long getRuntimeImpl()
public int getSlaveNr()
BaseStepgetSlaveNr 在类中 BaseSteppublic int getSlaveNrImpl()
public SocketRepository getSocketRepository()
BaseStepgetSocketRepository 在类中 BaseSteppublic SocketRepository getSocketRepositoryImpl()
public BaseStepData.StepExecutionStatus getStatus()
getStatus 在接口中 StepInterfacegetStatus 在类中 BaseStepStepDataInterfacepublic String getStatusDescription()
BaseStepgetStatusDescription 在类中 BaseSteppublic String getStatusDescriptionImpl()
public BaseStepData.StepExecutionStatus getStatusImpl()
public StepDataInterface getStepDataInterface()
getStepDataInterface 在类中 BaseSteppublic StepDataInterface getStepDataInterfaceImpl()
public String getStepID()
getStepID 在接口中 StepInterfacegetStepID 在类中 BaseSteppublic String getStepIDImpl()
public List<StepListener> getStepListeners()
BaseStepgetStepListeners 在类中 BaseSteppublic List<StepListener> getStepListenersImpl()
public StepMeta getStepMeta()
getStepMeta 在接口中 StepInterfacegetStepMeta 在类中 BaseSteppublic StepMeta getStepMetaImpl()
public String getStepname()
StepInterfacegetStepname 在接口中 StepInterfacegetStepname 在类中 BaseSteppublic String getStepnameImpl()
public Trans getTransImpl()
public TransMeta getTransMeta()
getTransMeta 在类中 BaseSteppublic TransMeta getTransMetaImpl()
public String getTypeId()
BaseSteppublic String getTypeIdImpl()
public int getUniqueStepCountAcrossSlaves()
BaseStepgetUniqueStepCountAcrossSlaves 在类中 BaseSteppublic int getUniqueStepCountAcrossSlavesImpl()
public int getUniqueStepNrAcrossSlaves()
BaseStepgetUniqueStepNrAcrossSlaves 在类中 BaseSteppublic int getUniqueStepNrAcrossSlavesImpl()
public String getVariable(String variableName)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacegetVariable 在类中 BaseSteppublic String getVariable(String variableName, String defaultValue)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacegetVariable 在类中 BaseSteppublic long incrementLinesInput()
BaseStepincrementLinesInput 在类中 BaseSteppublic long incrementLinesInputImpl()
public long incrementLinesOutput()
BaseStepincrementLinesOutput 在类中 BaseSteppublic long incrementLinesOutputImpl()
public long incrementLinesRead()
BaseStepincrementLinesRead 在类中 BaseSteppublic long incrementLinesReadImpl()
public long incrementLinesRejected()
BaseStepincrementLinesRejected 在类中 BaseSteppublic long incrementLinesRejectedImpl()
public long incrementLinesSkipped()
BaseStepincrementLinesSkipped 在类中 BaseSteppublic long incrementLinesSkippedImpl()
public long incrementLinesUpdated()
BaseStepincrementLinesUpdated 在类中 BaseSteppublic long incrementLinesUpdatedImpl()
public long incrementLinesWritten()
BaseStepincrementLinesWritten 在类中 BaseSteppublic long incrementLinesWrittenImpl()
public boolean init(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
StepInterfaceinit 在接口中 StepInterfaceinit 在类中 BaseStepstepMetaInterface - The metadata to work withstepDataInterface - The data to initializepublic void initBeforeStart()
throws org.pentaho.di.core.exception.KettleStepException
BaseStepMore to the point: here we open remote output step sockets.
initBeforeStart 在接口中 StepInterfaceinitBeforeStart 在类中 BaseSteporg.pentaho.di.core.exception.KettleStepException - In case there is an errorpublic void initBeforeStartImpl()
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic boolean initImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface)
public boolean isDistributed()
isDistributed 在类中 BaseSteppublic boolean isDistributedImpl()
public boolean isInitialising()
BaseStepisInitialising 在类中 BaseSteppublic boolean isInitialisingImpl()
public boolean isPartitioned()
isPartitioned 在接口中 StepInterfaceisPartitioned 在类中 BaseSteppublic boolean isPartitionedImpl()
public boolean isSafeModeEnabled()
public boolean isSafeModeEnabledImpl()
public boolean isStopped()
isStopped 在接口中 StepInterfaceisStopped 在类中 BaseSteppublic boolean isStoppedImpl()
public boolean isUsingThreadPriorityManagment()
BaseStepisUsingThreadPriorityManagment 在接口中 StepInterfaceisUsingThreadPriorityManagment 在类中 BaseSteppublic boolean isUsingThreadPriorityManagmentImpl()
public void logBasicImpl(String s)
public void logDebugImpl(String s)
public void logDetailed(String s)
BaseSteplogDetailed 在类中 BaseSteps - the messagepublic void logDetailedImpl(String s)
public void logErrorImpl(String s)
public void logMinimal(String s)
BaseSteplogMinimal 在类中 BaseSteps - the messagepublic void logMinimalImpl(String s)
public void logRowlevel(String s)
BaseSteplogRowlevel 在类中 BaseSteps - the messagepublic void logRowlevelImpl(String s)
public void logSummary()
BaseSteplogSummary 在类中 BaseSteppublic void logSummaryImpl()
public void markStart()
StepInterfacemarkStart 在接口中 StepInterfacemarkStart 在类中 BaseSteppublic void markStartImpl()
public void markStop()
StepInterfacemarkStop 在接口中 StepInterfacemarkStop 在类中 BaseSteppublic void markStopImpl()
public void openRemoteInputStepSocketsOnce()
throws org.pentaho.di.core.exception.KettleStepException
BaseStepopenRemoteInputStepSocketsOnce 在类中 BaseSteporg.pentaho.di.core.exception.KettleStepExceptionpublic void openRemoteInputStepSocketsOnceImpl()
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic void openRemoteOutputStepSocketsOnce()
throws org.pentaho.di.core.exception.KettleStepException
BaseStepopenRemoteOutputStepSocketsOnce 在类中 BaseSteporg.pentaho.di.core.exception.KettleStepExceptionpublic void openRemoteOutputStepSocketsOnceImpl()
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic boolean outputIsDone()
BaseStepoutputIsDone 在类中 BaseSteppublic boolean outputIsDoneImpl()
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws org.pentaho.di.core.exception.KettleException
StepInterfaceprocessRow 在接口中 StepInterfaceprocessRow 在类中 BaseStepsmi - The steps metadata to work withsdi - The steps temporary working data to work with (database connections, result sets, caches, temporary
variables, etc.)org.pentaho.di.core.exception.KettleExceptionpublic void putError(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
throws org.pentaho.di.core.exception.KettleStepException
BaseSteppublic void putErrorImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
long nrErrors,
String errorDescriptions,
String fieldNames,
String errorCodes)
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic void putRow(org.pentaho.di.core.row.RowMetaInterface row,
Object[] data)
throws org.pentaho.di.core.exception.KettleStepException
BaseStepputRow 在接口中 StepInterfaceputRow 在类中 BaseSteprow - The row to send to the destinations stepsdata - The row to put to the destination rowset(s).org.pentaho.di.core.exception.KettleStepExceptionpublic void putRowImpl(org.pentaho.di.core.row.RowMetaInterface row,
Object[] data)
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic void putRowTo(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
org.pentaho.di.core.RowSet rowSet)
throws org.pentaho.di.core.exception.KettleStepException
BaseSteppublic void putRowToImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row,
org.pentaho.di.core.RowSet rowSet)
throws org.pentaho.di.core.exception.KettleStepException
org.pentaho.di.core.exception.KettleStepExceptionpublic void removeRowListener(RowListener rowListener)
StepInterfaceremoveRowListener 在接口中 StepInterfaceremoveRowListener 在类中 BaseSteprowListener - the rowlistener to removepublic void removeRowListenerImpl(RowListener rowListener)
public int rowsetInputSize()
rowsetInputSize 在接口中 StepInterfacerowsetInputSize 在类中 BaseSteppublic int rowsetInputSizeImpl()
public int rowsetOutputSize()
rowsetOutputSize 在接口中 StepInterfacerowsetOutputSize 在类中 BaseSteppublic int rowsetOutputSizeImpl()
public void safeModeChecking(org.pentaho.di.core.row.RowMetaInterface row)
throws org.pentaho.di.core.exception.KettleRowException
BaseStepsafeModeChecking 在类中 BaseSteprow - the roworg.pentaho.di.core.exception.KettleRowException - the kettle row exceptionpublic void safeModeCheckingImpl(org.pentaho.di.core.row.RowMetaInterface row)
throws org.pentaho.di.core.exception.KettleRowException
org.pentaho.di.core.exception.KettleRowExceptionpublic void setErrors(long errors)
StepInterfacesetErrors 在接口中 StepInterfacesetErrors 在类中 BaseSteperrors - the number of errors to setpublic void setErrorsImpl(long errors)
public void setInputRowMeta(org.pentaho.di.core.row.RowMetaInterface rowMeta)
setInputRowMeta 在类中 BaseSteprowMeta - the rowMeta to setpublic void setInputRowMetaImpl(org.pentaho.di.core.row.RowMetaInterface rowMeta)
public void setInputRowSets(List<org.pentaho.di.core.RowSet> inputRowSets)
setInputRowSets 在类中 BaseStepinputRowSets - The inputRowSets to set.public void setInputRowSetsImpl(List<org.pentaho.di.core.RowSet> inputRowSets)
public void setLinesInput(long newLinesInputValue)
setLinesInput 在类中 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 在类中 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 在类中 BaseStepnewLinesReadValue - the new number of lines read from previous stepspublic void setLinesReadImpl(long newLinesReadValue)
public void setLinesRejected(long linesRejected)
setLinesRejected 在接口中 StepInterfacesetLinesRejected 在类中 BaseSteplinesRejected - lines number of lines rejected to an error handling steppublic void setLinesRejectedImpl(long linesRejected)
public void setLinesSkipped(long newLinesSkippedValue)
setLinesSkipped 在类中 BaseStepnewLinesSkippedValue - lines number of lines skippedpublic void setLinesSkippedImpl(long newLinesSkippedValue)
public void setLinesUpdated(long newLinesUpdatedValue)
setLinesUpdated 在类中 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 在类中 BaseStepnewLinesWrittenValue - the new number of lines written to next stepspublic void setLinesWrittenImpl(long newLinesWrittenValue)
public void setOutputDone()
StepInterfacesetOutputDone 在接口中 StepInterfacesetOutputDone 在类中 BaseSteppublic void setOutputDoneImpl()
public void setOutputRowSets(List<org.pentaho.di.core.RowSet> outputRowSets)
setOutputRowSets 在类中 BaseStepoutputRowSets - The outputRowSets to set.public void setOutputRowSetsImpl(List<org.pentaho.di.core.RowSet> outputRowSets)
public void setStepListeners(List<StepListener> stepListeners)
BaseStepsetStepListeners 在类中 BaseStepstepListeners - the stepListeners to setpublic void setStepListenersImpl(List<StepListener> stepListeners)
public void setVariable(String variableName, String variableValue)
setVariable 在接口中 org.pentaho.di.core.variables.VariableSpacesetVariable 在类中 BaseSteppublic void stopAll()
StepInterfacestopAll 在接口中 StepInterfacestopAll 在类中 BaseSteppublic void stopAllImpl()
public void stopRunning(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws org.pentaho.di.core.exception.KettleException
BaseStepstopRunning 在接口中 StepInterfacestopRunning 在类中 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.org.pentaho.di.core.exception.KettleException - in case something goes wrongpublic void stopRunningImpl(StepMetaInterface stepMetaInterface, StepDataInterface stepDataInterface) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic String toStringImpl()
Copyright © 2024 Hitachi Vantara. All rights reserved.