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, writeToErrorfileDataIsAvailable, getDataProvider, getDataReceiver, getDiscardedCounter, getFileBulkData, getFileData, getFileDataProvider, getFileDataReceiver, getOutputType, isEndOfFile, isFileDataAvailable, isStartOfFile, openInputFile, processEndOfFileData, processRejectFile, processStartOfFileData, rejectFile, setDataProvider, setDiscardedCounter, setFileDataProvider, setFileDataReceiver, setOutputTypepublic Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName)
throws NodeProcessingException
NodeProcessingExceptionpublic Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
boolean isFileLeveTranasction)
throws NodeProcessingException
NodeProcessingExceptionpublic Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
IDCMethodHandler methodHandler)
throws NodeProcessingException
NodeProcessingExceptionpublic Sol42FieldProcessor(java.lang.Class outputDataType,
LoggerIfc inLogger,
java.lang.String scratchDir,
java.lang.String fileName,
IDCMethodHandler methodHandler,
boolean isFileLeveTranasction)
throws NodeProcessingException
NodeProcessingExceptionpublic void processData(DCFieldContainer[] inputData) throws NodeProcessingException
DataReceiverIfcprocessData in interface DataReceiverIfcprocessData in class NPLFieldProcessorNodeProcessingExceptionpublic boolean processFileData(DCFieldContainer[] inputData) throws NodeProcessingException
DCFieldProcessorprocessFileData in interface FileDataReceiverIfcprocessFileData in class NPLFieldProcessortrue, if data is processed successfullyNodeProcessingException