Class RecordBatchReader<T>

Type Parameters

  • T extends TypeMap = any

Hierarchy

  • ReadableInterop<RecordBatch<T>>
    • RecordBatchReader

Accessors

  • get autoDestroy(): boolean
  • Returns boolean

  • get closed(): boolean
  • Returns boolean

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

  • get footer(): null | Footer_
  • Returns null | Footer_

  • get numDictionaries(): number
  • Returns number

  • get numRecordBatches(): number
  • Returns number

  • get schema(): Schema<T>
  • Returns Schema<T>

Methods

  • Returns AsyncIterableIterator<RecordBatch<T>>

  • Returns IterableIterator<RecordBatch<T>>

  • Returns void | Promise<void>

  • Returns this is AsyncRecordBatchReaders<T>

  • Returns this is RecordBatchFileReaders<T>

  • Returns this is RecordBatchStreamReaders<T>

  • Returns this is RecordBatchReaders<T>

  • Returns Promise<any> | IteratorResult<RecordBatch<T>, any>

  • Type Parameters

    • R extends WritableStream

    Parameters

    • writable: R
    • Optionaloptions: {
          end?: boolean;
      }
      • Optionalend?: boolean

    Returns R

  • Type Parameters

    • R extends ReadableStream<any>

    Parameters

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

    Returns ReadableStream<any>

  • Parameters

    • writable: WritableStream<RecordBatch<T>>
    • Optionaloptions: StreamPipeOptions

    Returns Promise<void>

  • Parameters

    • index: number

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

  • Parameters

    • Optionalschema: null | Schema<T>

    Returns this

  • Parameters

    • Optionalvalue: any

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

  • Returns [ReadableStream<RecordBatch<T>>, ReadableStream<RecordBatch<T>>]

  • Parameters

    • Optionalvalue: any

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

  • Returns ReadableStream<RecordBatch<T>>

  • Returns Readable

  • Type Parameters

    Parameters

    • source: T

    Returns T

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: ArrowJSONLike

    Returns RecordBatchStreamReader<T>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg1

    Returns Promise<RecordBatchStreamReader<T>>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg2

    Returns RecordBatchFileReader<T> | RecordBatchStreamReader<T>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg3

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

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg4

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

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg5

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

  • Type Parameters

    Parameters

    • source: T

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

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: ArrowJSONLike

    Returns IterableIterator<RecordBatchStreamReader<T>>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg1

    Returns AsyncIterableIterator<RecordBatchStreamReader<T>>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg2

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

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg3

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

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg4

    Returns AsyncIterableIterator<AsyncRecordBatchReaders<T>>

  • Type Parameters

    • T extends TypeMap = any

    Parameters

    • source: FromArg5

    Returns AsyncIterableIterator<AsyncRecordBatchReaders<T>>

  • Type Parameters

    • T extends TypeMap

    Parameters

    • OptionalwritableStrategy: ByteLengthQueuingStrategy
    • OptionalreadableStrategy: {
          autoDestroy: boolean;
      }
      • autoDestroy: boolean

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

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

    • Optionaloptions: DuplexOptions & {
          autoDestroy: boolean;
      }

    Returns Duplex