Apache Arrow - v21.1.0
正在准备搜索索引...
Arrow.dom
RecordBatchWriter
RecordBatchWriter<T> 类
类型参数
T
extends
TypeMap
=
any
继承
ReadableInterop
<
Uint8Array
>
RecordBatchWriter
索引
构造函数
构造函数
访问器
已关闭
方法
[async
Iterator]
abort
close
finish
pipe
pipe
Through
pipe
To
reset
tee
to
DOM
Stream
to
Node
Stream
to
String
to
Uint8
Array
write
write
All
through
DOM
through
Node
构造函数
constructor
new
RecordBatchWriter
<
T
extends
TypeMap
=
any
>
(
options
?:
RecordBatchStreamWriterOptions
,
)
:
RecordBatchWriter
<
T
>
类型参数
T
extends
TypeMap
=
any
参数
可选
options
:
RecordBatchStreamWriterOptions
返回
RecordBatchWriter
<
T
>
访问器
已关闭
get
closed
()
:
Promise
<
void
>
返回
Promise
<
void
>
方法
[async
Iterator]
"[asyncIterator]"
()
:
AsyncByteQueue
<
Uint8Array
>
返回
AsyncByteQueue
<
Uint8Array
>
abort
abort
(
reason
?:
any
)
:
void
参数
可选
reason
:
any
返回
void
close
close
()
:
void
返回
void
finish
finish
()
:
RecordBatchWriter
<
T
>
返回
RecordBatchWriter
<
T
>
pipe
pipe
<
R
extends
WritableStream
>
(
writable
:
R
,
options
?:
{
end
?:
boolean
}
)
:
R
类型参数
R
extends
WritableStream
参数
writable
:
R
可选
options
:
{
end
?:
boolean
}
返回
R
pipe
Through
pipeThrough
<
R
extends
ReadableStream
<
any
>
>
(
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
,
options
?:
StreamPipeOptions
,
)
:
ReadableStream
<
any
>
类型参数
R
extends
ReadableStream
<
any
>
参数
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
可选
options
:
StreamPipeOptions
返回
ReadableStream
<
any
>
pipe
To
pipeTo
(
writable
:
WritableStream
<
Uint8Array
>
,
options
?:
StreamPipeOptions
,
)
:
Promise
<
void
>
参数
writable
:
WritableStream
<
Uint8Array
>
可选
options
:
StreamPipeOptions
返回
Promise
<
void
>
reset
reset
(
sink
?:
WritableSink
<
ArrayBufferViewInput
>
,
schema
?:
null
|
Schema
<
T
>
,
)
:
RecordBatchWriter
<
T
>
参数
sink
:
WritableSink
<
ArrayBufferViewInput
>
= ...
schema
:
null
|
Schema
<
T
>
= null
返回
RecordBatchWriter
<
T
>
tee
tee
()
:
[
ReadableStream
<
Uint8Array
>
,
ReadableStream
<
Uint8Array
>
]
返回
[
ReadableStream
<
Uint8Array
>
,
ReadableStream
<
Uint8Array
>
]
to
DOM
Stream
toDOMStream
(
options
?:
ReadableDOMStreamOptions
)
:
ReadableStream
<
Uint8Array
>
参数
可选
options
:
ReadableDOMStreamOptions
返回
ReadableStream
<
Uint8Array
>
to
Node
Stream
toNodeStream
(
options
?:
ReadableOptions
<
Readable
>
)
:
Readable
参数
可选
options
:
ReadableOptions
<
Readable
>
返回
Readable
to
String
toString
(
sync
:
true
)
:
string
返回对象的字符串表示形式。
参数
sync
:
true
返回
string
toString
(
sync
?:
false
)
:
Promise
<
string
>
参数
可选
sync
:
false
返回
Promise
<
string
>
to
Uint8
Array
toUint8Array
(
sync
:
true
)
:
Uint8Array
参数
sync
:
true
返回
Uint8Array
toUint8Array
(
sync
?:
false
)
:
Promise
<
Uint8Array
>
参数
可选
sync
:
false
返回
Promise
<
Uint8Array
>
write
write
(
payload
?:
null
|
RecordBatch
<
T
>
|
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
,
)
:
void
参数
可选
payload
:
null
|
RecordBatch
<
T
>
|
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
返回
void
write
All
writeAll
(
input
:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
)
:
this
参数
input
:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
返回
this
writeAll
(
input
:
AsyncIterable
<
RecordBatch
<
T
>
>
)
:
Promise
<
RecordBatchWriter
<
T
>
>
参数
input
:
AsyncIterable
<
RecordBatch
<
T
>
>
返回
Promise
<
RecordBatchWriter
<
T
>
>
writeAll
(
input
:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
,
)
:
Promise
<
RecordBatchWriter
<
T
>
>
参数
input
:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
返回
Promise
<
RecordBatchWriter
<
T
>
>
writeAll
(
input
:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
,
)
:
Promise
<
RecordBatchWriter
<
T
>
>
参数
input
:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
返回
Promise
<
RecordBatchWriter
<
T
>
>
静态
through
DOM
throughDOM
<
T
extends
TypeMap
>
(
writableStrategy
?:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
;
}
,
readableStrategy
?:
{
highWaterMark
?:
number
;
size
?:
any
}
,
)
:
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
;
}
类型参数
T
extends
TypeMap
参数
可选
writableStrategy
:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
}
可选
readableStrategy
:
{
highWaterMark
?:
number
;
size
?:
any
}
返回
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
;
}
Nocollapse
静态
through
Node
throughNode
(
options
?:
DuplexOptions
<
Duplex
>
&
{
autoDestroy
:
boolean
}
)
:
Duplex
参数
可选
options
:
DuplexOptions
<
Duplex
>
&
{
autoDestroy
:
boolean
}
返回
Duplex
Nocollapse
设置
成员可见性
继承
主题
操作系统
浅色
深色
在此页面上
构造函数
构造函数
访问器
已关闭
方法
[async
Iterator]
abort
close
finish
pipe
pipe
Through
pipe
To
reset
tee
to
DOM
Stream
to
Node
Stream
to
String
to
Uint8
Array
write
write
All
through
DOM
through
Node
Apache Arrow - v21.1.0
正在加载...
返回对象的字符串表示形式。