Package one.microstream.storage.types
Class StorageDataConverterTypeCsvToBinary.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageDataConverterTypeCsvToBinary.Default
-
- All Implemented Interfaces:
one.microstream.functional._charRangeProcedure,StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>,one.microstream.util.xcsv.XCsvRecordParserCharArray,one.microstream.util.xcsv.XCsvRecordParserCharArray.Provider,one.microstream.util.xcsv.XCsvRowCollector,one.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange>,one.microstream.util.xcsv.XCsvSegmentsParser.Provider<one.microstream.chars._charArrayRange>
- Enclosing interface:
- StorageDataConverterTypeCsvToBinary<S>
public static final class StorageDataConverterTypeCsvToBinary.Default extends Object implements StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>, one.microstream.util.xcsv.XCsvSegmentsParser.Provider<one.microstream.chars._charArrayRange>, one.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange>, one.microstream.util.xcsv.XCsvRecordParserCharArray.Provider, one.microstream.util.xcsv.XCsvRowCollector, one.microstream.util.xcsv.XCsvRecordParserCharArray
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageDataConverterTypeCsvToBinary
StorageDataConverterTypeCsvToBinary.Default, StorageDataConverterTypeCsvToBinary.ValueHandler
-
Nested classes/interfaces inherited from interface one.microstream.util.xcsv.XCsvRecordParserCharArray
one.microstream.util.xcsv.XCsvRecordParserCharArray.Provider, one.microstream.util.xcsv.XCsvRecordParserCharArray.Static
-
Nested classes/interfaces inherited from interface one.microstream.util.xcsv.XCsvSegmentsParser
one.microstream.util.xcsv.XCsvSegmentsParser.Provider<I extends Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(char[] data, int offset, int length)voidbeginTable(String tableName, one.microstream.collections.types.XGettingSequence<String> columnNames, one.microstream.collections.types.XGettingList<String> columnTypes)voidcompleteRow()voidcompleteTable()voidconvertCsv(one.microstream.afs.types.AFile file)intparseRecord(char[] input, int iStart, int iBound, char valueSeparator, char delimiter, char escaper, char lineSeparator, char terminator, one.microstream.util.xcsv.XCsvConfiguration config, one.microstream.chars.VarString literalBuilder, one.microstream.chars.EscapeHandler escapeHandler, one.microstream.functional._charRangeProcedure valueCollector)voidparseSegments(one.microstream.chars._charArrayRange input)one.microstream.util.xcsv.XCsvRecordParserCharArrayprovideRecordParser()one.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange>provideSegmentsParser(one.microstream.util.xcsv.XCsvConfiguration config, one.microstream.util.xcsv.XCsvRowCollector rowAggregator)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.StorageDataConverterTypeCsvToBinary
convertCsv
-
-
-
-
Method Detail
-
convertCsv
public void convertCsv(one.microstream.afs.types.AFile file)
- Specified by:
convertCsvin interfaceStorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>
-
beginTable
public void beginTable(String tableName, one.microstream.collections.types.XGettingSequence<String> columnNames, one.microstream.collections.types.XGettingList<String> columnTypes)
- Specified by:
beginTablein interfaceone.microstream.util.xcsv.XCsvRowCollector
-
accept
public void accept(char[] data, int offset, int length)- Specified by:
acceptin interfaceone.microstream.functional._charRangeProcedure- Specified by:
acceptin interfaceone.microstream.util.xcsv.XCsvRowCollector
-
completeRow
public final void completeRow()
- Specified by:
completeRowin interfaceone.microstream.util.xcsv.XCsvRowCollector
-
completeTable
public final void completeTable()
- Specified by:
completeTablein interfaceone.microstream.util.xcsv.XCsvRowCollector
-
provideSegmentsParser
public one.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange> provideSegmentsParser(one.microstream.util.xcsv.XCsvConfiguration config, one.microstream.util.xcsv.XCsvRowCollector rowAggregator)- Specified by:
provideSegmentsParserin interfaceone.microstream.util.xcsv.XCsvSegmentsParser.Provider<one.microstream.chars._charArrayRange>
-
parseSegments
public void parseSegments(one.microstream.chars._charArrayRange input)
- Specified by:
parseSegmentsin interfaceone.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange>
-
provideRecordParser
public one.microstream.util.xcsv.XCsvRecordParserCharArray provideRecordParser()
- Specified by:
provideRecordParserin interfaceone.microstream.util.xcsv.XCsvRecordParserCharArray.Provider
-
parseRecord
public int parseRecord(char[] input, int iStart, int iBound, char valueSeparator, char delimiter, char escaper, char lineSeparator, char terminator, one.microstream.util.xcsv.XCsvConfiguration config, one.microstream.chars.VarString literalBuilder, one.microstream.chars.EscapeHandler escapeHandler, one.microstream.functional._charRangeProcedure valueCollector)- Specified by:
parseRecordin interfaceone.microstream.util.xcsv.XCsvRecordParserCharArray
-
-