QueryEnd

interface QueryEnd

Marker for the final frame of a successful query stream. Every successful stream sets QueryEnd on exactly one frame, after which no further frames are sent. That frame always carries the final watermark. For ItemLimit, it also carries the final matching item; for every other reason it carries no item. A ScanLimit terminal watermark may repeat the previous frame's cursor when its authoritative scan frontier was already emitted; this does not repeat an item.

A stream that fails or is cancelled terminates with a gRPC status and does not send QueryEnd.

Properties

Link copied to clipboard

Returns the field-presence view for this QueryEnd instance.

Link copied to clipboard
abstract val reason: QueryEndReason?

Reason this response stopped.

Functions

Link copied to clipboard
Link copied to clipboard
fun QueryEnd.copy(body: <Error class: unknown class>.() -> Unit = {}): QueryEnd

Copies the original message, including unknown fields.