An object of properties which determine the Builder
to create and the chunking semantics to use.
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.
Generated using TypeDoc
Transform a synchronous following the chunking semantics defined in
the supplied
Iterable
of arbitrary JavaScript values into a sequence of Arrow Vectoroptions
argument.This function returns a function that accepts an
Iterable
of values to transform. When called, this function returns an Iterator ofVector<T>
.The resulting
Iterator<Vector<T>>
yields Vectors based on thequeueingStrategy
andhighWaterMark
specified in theoptions
argument.queueingStrategy
is"count"
(or omitted), TheIterator<Vector<T>>
will flush the underlyingBuilder
(and yield a newVector<T>
) once the Builder'slength
reaches or exceeds the suppliedhighWaterMark
.queueingStrategy
is"bytes"
, theIterator<Vector<T>>
will flush the underlyingBuilder
(and yield a newVector<T>
) once itsbyteLength
reaches or exceeds the suppliedhighWaterMark
.