Expand description
Top-level dispatcher for the ranked
(ORDER BY <aggregate> LIMIT n OFFSET m) request.
Owns the pipeline: validate → resolve the ranking → pick the covering
index → execute → wrap. The drive-abci handler builds a
DocumentRankedRequest and calls
Drive::execute_document_ranked_request; everything past contract
lookup lives here.
Both DocumentRankedRequest and DocumentRankedResponse are the
ABI for this dispatcher — public so drive-abci can name the
input/output types without reaching into the executor surface.
Module is gated feature = "server" via the parent’s
pub mod drive_dispatcher; declaration.
Structs§
- Document
Ranked Request - All inputs required by
Drive::execute_document_ranked_request. Built by the gRPC handler from aGetDocumentsRequestV1after wire-decoding + contract lookup.
Enums§
- Document
Ranked Response - Output shape of
Drive::execute_document_ranked_request.