@quack-protocol/sdk - v0.3.0
    Preparing search index...

    Interface SendDataRequestMessage

    One batch of client data for a statement reading scan_data_from_quack_client.

    interface SendDataRequestMessage {
        batchIndex?: number | bigint;
        chunks: QuackDataChunk[];
        clientQueryId?: bigint;
        connectionId?: string;
        streamId: string;
        totalBatches?: number | bigint;
        type: SEND_DATA_REQUEST;
    }

    Hierarchy (View Summary)

    Index

    Properties

    batchIndex?: number | bigint

    1-based batch index. Unset on the terminal message.

    chunks: QuackDataChunk[]

    Chunks carried by this batch. Empty on the terminal message.

    clientQueryId?: bigint

    Client-assigned query/request id.

    connectionId?: string

    Server-assigned connection id for connection-scoped messages.

    streamId: string

    Stream id named in the statement's scan_data_from_quack_client call.

    totalBatches?: number | bigint

    Batch count of the whole stream. Only the terminal message sets it.

    Concrete message type id.