parquet-wasm - v0.9.0
    Preparing search index...

    Class ParquetFile

    Index
    • Returns void

    • Returns void

    • Read from the Parquet file in an async fashion.

      Parameters

      • Optionaloptions: ReaderOptions | null

        Options for reading Parquet data. Optional keys include:

        • batchSize: The number of rows in each batch. If not provided, the upstream parquet default is 1024.
        • rowGroups: Only read data from the provided row group indexes.
        • limit: Provide a limit to the number of rows to be read.
        • offset: Provide an offset to skip over the given number of rows.
        • columns: The column names from the file to read.

      Returns Promise<Table>

    • Returns Schema

    • Create a readable stream of record batches.

      Each item in the stream will be a RecordBatch.

      Parameters

      • Optionaloptions: ReaderOptions | null

        Options for reading Parquet data. Optional keys include:

        • batchSize: The number of rows in each batch. If not provided, the upstream parquet default is 1024.
        • rowGroups: Only read data from the provided row group indexes.
        • limit: Provide a limit to the number of rows to be read.
        • offset: Provide an offset to skip over the given number of rows.
        • columns: The column names from the file to read.
        • concurrency: The number of concurrent requests to make

      Returns Promise<ReadableStream<any>>

    • Construct a ParquetFile from a new Blob or File handle.

      Safety: Do not use this in a multi-threaded environment, (transitively depends on !Send web_sys::Blob)

      Parameters

      • handle: Blob

      Returns Promise<ParquetFile>

    • Construct a ParquetFile from a new URL.

      Parameters

      • url: string

      Returns Promise<ParquetFile>