Skip to content

RawBatch

Defined in: src/client/raw.ts:17

One Arrow record batch together with the Arrow custom metadata that rode with it on the wire.

The row-oriented client surface (RpcClient.call, StreamSession.exchange) decodes values for the caller and drops the metadata map. The raw surface does neither: it is the entry point for a caller that already holds encoded Arrow — a relay, a proxy, or a conformance driver exercising this client against a foreign server — and needs the batch and its metadata to cross unchanged in both directions.

batch: RecordBatch;

Defined in: src/client/raw.ts:19

The batch itself, exactly as encoded on the wire.


metadata: Map<string, string>;

Defined in: src/client/raw.ts:21

The batch’s Arrow custom metadata, empty when the peer attached none.