An object of properties which determine the Builder to create and the chunking semantics to use.
A function which accepts a JavaScript AsyncIterable of values
to write, and returns an AsyncIterator that yields Vectors
according to the chunking semantics defined in the options
argument.
Generated using TypeDoc
Transform an following the chunking semantics defined in
the supplied
AsyncIterableof arbitrary JavaScript values into a sequence of Arrow Vectoroptionsargument.This function returns a function that accepts an
AsyncIterableof values to transform. When called, this function returns an AsyncIterator ofVector<T>.The resulting
AsyncIterator<Vector<T>>yields Vectors based on thequeueingStrategyandhighWaterMarkspecified in theoptionsargument.queueingStrategyis"count"(or omitted), TheAsyncIterator<Vector<T>>will flush the underlyingBuilder(and yield a newVector<T>) once the Builder'slengthreaches or exceeds the suppliedhighWaterMark.queueingStrategyis"bytes", theAsyncIterator<Vector<T>>will flush the underlyingBuilder(and yield a newVector<T>) once itsbyteLengthreaches or exceeds the suppliedhighWaterMark.