Package one.microstream.util.xcsv
Class XCsvEntityCollector<T>
java.lang.Object
one.microstream.util.xcsv.XCsvEntityCollector<T>
- All Implemented Interfaces:
_charRangeProcedure
,XCsvRowCollector
public final class XCsvEntityCollector<T> extends Object implements XCsvRowCollector
-
Constructor Summary
Constructors Constructor Description XCsvEntityCollector(XCsvEntityParser.Abstract<T> parser, XSequence<? super T> rows)
-
Method Summary
Modifier and Type Method Description void
accept(char[] data, int offset, int length)
void
beginTable(String tableName, XGettingSequence<String> columnNames, XGettingList<String> columnTypes)
void
completeRow()
Calls without collected values (e.g.void
completeTable()
Calls without collected rows (e.g.XSequence<? super T>
rows()
-
Constructor Details
-
Method Details
-
beginTable
public final void beginTable(String tableName, XGettingSequence<String> columnNames, XGettingList<String> columnTypes)- Specified by:
beginTable
in interfaceXCsvRowCollector
-
accept
public final void accept(char[] data, int offset, int length)- Specified by:
accept
in interface_charRangeProcedure
- Specified by:
accept
in interfaceXCsvRowCollector
-
completeRow
public void completeRow()Description copied from interface:XCsvRowCollector
Calls without collected values (e.g. repeated calls) may not have undesired effects.- Specified by:
completeRow
in interfaceXCsvRowCollector
-
completeTable
public final void completeTable()Description copied from interface:XCsvRowCollector
Calls without collected rows (e.g. repeated calls) may not have undesired effects.- Specified by:
completeTable
in interfaceXCsvRowCollector
-
rows
-