Preparing search index...
The search index is not available
Apache Arrow - v19.0.0
Apache Arrow
Arrow.dom
RecordBatchWriter
Class RecordBatchWriter<T>
Type Parameters
T
extends
TypeMap
=
any
Hierarchy
ReadableInterop
<
Uint8Array
>
RecordBatchWriter
Implements
Writable
<
RecordBatch
<
T
>
>
Index
Constructors
constructor
Accessors
closed
Methods
[async
Iterator]
abort
close
finish
pipe
pipe
Through
pipe
To
reset
tee
toDOMStream
to
Node
Stream
to
String
to
Uint8
Array
write
write
All
throughDOM
through
Node
Constructors
constructor
new
RecordBatchWriter
<
T
extends
TypeMap
=
any
>
(
options
?:
RecordBatchStreamWriterOptions
,
)
:
RecordBatchWriter
<
T
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
Optional
options
:
RecordBatchStreamWriterOptions
Returns
RecordBatchWriter
<
T
>
Accessors
closed
get
closed
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Methods
[async
Iterator]
"[asyncIterator]"
()
:
AsyncByteQueue
Returns
AsyncByteQueue
abort
abort
(
reason
?:
any
)
:
void
Parameters
Optional
reason
:
any
Returns
void
close
close
()
:
void
Returns
void
finish
finish
()
:
RecordBatchWriter
<
T
>
Returns
RecordBatchWriter
<
T
>
pipe
pipe
<
R
extends
WritableStream
>
(
writable
:
R
,
options
?:
{
end
?:
boolean
}
)
:
R
Type Parameters
R
extends
WritableStream
Parameters
writable
:
R
Optional
options
:
{
end
?:
boolean
}
Returns
R
pipe
Through
pipeThrough
<
R
extends
ReadableStream
>
(
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
,
options
?:
StreamPipeOptions
,
)
:
ReadableStream
Type Parameters
R
extends
ReadableStream
Parameters
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
Optional
options
:
StreamPipeOptions
Returns
ReadableStream
pipe
To
pipeTo
(
writable
:
WritableStream
<
Uint8Array
>
,
options
?:
StreamPipeOptions
,
)
:
Promise
<
void
>
Parameters
writable
:
WritableStream
<
Uint8Array
>
Optional
options
:
StreamPipeOptions
Returns
Promise
<
void
>
reset
reset
(
sink
?:
WritableSink
<
ArrayBufferViewInput
>
,
schema
?:
null
|
Schema
<
T
>
,
)
:
RecordBatchWriter
<
T
>
Parameters
sink
:
WritableSink
<
ArrayBufferViewInput
>
= ...
schema
:
null
|
Schema
<
T
>
= null
Returns
RecordBatchWriter
<
T
>
tee
tee
()
:
[
ReadableStream
<
Uint8Array
>
,
ReadableStream
<
Uint8Array
>
]
Returns
[
ReadableStream
<
Uint8Array
>
,
ReadableStream
<
Uint8Array
>
]
toDOMStream
toDOMStream
(
options
?:
ReadableDOMStreamOptions
)
:
ReadableStream
<
Uint8Array
>
Parameters
Optional
options
:
ReadableDOMStreamOptions
Returns
ReadableStream
<
Uint8Array
>
to
Node
Stream
toNodeStream
(
options
?:
ReadableOptions
)
:
Readable
Parameters
Optional
options
:
ReadableOptions
Returns
Readable
to
String
toString
(
sync
:
true
)
:
string
Returns a string representation of an object.
Parameters
sync
:
true
Returns
string
toString
(
sync
?:
false
)
:
Promise
<
string
>
Parameters
Optional
sync
:
false
Returns
Promise
<
string
>
to
Uint8
Array
toUint8Array
(
sync
:
true
)
:
Uint8Array
Parameters
sync
:
true
Returns
Uint8Array
toUint8Array
(
sync
?:
false
)
:
Promise
<
Uint8Array
>
Parameters
Optional
sync
:
false
Returns
Promise
<
Uint8Array
>
write
write
(
payload
?:
null
|
RecordBatch
<
T
>
|
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
,
)
:
void
Parameters
Optional
payload
:
null
|
RecordBatch
<
T
>
|
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
Returns
void
write
All
writeAll
(
input
:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
)
:
this
Parameters
input
:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
Returns
this
writeAll
(
input
:
AsyncIterable
<
RecordBatch
<
T
>
>
)
:
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input
:
AsyncIterable
<
RecordBatch
<
T
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
writeAll
(
input
:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
,
)
:
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input
:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
writeAll
(
input
:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
,
)
:
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input
:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
Static
throughDOM
throughDOM
<
T
extends
TypeMap
>
(
writableStrategy
?:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
;
}
,
readableStrategy
?:
{
highWaterMark
?:
number
;
size
?:
any
}
,
)
:
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
;
}
Type Parameters
T
extends
TypeMap
Parameters
Optional
writableStrategy
:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
}
Optional
readableStrategy
:
{
highWaterMark
?:
number
;
size
?:
any
}
Returns
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
;
}
Nocollapse
Static
through
Node
throughNode
(
options
?:
DuplexOptions
&
{
autoDestroy
:
boolean
}
)
:
Duplex
Parameters
Optional
options
:
DuplexOptions
&
{
autoDestroy
:
boolean
}
Returns
Duplex
Nocollapse
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
closed
Methods
[async
Iterator]
abort
close
finish
pipe
pipe
Through
pipe
To
reset
tee
toDOMStream
to
Node
Stream
to
String
to
Uint8
Array
write
write
All
throughDOM
through
Node
Apache Arrow - v19.0.0
Loading...
Returns a string representation of an object.