Class CsvLineProcessorBlock

    • Field Detail

      • EMPTY_STR_ARRAY

        public static final String[] EMPTY_STR_ARRAY
        Empty string array.
    • Constructor Detail

      • CsvLineProcessorBlock

        public CsvLineProcessorBlock​(BulkLoadCsvFormat format)
        Creates a CSV line parser.
    • Method Detail

      • accept

        public void accept​(String input,
                           boolean isLastPortion)
                    throws IgniteCheckedException
        Accepts a portion of input. isLastPortion parameter should be set if this is a last portion of the input. The method must not be called after the end of input: the call with isLastPortion == true is the last one.
        Specified by:
        accept in class PipelineBlock<String,​String[]>
        Parameters:
        input - Portion of input.
        isLastPortion - Is this the last portion.
        Throws:
        IgniteCheckedException - On error.