use of com.univocity.parsers.common.processor.RowListProcessor in project lightning by automatictester.
the class JMeterCSVFileReader method getParser.
protected CsvParser getParser() {
CsvParserSettings parserSettings = new CsvParserSettings();
parserSettings.setLineSeparatorDetectionEnabled(true);
parserSettings.setHeaderExtractionEnabled(true);
parserSettings.selectFields("label", "elapsed", "success", "timeStamp");
RowListProcessor rowProcessor = new RowListProcessor();
parserSettings.setProcessor(new ConcurrentRowProcessor(rowProcessor));
return new CsvParser(parserSettings);
}
use of com.univocity.parsers.common.processor.RowListProcessor in project lightning by automatictester.
the class PerfMonDataReader method getParser.
protected CsvParser getParser() {
CsvParserSettings parserSettings = new CsvParserSettings();
parserSettings.setLineSeparatorDetectionEnabled(true);
parserSettings.setHeaderExtractionEnabled(false);
parserSettings.selectIndexes(TIMESTAMP, VALUE, HOST_AND_METRIC);
RowListProcessor rowProcessor = new RowListProcessor();
parserSettings.setProcessor(new ConcurrentRowProcessor(rowProcessor));
return new CsvParser(parserSettings);
}
Aggregations