Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: TypeMap = any

Hierarchy

  • ReadableInterop<RecordBatch<T>>
    • RecordBatchReader

Index

Accessors

  • get autoDestroy(): boolean
  • get closed(): boolean
  • get dictionaries(): Map<number, Vector<any>>
  • get footer(): null | Footer_
  • get numDictionaries(): number
  • get numRecordBatches(): number

Methods

  • [asyncIterator](): AsyncIterableIterator<RecordBatch<T>>
  • [iterator](): IterableIterator<RecordBatch<T>>
  • cancel(): void | Promise<void>
  • isAsync(): this is AsyncRecordBatchReaders<T>
  • isFile(): this is RecordBatchFileReaders<T>
  • isStream(): this is RecordBatchStreamReaders<T>
  • isSync(): this is RecordBatchReaders<T>
  • next(): IteratorResult<RecordBatch<T>, any> | Promise<IteratorResult<RecordBatch<T>, any>>
  • Returns IteratorResult<RecordBatch<T>, any> | Promise<IteratorResult<RecordBatch<T>, any>>

  • 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<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(writable: WritableStream<RecordBatch<T>>, options?: StreamPipeOptions): Promise<void>
  • Parameters

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

    Returns Promise<void>

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

    • index: number

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

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

    • Optional value: any

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

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

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

    • Optional value: any

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

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

  • toNodeStream(): Readable
  • 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>>

  • 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>>

  • 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>
  • throughNode(options?: DuplexOptions & { autoDestroy: boolean }): Duplex
  • nocollapse

    Parameters

    • Optional options: DuplexOptions & { autoDestroy: boolean }

    Returns Duplex

Generated using TypeDoc