将同步的任意 JavaScript 值 Iterable 转换为 Arrow Vector 序列遵循所提供的 options 参数中定义的块划分语义。
Iterable
options
此函数返回一个函数,该函数接受一个要转换的值 Iterable。当调用时,此函数返回一个 Vector<T> 的 Iterator。
Vector<T>
生成的 Iterator<Vector<T>> 根据 options 参数中指定的 queueingStrategy 和 highWaterMark 生成 Vector。
Iterator<Vector<T>>
queueingStrategy
highWaterMark
"count"
length
Builder
"bytes"
byteLength
一个属性对象,用于确定要创建的 Builder 和要使用的分块语义。
一个函数,它接受一个要写入的 JavaScript 值 Iterable,并根据 options 参数中定义的分块语义返回一个生成 Vector 的 Iterator。
Iterator
将同步的任意 JavaScript 值遵循所提供的
Iterable转换为 Arrow Vector 序列options参数中定义的块划分语义。此函数返回一个函数,该函数接受一个要转换的值
Iterable。当调用时,此函数返回一个Vector<T>的 Iterator。生成的
Iterator<Vector<T>>根据options参数中指定的queueingStrategy和highWaterMark生成 Vector。queueingStrategy是"count"(或省略),则Iterator<Vector<T>>将在 Builder 的length达到或超过所提供的highWaterMark时刷新底层Builder(并生成新的Vector<T>)。queueingStrategy是"bytes",则Iterator<Vector<T>>将在byteLength达到或超过所提供的highWaterMark时刷新底层Builder(并生成新的Vector<T>)。