Class CSVVariableSlidingWindowRecordReader

    • Field Detail

      • LINES_PER_SEQUENCE

        public static final String LINES_PER_SEQUENCE
    • Constructor Detail

      • CSVVariableSlidingWindowRecordReader

        public CSVVariableSlidingWindowRecordReader()
        No-arg constructor with the default number of lines per sequence (10)
      • CSVVariableSlidingWindowRecordReader

        public CSVVariableSlidingWindowRecordReader​(int maxLinesPerSequence)
        Parameters:
        maxLinesPerSequence - Number of lines in each sequence, use default delemiter(,) between entries in the same line
      • CSVVariableSlidingWindowRecordReader

        public CSVVariableSlidingWindowRecordReader​(int maxLinesPerSequence,
                                                    int stride)
        Parameters:
        maxLinesPerSequence - Number of lines in each sequence, use default delemiter(,) between entries in the same line
        stride - Number of lines between records (increment window > 1 line)
      • CSVVariableSlidingWindowRecordReader

        public CSVVariableSlidingWindowRecordReader​(int maxLinesPerSequence,
                                                    int stride,
                                                    String delimiter)
        Parameters:
        maxLinesPerSequence - Number of lines in each sequence, use default delemiter(,) between entries in the same line
        stride - Number of lines between records (increment window > 1 line)
      • CSVVariableSlidingWindowRecordReader

        public CSVVariableSlidingWindowRecordReader​(int maxLinesPerSequence,
                                                    int skipNumLines,
                                                    int stride,
                                                    String delimiter)
        Parameters:
        maxLinesPerSequence - Number of lines in each sequences
        skipNumLines - Number of lines to skip at the start of the file (only skipped once, not per sequence)
        stride - Number of lines between records (increment window > 1 line)
        delimiter - Delimiter between entries in the same line, for example ","