pub struct ExecuteRequest {
pub request_id: [u8; 16],
pub query_id: QueryId,
pub session_id: Option<SessionId>,
pub database_id: DatabaseId,
pub principal: AuthenticatedIdentity,
pub command: ExecuteCommand,
pub deadline_unix_micros: Option<u64>,
pub result_limits: ResultLimits,
pub resource_group: Option<String>,
pub idempotency_key: Option<String>,
}Expand description
The canonical request every protocol adapter converts into (S1D-001).
Fields§
§request_id: [u8; 16]Unique identifier of this request, chosen by the caller; never reused, so retries with the same id can be deduplicated.
query_id: QueryIdIdentifier of the query execution this request drives.
session_id: Option<SessionId>Session the request runs on, if sessionful.
database_id: DatabaseIdLogical database the request targets.
principal: AuthenticatedIdentityAuthenticated identity the request acts as.
command: ExecuteCommandThe operation to perform.
deadline_unix_micros: Option<u64>Wall-clock deadline in microseconds since the Unix epoch; see the
module-level documentation for why this is not an Instant.
result_limits: ResultLimitsPer-request result bounds; always effective, never unbounded.
resource_group: Option<String>Optional resource group the request is admitted into (spec section 10.5, workload classes and resource governance).
idempotency_key: Option<String>Optional durable idempotency key: present iff the caller may safely replay the request after an ambiguous outcome (spec section 11.7).
Trait Implementations§
Source§impl Clone for ExecuteRequest
impl Clone for ExecuteRequest
Source§fn clone(&self) -> ExecuteRequest
fn clone(&self) -> ExecuteRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more