Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: {} = any

Hierarchy

  • ReadableInterop<Uint8Array>
    • RecordBatchWriter

Implements

Index

Constructors

constructor

  • new RecordBatchWriter<T>(options?: RecordBatchStreamWriterOptions): RecordBatchWriter<T>
  • Type parameters

    • T: {} = any

    Parameters

    • Optional options: RecordBatchStreamWriterOptions

    Returns RecordBatchWriter<T>

Accessors

closed

  • get closed(): Promise<void>

Methods

[Symbol.asyncIterator]

  • [Symbol.asyncIterator](): AsyncByteQueue<Uint8Array>

abort

  • abort(reason?: any): void
  • Parameters

    • Optional reason: any

    Returns void

close

  • close(): void

finish

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<Uint8Array> }, options?: PipeOptions): ReadableStream<any>
  • Type parameters

    • R: ReadableStream<any, R>

    Parameters

    • duplex: { readable: R; writable: WritableStream<Uint8Array> }
      • readable: R
      • writable: WritableStream<Uint8Array>
    • Optional options: PipeOptions

    Returns ReadableStream<any>

pipeTo

  • pipeTo(writable: WritableStream<Uint8Array>, options?: PipeOptions): Promise<void>
  • Parameters

    • writable: WritableStream<Uint8Array>
    • Optional options: PipeOptions

    Returns Promise<void>

reset

tee

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

toDOMStream

  • toDOMStream(options?: ReadableDOMStreamOptions): ReadableStream<Uint8Array>
  • Parameters

    • Optional options: ReadableDOMStreamOptions

    Returns ReadableStream<Uint8Array>

toNodeStream

  • toNodeStream(options?: ReadableOptions): Readable
  • Parameters

    • Optional options: ReadableOptions

    Returns Readable

toString

  • toString(sync: true): string
  • toString(sync?: false): Promise<string>

toUint8Array

  • toUint8Array(sync: true): Uint8Array
  • toUint8Array(sync?: false): Promise<Uint8Array>

write

writeAll

Static throughDOM

  • throughDOM<T>(writableStrategy?: QueuingStrategy<RecordBatch<T>> & { autoDestroy: boolean }, readableStrategy?: { highWaterMark?: number; size?: any }): { readable: ReadableStream<Uint8Array>; writable: WritableStream<RecordBatch<T> | Table<T>> }
  • nocollapse

    Type parameters

    • T: {}

    Parameters

    • Optional writableStrategy: QueuingStrategy<RecordBatch<T>> & { autoDestroy: boolean }
    • Optional readableStrategy: { highWaterMark?: number; size?: any }
      • Optional highWaterMark?: number
      • Optional size?: any

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

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

Static throughNode

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

    Parameters

    • Optional options: DuplexOptions & { autoDestroy: boolean }

    Returns Duplex

Generated using TypeDoc