Logo Deedle

CsvLineIndex Type

Shared row index for one CSV file (built once, reused by column sources). By default stores physical line start offsets and seeks on read. Pass [`byteOffset=false`] to cache every line string in RAM.

Constructors

Constructor Description

CsvLineIndex(path, ?hasHeaders, ?byteOffset)

Full Usage: CsvLineIndex(path, ?hasHeaders, ?byteOffset)

Parameters:
    path : string
    ?hasHeaders : bool
    ?byteOffset : bool

Returns: CsvLineIndex
path : string
?hasHeaders : bool
?byteOffset : bool
Returns: CsvLineIndex

Instance members

Instance member Description

this.HeaderColumns

Full Usage: this.HeaderColumns

Returns: string[]
Returns: string[]

this.IsByteOffset

Full Usage: this.IsByteOffset

Returns: bool
Returns: bool

this.Length

Full Usage: this.Length

Returns: int64
Returns: int64

this.Path

Full Usage: this.Path

Returns: string
Returns: string

this.ReadFields

Full Usage: this.ReadFields

Parameters:
    row : int64

Returns: string[]
row : int64
Returns: string[]

this.ResetSplitCount

Full Usage: this.ResetSplitCount

Reset [`SplitCount`] (for tests and diagnostics).

this.SplitCount

Full Usage: this.SplitCount

Returns: int

Number of CSV rows split since construction or last [`ResetSplitCount`].

Returns: int

Type something to start searching.