Parameters
- options: IterableBuilderOptions<T, TNull>
Returns ThroughIterable<T, TNull>
A function which accepts a JavaScript Iterable of values to
write, and returns an Iterator that yields Vectors according
to the chunking semantics defined in the options argument.
Transform a synchronous following the chunking semantics defined in
the supplied
Iterableof arbitrary JavaScript values into a sequence of Arrow Vectoroptionsargument.This function returns a function that accepts an
Iterableof values to transform. When called, this function returns an Iterator ofVector<T>.The resulting
Iterator<Vector<T>>yields Vectors based on thequeueingStrategyandhighWaterMarkspecified in theoptionsargument.queueingStrategyis"count"(or omitted), TheIterator<Vector<T>>will flush the underlyingBuilder(and yield a newVector<T>) once the Builder'slengthreaches or exceeds the suppliedhighWaterMark.queueingStrategyis"bytes", theIterator<Vector<T>>will flush the underlyingBuilder(and yield a newVector<T>) once itsbyteLengthreaches or exceeds the suppliedhighWaterMark.