inferWalk

private fnCsvCandidate[] inferWalk(Rows)(Rows rows, size_t line, size_t width, const CsvReadPolicy read, bool tryParseTemporal, size_t rowLimit)

Walks up to rowLimit data rows, joining every cell's candidate into per-column accumulators. Every walked row must hold exactly width fields (the inferred contract): the first mismatch errors with the line and both counts.

Parameters

rowsa byRows range positioned at a data row
linethe 1-based line number of rows.front
widththe schema width (header or first data row)
readthe reading policy
tryParseTemporalwhether temporal candidates are tested
rowLimitthe maximum data rows to walk

Returns

the per-column joined candidates.