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.
Transform a synchronous 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 of Vector<T>
.
The resulting Iterator<Vector<T>>
yields Vectors based on the
queueingStrategy
and highWaterMark
specified in the options
argument.
queueingStrategy
is "count"
(or omitted), The Iterator<Vector<T>>
will flush the underlying Builder
(and yield a new Vector<T>
) once the
Builder's length
reaches or exceeds the supplied highWaterMark
.queueingStrategy
is "bytes"
, the Iterator<Vector<T>>
will flush
the underlying Builder
(and yield a new Vector<T>
) once its byteLength
reaches or exceeds the supplied highWaterMark
.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.
Creates a new Table from an object of typed arrays.
Input an object of typed arrays.
A new Table.
Creates a Vector without data copies.
Creates a new Table from an object of typed arrays or JavaScript arrays.
A new Table.
Deserialize the IPC format into a Table. This function is a convenience wrapper for RecordBatchReader. Opposite of tableToIPC.
Serialize a Table to the IPC format. This function is a convenience wrapper for {@link RecordBatchStreamWriter} and {@link RecordBatchFileWriter}. Opposite of tableFromIPC.
The Table to serialize.
Whether to serialize the Table as a file or a stream.
Creates a Vector from a JavaScript array via a Builder. Use makeVector if you only want to create a vector from a typed array.
Creates a Vector from a typed array via makeVector.
Generated using TypeDoc
Transform an following the chunking semantics defined in
the supplied
AsyncIterable
of arbitrary JavaScript values into a sequence of Arrow Vectoroptions
argument.This function returns a function that accepts an
AsyncIterable
of values to transform. When called, this function returns an AsyncIterator ofVector<T>
.The resulting
AsyncIterator<Vector<T>>
yields Vectors based on thequeueingStrategy
andhighWaterMark
specified in theoptions
argument.queueingStrategy
is"count"
(or omitted), TheAsyncIterator<Vector<T>>
will flush the underlyingBuilder
(and yield a newVector<T>
) once the Builder'slength
reaches or exceeds the suppliedhighWaterMark
.queueingStrategy
is"bytes"
, theAsyncIterator<Vector<T>>
will flush the underlyingBuilder
(and yield a newVector<T>
) once itsbyteLength
reaches or exceeds the suppliedhighWaterMark
.