Class ValidateCsv.NifiCsvListReader
java.lang.Object
org.supercsv.io.AbstractCsvReader
org.supercsv.io.CsvListReader
org.apache.nifi.processors.standard.ValidateCsv.NifiCsvListReader
- All Implemented Interfaces:
Closeable,AutoCloseable,org.supercsv.io.ICsvListReader,org.supercsv.io.ICsvReader
- Enclosing class:
ValidateCsv
private class ValidateCsv.NifiCsvListReader
extends org.supercsv.io.CsvListReader
This is required to avoid the side effect of Parse* cell processors. If not overriding
this method, parsing will return objects and writing objects could result in a different
output in comparison to the input.
-
Constructor Summary
ConstructorsConstructorDescriptionNifiCsvListReader(Reader reader, org.supercsv.prefs.CsvPreference preferences) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidexecuteCellProcessors(List<Object> destination, List<?> source, org.supercsv.cellprocessor.ift.CellProcessor[] processors, int lineNo, int rowNo, boolean includeAllViolations) executeProcessors(List<Object> processedColumns, org.supercsv.cellprocessor.ift.CellProcessor[] processors, boolean includeAllViolations) read(boolean includeAllViolations, org.supercsv.cellprocessor.ift.CellProcessor... processors) Methods inherited from class org.supercsv.io.CsvListReader
executeProcessors, read, readMethods inherited from class org.supercsv.io.AbstractCsvReader
close, executeProcessors, get, getColumns, getHeader, getLineNumber, getPreferences, getRowNumber, getUntokenizedRow, length, readRowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.supercsv.io.ICsvReader
get, getHeader, getLineNumber, getRowNumber, getUntokenizedRow, length
-
Constructor Details
-
NifiCsvListReader
-
-
Method Details
-
read
public List<Object> read(boolean includeAllViolations, org.supercsv.cellprocessor.ift.CellProcessor... processors) throws IOException - Throws:
IOException
-
executeProcessors
-
executeCellProcessors
-