Class CSVRegexRecordReader

    • Field Detail

      • regexs

        protected String[] regexs
      • patterns

        protected Pattern[] patterns
      • delimiter

        protected String delimiter
      • quote

        protected String quote
    • Constructor Detail

      • CSVRegexRecordReader

        public CSVRegexRecordReader​(int skipNumLines,
                                    String delimiter,
                                    String quote,
                                    String[] regexs)
        Skip lines, use delimiter, strip quotes, and parse each column with a regex
        Parameters:
        skipNumLines - the number of lines to skip
        delimiter - the delimiter
        quote - the quote to strip
        regexs - the regexs to parse columns with