Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: TypeMap = any

Hierarchy

  • ReadableInterop<RecordBatch<T>>
    • RecordBatchReader

Index

Accessors

autoDestroy

  • get autoDestroy(): boolean

closed

  • get closed(): boolean

dictionaries

  • get dictionaries(): Map<number, Vector<any>>

footer

  • get footer(): null | Footer_

numDictionaries

  • get numDictionaries(): number

numRecordBatches

  • get numRecordBatches(): number

schema

Methods

[asyncIterator]

  • [asyncIterator](): AsyncIterableIterator<RecordBatch<T>>

[iterator]

  • [iterator](): IterableIterator<RecordBatch<T>>

cancel

  • cancel(): void | Promise<void>

isAsync

  • isAsync(): this is AsyncRecordBatchReaders<T>

isFile

  • isFile(): this is RecordBatchFileReaders<T>

isStream

  • isStream(): this is RecordBatchStreamReaders<T>

isSync

  • isSync(): this is RecordBatchReaders<T>

next

  • next(): IteratorResult<RecordBatch<T>, any> | Promise<IteratorResult<RecordBatch<T>, any>>
  • Returns IteratorResult<RecordBatch<T>, any> | Promise<IteratorResult<RecordBatch<T>, any>>

open

pipe

  • pipe<R>(writable: R, options?: { end?: boolean }): R
  • Type parameters

    • R: WritableStream<R>

    Parameters

    • writable: R
    • Optional options: { end?: boolean }
      • Optional end?: boolean

    Returns R

pipeThrough

  • pipeThrough<R>(duplex: { readable: R; writable: WritableStream<RecordBatch<T>> }, options?: StreamPipeOptions): ReadableStream<any>
  • Type parameters

    • R: ReadableStream<any, R>

    Parameters

    • duplex: { readable: R; writable: WritableStream<RecordBatch<T>> }
      • readable: R
      • writable: WritableStream<RecordBatch<T>>
    • Optional options: StreamPipeOptions

    Returns ReadableStream<any>

pipeTo

  • pipeTo(writable: WritableStream<RecordBatch<T>>, options?: StreamPipeOptions): Promise<void>
  • Parameters

    • writable: WritableStream<RecordBatch<T>>
    • Optional options: StreamPipeOptions

    Returns Promise<void>

readRecordBatch

  • readRecordBatch(index: number): null | RecordBatch<T> | Promise<null | RecordBatch<T>>
  • Parameters

    • index: number

    Returns null | RecordBatch<T> | Promise<null | RecordBatch<T>>

reset

return

  • return(value?: any): IteratorResult<any, any> | Promise<IteratorResult<any, any>>
  • Parameters

    • Optional value: any

    Returns IteratorResult<any, any> | Promise<IteratorResult<any, any>>

tee

  • tee(): [ReadableStream<RecordBatch<T>>, ReadableStream<RecordBatch<T>>]
  • Returns [ReadableStream<RecordBatch<T>>, ReadableStream<RecordBatch<T>>]

throw

  • throw(value?: any): IteratorResult<any, any> | Promise<IteratorResult<any, any>>
  • Parameters

    • Optional value: any

    Returns IteratorResult<any, any> | Promise<IteratorResult<any, any>>

toDOMStream

  • toDOMStream(): ReadableStream<RecordBatch<T>>
  • Returns ReadableStream<RecordBatch<T>>

toNodeStream

  • toNodeStream(): Readable

Static from

  • from<T>(source: T): T
  • from<T>(source: ArrowJSONLike): RecordBatchStreamReader<T>
  • from<T>(source: FromArg1): Promise<RecordBatchStreamReader<T>>
  • from<T>(source: FromArg2): RecordBatchFileReader<T> | RecordBatchStreamReader<T>
  • from<T>(source: FromArg3): Promise<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>
  • from<T>(source: FromArg4): Promise<RecordBatchFileReader<T> | AsyncRecordBatchReaders<T>>
  • from<T>(source: FromArg5): Promise<AsyncRecordBatchFileReader<T> | AsyncRecordBatchStreamReader<T>>
  • nocollapse

    Type parameters

    Parameters

    • source: T

    Returns T

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: ArrowJSONLike

    Returns RecordBatchStreamReader<T>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg1

    Returns Promise<RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg2

    Returns RecordBatchFileReader<T> | RecordBatchStreamReader<T>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg3

    Returns Promise<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg4

    Returns Promise<RecordBatchFileReader<T> | AsyncRecordBatchReaders<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg5

    Returns Promise<AsyncRecordBatchFileReader<T> | AsyncRecordBatchStreamReader<T>>

Static readAll

  • readAll<T>(source: T): T extends RecordBatchReaders<any> ? IterableIterator<T> : AsyncIterableIterator<T>
  • readAll<T>(source: ArrowJSONLike): IterableIterator<RecordBatchStreamReader<T>>
  • readAll<T>(source: FromArg1): AsyncIterableIterator<RecordBatchStreamReader<T>>
  • readAll<T>(source: FromArg2): IterableIterator<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>
  • readAll<T>(source: FromArg3): AsyncIterableIterator<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>
  • readAll<T>(source: FromArg4): AsyncIterableIterator<AsyncRecordBatchReaders<T>>
  • readAll<T>(source: FromArg5): AsyncIterableIterator<AsyncRecordBatchReaders<T>>
  • nocollapse

    Type parameters

    Parameters

    • source: T

    Returns T extends RecordBatchReaders<any> ? IterableIterator<T> : AsyncIterableIterator<T>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: ArrowJSONLike

    Returns IterableIterator<RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg1

    Returns AsyncIterableIterator<RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg2

    Returns IterableIterator<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg3

    Returns AsyncIterableIterator<RecordBatchFileReader<T> | RecordBatchStreamReader<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg4

    Returns AsyncIterableIterator<AsyncRecordBatchReaders<T>>

  • nocollapse

    Type parameters

    • T: TypeMap = any

    Parameters

    • source: FromArg5

    Returns AsyncIterableIterator<AsyncRecordBatchReaders<T>>

Static throughDOM

  • throughDOM<T>(writableStrategy?: ByteLengthQueuingStrategy, readableStrategy?: { autoDestroy: boolean }): { readable: ReadableStream<RecordBatch<T>>; writable: WritableStream<Uint8Array> }
  • nocollapse

    Type parameters

    • T: TypeMap

    Parameters

    • Optional writableStrategy: ByteLengthQueuingStrategy
    • Optional readableStrategy: { autoDestroy: boolean }
      • autoDestroy: boolean

    Returns { readable: ReadableStream<RecordBatch<T>>; writable: WritableStream<Uint8Array> }

    • readable: ReadableStream<RecordBatch<T>>
    • writable: WritableStream<Uint8Array>

Static throughNode

  • throughNode(options?: DuplexOptions & { autoDestroy: boolean }): Duplex
  • nocollapse

    Parameters

    • Optional options: DuplexOptions & { autoDestroy: boolean }

    Returns Duplex

Generated using TypeDoc