public class Sol42FieldProcessor extends NPLFieldProcessor
currentState, currentTransactionId, fileLevelTransaction, freezeHelper, logger, nplProgram, waitForInputLock
Constructor and Description |
---|
Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName) |
Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
boolean isFileLeveTranasction) |
Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
IDCMethodHandler methodHandler) |
Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
IDCMethodHandler methodHandler,
boolean isFileLeveTranasction) |
Modifier and Type | Method and Description |
---|---|
void |
processData(DCFieldContainer[] inputData)
Manipulates the set of data provided by its DataProvider
|
boolean |
processFileData(DCFieldContainer[] inputData)
This is just a dummy implementation, any field processor needing the file level transaction behavior should override this method
and implement correct behavior.
|
dataIsAvailable, freezeState, getBulkData, getConfigValue, getData, getExposedFields, getInputFields, getIntConfigValue, getLogger, getMethodHandler, getNPLFileName, getNPLProgram, getOutputFields, getPollForData, getSleepTime, handleProcessingException, handleProcessingException, handleProcessingException, handleRejectOfFile, isBulkProcessing, isDataAvailable, isFileLevelTransaction, isRejected, isRunning, isShutdown, isShutdownOnError, processData, processFileData, run, setBulkProcessing, setDataReceiver, setMultiThreadConfig, setNPLFileName, setPollForData, setProcessingData, setRunning, setShutdown, setShutdownOnError, setSleepTime, setTransactionID, shutdown, unfreezeState, writeToError, writeToError
fileDataIsAvailable, getDataProvider, getDataReceiver, getDiscardedCounter, getFileBulkData, getFileData, getFileDataProvider, getFileDataReceiver, getOutputType, isEndOfFile, isFileDataAvailable, isStartOfFile, openInputFile, processEndOfFileData, processRejectFile, processStartOfFileData, rejectFile, setDataProvider, setDiscardedCounter, setFileDataProvider, setFileDataReceiver, setOutputType
public Sol42FieldProcessor(java.lang.Class outputDataType, LoggerIfc inLogger, java.lang.String scratchDir, java.lang.String fileName) throws NodeProcessingException
NodeProcessingException
public Sol42FieldProcessor(java.lang.Class outputDataType, LoggerIfc inLogger, java.lang.String scratchDir, java.lang.String fileName, boolean isFileLeveTranasction) throws NodeProcessingException
NodeProcessingException
public Sol42FieldProcessor(java.lang.Class outputDataType, LoggerIfc inLogger, java.lang.String scratchDir, java.lang.String fileName, IDCMethodHandler methodHandler) throws NodeProcessingException
NodeProcessingException
public Sol42FieldProcessor(java.lang.Class outputDataType, LoggerIfc inLogger, java.lang.String scratchDir, java.lang.String fileName, IDCMethodHandler methodHandler, boolean isFileLeveTranasction) throws NodeProcessingException
NodeProcessingException
public void processData(DCFieldContainer[] inputData) throws NodeProcessingException
DataReceiverIfc
processData
in interface DataReceiverIfc
processData
in class NPLFieldProcessor
NodeProcessingException
public boolean processFileData(DCFieldContainer[] inputData) throws NodeProcessingException
DCFieldProcessor
processFileData
in interface FileDataReceiverIfc
processFileData
in class NPLFieldProcessor
true
, if data is processed successfullyNodeProcessingException