Preparing search index...
The search index is not available
Apache Arrow - v19.0.0
Apache Arrow
Arrow.dom
RecordBatchReader
Class RecordBatchReader<T>
Type Parameters
T
extends
TypeMap
=
any
Hierarchy
ReadableInterop
<
RecordBatch
<
T
>
>
RecordBatchReader
Index
Accessors
auto
Destroy
closed
dictionaries
footer
num
Dictionaries
num
Record
Batches
schema
Methods
[async
Iterator]
[iterator]
cancel
is
Async
is
File
is
Stream
is
Sync
next
open
pipe
pipe
Through
pipe
To
read
Record
Batch
reset
return
tee
throw
toDOMStream
to
Node
Stream
from
read
All
throughDOM
through
Node
Accessors
auto
Destroy
get
autoDestroy
()
:
boolean
Returns
boolean
closed
get
closed
()
:
boolean
Returns
boolean
dictionaries
get
dictionaries
()
:
Map
<
number
,
Vector
>
Returns
Map
<
number
,
Vector
>
footer
get
footer
()
:
null
|
Footer_
Returns
null
|
Footer_
num
Dictionaries
get
numDictionaries
()
:
number
Returns
number
num
Record
Batches
get
numRecordBatches
()
:
number
Returns
number
schema
get
schema
()
:
Schema
<
T
>
Returns
Schema
<
T
>
Methods
[async
Iterator]
"[asyncIterator]"
()
:
AsyncIterableIterator
<
RecordBatch
<
T
>
>
Returns
AsyncIterableIterator
<
RecordBatch
<
T
>
>
[iterator]
"[iterator]"
()
:
IterableIterator
<
RecordBatch
<
T
>
>
Returns
IterableIterator
<
RecordBatch
<
T
>
>
cancel
cancel
()
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
is
Async
isAsync
()
:
this
is
AsyncRecordBatchReaders
<
T
>
Returns
this
is
AsyncRecordBatchReaders
<
T
>
is
File
isFile
()
:
this
is
RecordBatchFileReaders
<
T
>
Returns
this
is
RecordBatchFileReaders
<
T
>
is
Stream
isStream
()
:
this
is
RecordBatchStreamReaders
<
T
>
Returns
this
is
RecordBatchStreamReaders
<
T
>
is
Sync
isSync
()
:
this
is
RecordBatchReaders
<
T
>
Returns
this
is
RecordBatchReaders
<
T
>
next
next
()
:
Promise
<
any
>
|
IteratorResult
<
RecordBatch
<
T
>
,
any
>
Returns
Promise
<
any
>
|
IteratorResult
<
RecordBatch
<
T
>
,
any
>
open
open
(
options
?:
OpenOptions
,
)
:
RecordBatchReader
<
T
>
|
Promise
<
RecordBatchReader
<
T
>
>
Parameters
Optional
options
:
OpenOptions
Returns
RecordBatchReader
<
T
>
|
Promise
<
RecordBatchReader
<
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
<
RecordBatch
<
T
>
>
}
,
options
?:
StreamPipeOptions
,
)
:
ReadableStream
Type Parameters
R
extends
ReadableStream
Parameters
duplex
:
{
readable
:
R
;
writable
:
WritableStream
<
RecordBatch
<
T
>
>
}
Optional
options
:
StreamPipeOptions
Returns
ReadableStream
pipe
To
pipeTo
(
writable
:
WritableStream
<
RecordBatch
<
T
>
>
,
options
?:
StreamPipeOptions
,
)
:
Promise
<
void
>
Parameters
writable
:
WritableStream
<
RecordBatch
<
T
>
>
Optional
options
:
StreamPipeOptions
Returns
Promise
<
void
>
read
Record
Batch
readRecordBatch
(
index
:
number
,
)
:
null
|
RecordBatch
<
T
>
|
Promise
<
null
|
RecordBatch
<
T
>
>
Parameters
index
:
number
Returns
null
|
RecordBatch
<
T
>
|
Promise
<
null
|
RecordBatch
<
T
>
>
reset
reset
(
schema
?:
null
|
Schema
<
T
>
)
:
this
Parameters
Optional
schema
:
null
|
Schema
<
T
>
Returns
this
return
return
(
value
?:
any
,
)
:
IteratorResult
<
any
,
any
>
|
Promise
<
IteratorResult
<
any
,
any
>
>
Parameters
Optional
value
:
any
Returns
IteratorResult
<
any
,
any
>
|
Promise
<
IteratorResult
<
any
,
any
>
>
tee
tee
()
:
[
ReadableStream
<
RecordBatch
<
T
>
>
,
ReadableStream
<
RecordBatch
<
T
>
>
]
Returns
[
ReadableStream
<
RecordBatch
<
T
>
>
,
ReadableStream
<
RecordBatch
<
T
>
>
]
throw
throw
(
value
?:
any
)
:
IteratorResult
<
any
,
any
>
|
Promise
<
IteratorResult
<
any
,
any
>
>
Parameters
Optional
value
:
any
Returns
IteratorResult
<
any
,
any
>
|
Promise
<
IteratorResult
<
any
,
any
>
>
toDOMStream
toDOMStream
()
:
ReadableStream
<
RecordBatch
<
T
>
>
Returns
ReadableStream
<
RecordBatch
<
T
>
>
to
Node
Stream
toNodeStream
()
:
Readable
Returns
Readable
Static
from
from
<
T
extends
RecordBatchReader
>
(
source
:
T
)
:
T
Type Parameters
T
extends
RecordBatchReader
Parameters
source
:
T
Returns
T
from
<
T
extends
TypeMap
=
any
>
(
source
:
ArrowJSONLike
)
:
RecordBatchStreamReader
<
T
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
ArrowJSONLike
Returns
RecordBatchStreamReader
<
T
>
from
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg1
,
)
:
Promise
<
RecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg1
Returns
Promise
<
RecordBatchStreamReader
<
T
>
>
from
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg2
,
)
:
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg2
Returns
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
from
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg3
,
)
:
Promise
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg3
Returns
Promise
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
>
from
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg4
,
)
:
Promise
<
AsyncRecordBatchFileReader
<
T
>
|
AsyncRecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg4
Returns
Promise
<
AsyncRecordBatchFileReader
<
T
>
|
AsyncRecordBatchStreamReader
<
T
>
>
from
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg5
,
)
:
Promise
<
AsyncRecordBatchFileReader
<
T
>
|
AsyncRecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg5
Returns
Promise
<
AsyncRecordBatchFileReader
<
T
>
|
AsyncRecordBatchStreamReader
<
T
>
>
Static
read
All
readAll
<
T
extends
RecordBatchReader
>
(
source
:
T
,
)
:
T
extends
RecordBatchReaders
<
any
>
?
IterableIterator
<
T
<
T
>
>
:
AsyncIterableIterator
<
T
>
Type Parameters
T
extends
RecordBatchReader
Parameters
source
:
T
Returns
T
extends
RecordBatchReaders
<
any
>
?
IterableIterator
<
T
<
T
>
>
:
AsyncIterableIterator
<
T
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
ArrowJSONLike
,
)
:
IterableIterator
<
RecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
ArrowJSONLike
Returns
IterableIterator
<
RecordBatchStreamReader
<
T
>
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg1
,
)
:
AsyncIterableIterator
<
RecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg1
Returns
AsyncIterableIterator
<
RecordBatchStreamReader
<
T
>
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg2
,
)
:
IterableIterator
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg2
Returns
IterableIterator
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg3
,
)
:
AsyncIterableIterator
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
,
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg3
Returns
AsyncIterableIterator
<
RecordBatchFileReader
<
T
>
|
RecordBatchStreamReader
<
T
>
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg4
,
)
:
AsyncIterableIterator
<
AsyncRecordBatchReaders
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg4
Returns
AsyncIterableIterator
<
AsyncRecordBatchReaders
<
T
>
>
readAll
<
T
extends
TypeMap
=
any
>
(
source
:
FromArg5
,
)
:
AsyncIterableIterator
<
AsyncRecordBatchReaders
<
T
>
>
Type Parameters
T
extends
TypeMap
=
any
Parameters
source
:
FromArg5
Returns
AsyncIterableIterator
<
AsyncRecordBatchReaders
<
T
>
>
Static
throughDOM
throughDOM
<
T
extends
TypeMap
>
(
writableStrategy
?:
ByteLengthQueuingStrategy
,
readableStrategy
?:
{
autoDestroy
:
boolean
}
,
)
:
{
readable
:
ReadableStream
<
RecordBatch
<
T
>
>
;
writable
:
WritableStream
<
Uint8Array
>
;
}
Type Parameters
T
extends
TypeMap
Parameters
Optional
writableStrategy
:
ByteLengthQueuingStrategy
Optional
readableStrategy
:
{
autoDestroy
:
boolean
}
Returns
{
readable
:
ReadableStream
<
RecordBatch
<
T
>
>
;
writable
:
WritableStream
<
Uint8Array
>
;
}
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
Accessors
auto
Destroy
closed
dictionaries
footer
num
Dictionaries
num
Record
Batches
schema
Methods
[async
Iterator]
[iterator]
cancel
is
Async
is
File
is
Stream
is
Sync
next
open
pipe
pipe
Through
pipe
To
read
Record
Batch
reset
return
tee
throw
toDOMStream
to
Node
Stream
from
read
All
throughDOM
through
Node
Apache Arrow - v19.0.0
Loading...
Nocollapse