Stream of BLOB data
Caution
|
This description needs further verification and possibly correction.For example, it seems to mix up Buffer and Byte[].We’re also not able to match some fields to the implementation.For example, the repeated "Record length" seems to be absent, or may actually refer to the |
Client
Int32
—p_operation
-
Operation code (
op_batch_blob_stream
) Int32
—p_batch_statement
-
Statement handle
Buffer[]
—p_batch_blob_data
-
BLOB stream
This stream is a sequence of blob records.Each blob records contains:
UInt32
-
Record length
The following three fields are called BLOB header
Int64
-
Batch temporary BLOB ID
UInt32
-
BLOB size
UInt32
-
BLOB parameters buffer size
Buffer
-
BLOB parameters buffer
Buffer
-
BLOB data (length - BLOB size bytes) (what does this mean?)
BLOB headers and records in a stream need not match, i.e. one record may contain many BLOBs and BLOB may stretch from one record to next.
Server
Batch information request
Uses the [wireprotocol-requests-info] message with:
p_operation
|
|
p_info_object
|
Statement handle |
p_info_items
|
Values of |