QueryEndReason

sealed class QueryEndReason

Reason the server stopped this query response.

Inheritors

Types

Link copied to clipboard

The scan reached a requested checkpoint range bound. The terminal frame carries no item.

Link copied to clipboard
object Companion
Link copied to clipboard

The scan reached an exclusive cursor bound. The terminal frame carries no item. Its watermark cursor represents that resolved bound without claiming that its containing checkpoint was fully covered.

Link copied to clipboard

The response reached the requested item limit. The final matching item's frame carries QueryEnd and the final watermark. Resume from that frame's Watermark.cursor to continue reading the same effective interval.

Link copied to clipboard

The scan reached the currently indexed ledger tip. The terminal frame carries no item.

Link copied to clipboard

The response reached the server's per-request bucket-fetch budget for filtered scans before reaching the effective interval bound. The terminal frame carries no item. Its watermark cursor is the authoritative scan frontier from which to resume.

Link copied to clipboard
data object UNKNOWN : QueryEndReason

The stop reason was not specified.

Link copied to clipboard
data class UNRECOGNIZED(val number: Int) : QueryEndReason

Properties

Link copied to clipboard
open val number: Int