public class Mapping extends BaseStep implements StepInterface
deadLockCounter, extensionDataMap, first, linesInput, linesOutput, linesRead, linesRejected, linesSkipped, linesUpdated, linesWritten, log, metaStore, repository, rowListeners, safeStopped, terminator, terminator_rows, variables| 构造器和说明 |
|---|
Mapping(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int copyNr,
TransMeta transMeta,
Trans trans) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addInputRenames(List<MappingValueRename> renameList,
List<MappingValueRename> addRenameList) |
void |
addRowListener(RowListener rowListener)
For preview of the main data path, make sure we pass the row listener down to the Mapping Output step...
|
void |
dispose(StepMetaInterface smi,
StepDataInterface sdi)
Dispose of this step: close files, empty logs, etc.
|
long |
getLinesInput() |
long |
getLinesOutput() |
long |
getLinesRead() |
long |
getLinesRejected() |
long |
getLinesUpdated() |
long |
getLinesWritten() |
Trans |
getMappingTrans() |
boolean |
init(StepMetaInterface smi,
StepDataInterface sdi)
Initialize and do work where other steps need to wait for...
|
void |
prepareMappingExecution() |
boolean |
processRow(StepMetaInterface smi,
StepDataInterface sdi)
Process a single row.
|
int |
rowsetInputSize() |
int |
rowsetOutputSize() |
void |
stopAll()
Flags all rowsets as stopped/completed/finished.
|
void |
stopRunning(StepMetaInterface stepMetaInterface,
StepDataInterface stepDataInterface)
Perform actions to stop a running step.
|
addResultFile, addRowSetToInputRowSets, addRowSetToOutputRowSets, addStepListener, batchComplete, buildLog, canProcessOneRow, checkFeedback, cleanup, clearInputRowSets, clearOutputRowSets, closeQuietly, copyVariablesFrom, decrementLinesRead, decrementLinesWritten, dispatch, environmentSubstitute, environmentSubstitute, fieldSubstitute, findInputRowSet, findInputRowSet, findOutputRowSet, findOutputRowSet, getBooleanValueOfVariable, getClusterSize, getContainerObjectId, getCopy, getCurrentInputRowSetNr, getCurrentOutputRowSetNr, getDispatcher, getErrorRowMeta, getErrors, getExtensionDataMap, getFilename, getFirstInputRowSet, getInputRowMeta, getInputRowSets, getLinesSkipped, getLogChannel, getLogChannelId, getLogFields, getLogLevel, getMetaStore, getNextClassNr, getObjectCopy, getObjectId, getObjectName, getObjectRevision, getObjectType, getOutputRowSets, getParent, getParentVariableSpace, getPartitionID, getPartitionTargets, getPreviewRowMeta, getProcessed, getRegistrationDate, getRemoteInputSteps, getRemoteOutputSteps, getRepartitioning, getRepository, getRepositoryDirectory, getResultFiles, getRow, getRowFrom, getRowHandler, getRowListeners, getRuntime, getServerSockets, getSlaveNr, getSocketRepository, getStatus, getStatusDescription, getStepDataInterface, getStepID, getStepListeners, getStepMeta, getStepMetaInterface, getStepname, getTrans, getTransMeta, getTypeId, getUniqueStepCountAcrossSlaves, getUniqueStepNrAcrossSlaves, getVariable, getVariable, handleGetRowFrom, handlePutRowTo, identifyErrorOutput, incrementLinesInput, incrementLinesOutput, incrementLinesRead, incrementLinesRejected, incrementLinesSkipped, incrementLinesUpdated, incrementLinesWritten, initBeforeStart, initializeVariablesFrom, injectVariables, isBasic, isDebug, isDetailed, isDistributed, isForcingSeparateLogging, isGatheringMetrics, isInitialising, isMapping, isPartitioned, isPaused, isRowLevel, isRunning, isSafeStopped, isStopped, isUsingThreadPriorityManagment, listVariables, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, logSummary, markStart, markStop, openRemoteInputStepSocketsOnce, openRemoteOutputStepSocketsOnce, outputIsDone, pauseRunning, putError, putRow, putRowTo, removeRowListener, resumeRunning, safeModeChecking, safeModeChecking, setCarteObjectId, setCopy, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setDistributed, setErrorRowMeta, setErrors, setForcingSeparateLogging, setGatheringMetrics, setInputRowMeta, setInputRowSets, setInternalVariables, setLinesInput, setLinesOutput, setLinesRead, setLinesRejected, setLinesSkipped, setLinesUpdated, setLinesWritten, setLogLevel, setMetaStore, setOutputDone, setOutputRowSets, setParentVariableSpace, setPartitioned, setPartitionID, setPartitionTargets, setPaused, setPaused, setPreviewRowMeta, setRepartitioning, setRepository, setRowHandler, setRunning, setSafeStopped, setServerSockets, setSocketRepository, setStepDataInterface, setStepListeners, setStepMeta, setStepMetaInterface, setStepname, setStopped, setTransMeta, setUsingThreadPriorityManagment, setVariable, shareVariablesWith, stopRunning, swapFirstInputRowSetIfExists, toString, verifyInputDeadLock, waitUntilTransformationIsStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRowSetToInputRowSets, addRowSetToOutputRowSets, addStepListener, batchComplete, canProcessOneRow, cleanup, getCopy, getCurrentInputRowSetNr, getCurrentOutputRowSetNr, getErrors, getInputRowSets, getLogChannel, getMetaStore, getOutputRowSets, getPartitionID, getProcessed, getRepository, getResultFiles, getRow, getRowListeners, getRuntime, getStatus, getStepID, getStepMeta, getStepname, getTrans, identifyErrorOutput, initBeforeStart, isMapping, isPartitioned, isPaused, isRunning, isSafeStopped, isStopped, isUsingThreadPriorityManagment, markStart, markStop, pauseRunning, putRow, removeRowListener, resumeRunning, setCurrentInputRowSetNr, setCurrentOutputRowSetNr, setErrors, setLinesRejected, setMetaStore, setOutputDone, setPartitioned, setPartitionID, setRepartitioning, setRepository, setRunning, setSafeStopped, setStopped, setUsingThreadPriorityManagment, subStatusescopyVariablesFrom, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getParentVariableSpace, getVariable, getVariable, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, setVariable, shareVariablesWithpublic Mapping(StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta, Trans trans)
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws org.pentaho.di.core.exception.KettleException
processRow 在接口中 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 prepareMappingExecution()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic static void addInputRenames(List<MappingValueRename> renameList, List<MappingValueRename> addRenameList)
public boolean init(StepMetaInterface smi, StepDataInterface sdi)
StepInterfaceinit 在接口中 StepInterfaceinit 在类中 BaseStepsmi - The metadata to work withsdi - The data to initializepublic void dispose(StepMetaInterface smi, StepDataInterface sdi)
StepInterfacedispose 在接口中 StepInterfacedispose 在类中 BaseStepsmi - The metadata to work withsdi - The data to dispose ofpublic 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 stopAll()
StepInterfacestopAll 在接口中 StepInterfacestopAll 在类中 BaseSteppublic long getLinesInput()
getLinesInput 在接口中 StepInterfacegetLinesInput 在类中 BaseSteppublic long getLinesOutput()
getLinesOutput 在接口中 StepInterfacegetLinesOutput 在类中 BaseSteppublic long getLinesRead()
getLinesRead 在接口中 StepInterfacegetLinesRead 在类中 BaseSteppublic long getLinesRejected()
getLinesRejected 在接口中 StepInterfacegetLinesRejected 在类中 BaseSteppublic long getLinesUpdated()
getLinesUpdated 在接口中 StepInterfacegetLinesUpdated 在类中 BaseSteppublic long getLinesWritten()
getLinesWritten 在接口中 StepInterfacegetLinesWritten 在类中 BaseSteppublic int rowsetInputSize()
rowsetInputSize 在接口中 StepInterfacerowsetInputSize 在类中 BaseSteppublic int rowsetOutputSize()
rowsetOutputSize 在接口中 StepInterfacerowsetOutputSize 在类中 BaseSteppublic Trans getMappingTrans()
public void addRowListener(RowListener rowListener)
addRowListener 在接口中 StepInterfaceaddRowListener 在类中 BaseSteprowListener - the rowlistener to addCopyright © 2024 Hitachi Vantara. All rights reserved.