Class 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
    • Method Detail

      • beginTable

        public void beginTable​(String tableName,
                               one.microstream.collections.types.XGettingSequence<String> columnNames,
                               one.microstream.collections.types.XGettingList<String> columnTypes)
        Specified by:
        beginTable in interface one.microstream.util.xcsv.XCsvRowCollector
      • accept

        public void accept​(char[] data,
                           int offset,
                           int length)
        Specified by:
        accept in interface one.microstream.functional._charRangeProcedure
        Specified by:
        accept in interface one.microstream.util.xcsv.XCsvRowCollector
      • completeRow

        public final void completeRow()
        Specified by:
        completeRow in interface one.microstream.util.xcsv.XCsvRowCollector
      • completeTable

        public final void completeTable()
        Specified by:
        completeTable in interface one.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:
        provideSegmentsParser in interface one.microstream.util.xcsv.XCsvSegmentsParser.Provider<one.microstream.chars._charArrayRange>
      • parseSegments

        public void parseSegments​(one.microstream.chars._charArrayRange input)
        Specified by:
        parseSegments in interface one.microstream.util.xcsv.XCsvSegmentsParser<one.microstream.chars._charArrayRange>
      • provideRecordParser

        public one.microstream.util.xcsv.XCsvRecordParserCharArray provideRecordParser()
        Specified by:
        provideRecordParser in interface one.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:
        parseRecord in interface one.microstream.util.xcsv.XCsvRecordParserCharArray