Package one.microstream.util.xcsv
Class XCsvContentBuilderCharArray.TableCollector
java.lang.Object
one.microstream.util.xcsv.XCsvContentBuilderCharArray.TableCollector
- All Implemented Interfaces:
 _charRangeProcedure,XCsvRowCollector
- Enclosing class:
 - XCsvContentBuilderCharArray
 
public final class XCsvContentBuilderCharArray.TableCollector extends Object implements XCsvRowCollector
- 
Constructor Summary
Constructors Constructor Description TableCollector(Consumer<StringTable> tableCollector, StringTable.Creator tableCreator, Substituter<String> stringCache) - 
Method Summary
Modifier and Type Method Description voidaccept(char[] data, int offset, int length)voidbeginTable(String tableName, XGettingSequence<String> columnNames, XGettingList<String> columnTypes)voidcompleteRow()Calls without collected values (e.g.voidcompleteTable()Calls without collected rows (e.g. 
- 
Constructor Details
- 
TableCollector
public TableCollector(Consumer<StringTable> tableCollector, StringTable.Creator tableCreator, Substituter<String> stringCache) 
 - 
 - 
Method Details
- 
beginTable
public void beginTable(String tableName, XGettingSequence<String> columnNames, XGettingList<String> columnTypes)- Specified by:
 beginTablein interfaceXCsvRowCollector
 - 
accept
public final void accept(char[] data, int offset, int length)- Specified by:
 acceptin interface_charRangeProcedure- Specified by:
 acceptin interfaceXCsvRowCollector
 - 
completeRow
public final void completeRow()Description copied from interface:XCsvRowCollectorCalls without collected values (e.g. repeated calls) may not have undesired effects.- Specified by:
 completeRowin interfaceXCsvRowCollector
 - 
completeTable
public final void completeTable()Description copied from interface:XCsvRowCollectorCalls without collected rows (e.g. repeated calls) may not have undesired effects.- Specified by:
 completeTablein interfaceXCsvRowCollector
 
 -