| Modifier and Type | Field and Description |
|---|---|
| private final T | |
| private final CsvExceptionHandler | |
| private final SortedSet | |
| private final long | |
| private final MappingStrategy | |
| private final BlockingQueue | |
| private final BlockingQueue |
| Access | Constructor and Description |
|---|---|
| public | ProcessCsvBean(long
Which record in the output file is being processed lineNumber, MappingStrategy<T> The mapping strategy to be used mappingStrategy, T The bean to be transformed into a line of output bean, BlockingQueue<OrderedObject<String[]>> A queue in which to place the line created resultantLineQueue, BlockingQueue<OrderedObject<CsvException>> A queue in which to place a thrown
exception, if one is thrown thrownExceptionsQueue, SortedSet<Long> A list of outstanding record numbers so gaps
in ordering due to filtered input or exceptions
while converting can be detected. expectedRecords, CsvExceptionHandler The handler for exceptions thrown during record
processing exceptionHandler)The only constructor for creating a line of CSV output out of a bean. |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| bean | back to summary |
|---|---|
| private final T bean | |
| exceptionHandler | back to summary |
|---|---|
| private final CsvExceptionHandler exceptionHandler | |
| expectedRecords | back to summary |
|---|---|
| private final SortedSet<Long> expectedRecords | |
| lineNumber | back to summary |
|---|---|
| private final long lineNumber | |
| mappingStrategy | back to summary |
|---|---|
| private final MappingStrategy<T> mappingStrategy | |
| resultantLineQueue | back to summary |
|---|---|
| private final BlockingQueue<OrderedObject<String[]>> resultantLineQueue | |
| thrownExceptionsQueue | back to summary |
|---|---|
| private final BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue | |
| ProcessCsvBean | back to summary |
|---|---|
| public ProcessCsvBean(long lineNumber, MappingStrategy<T> mappingStrategy, T bean, BlockingQueue<OrderedObject<String[]>> resultantLineQueue, BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, SortedSet<Long> expectedRecords, CsvExceptionHandler exceptionHandler) The only constructor for creating a line of CSV output out of a bean.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |