Search
Preparing search index...
The search index is not available
Apache Arrow - v6.0.1
Options
All
Public
Public/Protected
All
Inherited
Menu
Apache Arrow - v6.0.1
Arrow.dom
RecordBatchWriter
Class RecordBatchWriter<T>
Type parameters
T
:
{}
=
any
Hierarchy
ReadableInterop
<
Uint8Array
>
RecordBatchWriter
Implements
Writable
<
RecordBatch
<
T
>
>
Index
Constructors
constructor
Accessors
closed
Methods
[
Symbol.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
Record
Batch
Writer<T>
(
options
?:
RecordBatchStreamWriterOptions
)
:
RecordBatchWriter
<
T
>
Type parameters
T
:
{}
=
any
Parameters
Optional
options:
RecordBatchStreamWriterOptions
Returns
RecordBatchWriter
<
T
>
Accessors
closed
get
closed
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Methods
[
Symbol.async
Iterator]
[
Symbol.async
Iterator]
(
)
:
AsyncByteQueue
<
Uint8Array
>
Returns
AsyncByteQueue
<
Uint8Array
>
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>
(
writable
:
R
, options
?:
{
end
?:
boolean
}
)
:
R
Type parameters
R
:
WritableStream
<
R
>
Parameters
writable:
R
Optional
options:
{
end
?:
boolean
}
Optional
end
?:
boolean
Returns
R
pipe
Through
pipe
Through<R>
(
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
, options
?:
PipeOptions
)
:
ReadableStream
<
any
>
Type parameters
R
:
ReadableStream
<
any
,
R
>
Parameters
duplex:
{
readable
:
R
;
writable
:
WritableStream
<
Uint8Array
>
}
readable
:
R
writable
:
WritableStream
<
Uint8Array
>
Optional
options:
PipeOptions
Returns
ReadableStream
<
any
>
pipe
To
pipe
To
(
writable
:
WritableStream
<
Uint8Array
>
, options
?:
PipeOptions
)
:
Promise
<
void
>
Parameters
writable:
WritableStream
<
Uint8Array
>
Optional
options:
PipeOptions
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
to
Node
Stream
(
options
?:
ReadableOptions
)
:
Readable
Parameters
Optional
options:
ReadableOptions
Returns
Readable
to
String
to
String
(
sync
:
true
)
:
string
to
String
(
sync
?:
false
)
:
Promise
<
string
>
Parameters
sync:
true
Returns
string
Parameters
Optional
sync:
false
Returns
Promise
<
string
>
to
Uint8
Array
to
Uint8
Array
(
sync
:
true
)
:
Uint8Array
to
Uint8
Array
(
sync
?:
false
)
:
Promise
<
Uint8Array
>
Parameters
sync:
true
Returns
Uint8Array
Parameters
Optional
sync:
false
Returns
Promise
<
Uint8Array
>
write
write
(
payload
?:
null
|
Table
<
T
>
|
RecordBatch
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
)
:
void
Parameters
Optional
payload:
null
|
Table
<
T
>
|
RecordBatch
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
Returns
void
write
All
write
All
(
input
:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
)
:
RecordBatchWriter
<
T
>
write
All
(
input
:
AsyncIterable
<
RecordBatch
<
T
>
>
)
:
Promise
<
RecordBatchWriter
<
T
>
>
write
All
(
input
:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
)
:
Promise
<
RecordBatchWriter
<
T
>
>
write
All
(
input
:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
)
:
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input:
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
Returns
RecordBatchWriter
<
T
>
Parameters
input:
AsyncIterable
<
RecordBatch
<
T
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input:
PromiseLike
<
AsyncIterable
<
RecordBatch
<
T
>
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
Parameters
input:
PromiseLike
<
Table
<
T
>
|
Iterable
<
RecordBatch
<
T
>
>
>
Returns
Promise
<
RecordBatchWriter
<
T
>
>
Static
throughDOM
throughDOM<T>
(
writableStrategy
?:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
}
, readableStrategy
?:
{
highWaterMark
?:
number
;
size
?:
any
}
)
:
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
}
nocollapse
Type parameters
T
:
{}
Parameters
Optional
writableStrategy:
QueuingStrategy
<
RecordBatch
<
T
>
>
&
{
autoDestroy
:
boolean
}
Optional
readableStrategy:
{
highWaterMark
?:
number
;
size
?:
any
}
Optional
high
Water
Mark
?:
number
Optional
size
?:
any
Returns
{
readable
:
ReadableStream
<
Uint8Array
>
;
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
}
readable
:
ReadableStream
<
Uint8Array
>
writable
:
WritableStream
<
RecordBatch
<
T
>
|
Table
<
T
>
>
Static
through
Node
through
Node
(
options
?:
DuplexOptions
&
{
autoDestroy
:
boolean
}
)
:
Duplex
nocollapse
Parameters
Optional
options:
DuplexOptions
&
{
autoDestroy
:
boolean
}
Returns
Duplex
Modules
Arrow.dom
Arrow.node
Buffer
Type
Type
Builder
Column
Data
Frame
Data
Type
Field
Record
Batch
Record
Batch
Reader
Record
Batch
Writer
constructor
closed
[
Symbol.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
Schema
Table
Vector
Visitor
Generated using
TypeDoc