Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: TypeMap = any

Hierarchy

  • ReadableInterop<Uint8Array>
    • RecordBatchWriter

Implements

  • Writable<RecordBatch<T>>

Index

Constructors

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

    • T: TypeMap = any

    Parameters

    • Optional options: RecordBatchStreamWriterOptions

    Returns RecordBatchWriter<T>

Accessors

  • get closed(): Promise<void>

Methods

  • [asyncIterator](): AsyncByteQueue<Uint8Array>
  • abort(reason?: any): void
  • Parameters

    • Optional reason: any

    Returns void

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

    • R: ReadableStream<any, R>

    Parameters

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

    Returns ReadableStream<any>

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

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

    Returns Promise<void>

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

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

    • Optional options: ReadableDOMStreamOptions

    Returns ReadableStream<Uint8Array>

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

    • Optional options: ReadableOptions

    Returns Readable

  • toString(sync: true): string
  • toString(sync?: false): Promise<string>
  • toUint8Array(sync: true): Uint8Array
  • toUint8Array(sync?: false): Promise<Uint8Array>
  • write(payload?: null | RecordBatch<T> | Table<T> | Iterable<RecordBatch<T>>): void
  • Parameters

    • Optional payload: null | RecordBatch<T> | Table<T> | Iterable<RecordBatch<T>>

    Returns void

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

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

    Parameters

    • Optional options: DuplexOptions & { autoDestroy: boolean }

    Returns Duplex

Generated using TypeDoc