pub struct PartialWindowLoadQuery<'a, E>where
E: EntityKind,{ /* private fields */ }Expand description
PartialWindowLoadQuery
Session-bound partial row-window wrapper. This wrapper exposes materialization and diagnostics, but not semantic read terminals such as pages, complete collection, existence, or exact aggregates.
Implementations§
Source§impl<'a, E> PartialWindowLoadQuery<'a, E>where
E: EntityKind,
impl<'a, E> PartialWindowLoadQuery<'a, E>where
E: EntityKind,
Sourcepub fn trusted_read_unchecked(self) -> Self
pub fn trusted_read_unchecked(self) -> Self
Mark this partial row-window read as trusted.
Use this only for controller/admin maintenance code or internal test harnesses that have their own authorization and resource bounds.
Sourcepub fn explain(&self) -> Result<ExplainPlan, QueryError>
pub fn explain(&self) -> Result<ExplainPlan, QueryError>
Build explain metadata for the current partial-window query.
Sourcepub fn plan_hash_hex(&self) -> Result<String, QueryError>
pub fn plan_hash_hex(&self) -> Result<String, QueryError>
Return the stable plan hash for this partial-window query.
Sourcepub fn trace(&self) -> Result<QueryTracePlan, QueryError>
pub fn trace(&self) -> Result<QueryTracePlan, QueryError>
Build one trace payload without executing the partial-window query.
Sourcepub fn planned(&self) -> Result<PlannedQuery<E>, QueryError>
pub fn planned(&self) -> Result<PlannedQuery<E>, QueryError>
Build the validated logical plan without compiling execution details.
Sourcepub fn plan(&self) -> Result<CompiledQuery<E>, QueryError>
pub fn plan(&self) -> Result<CompiledQuery<E>, QueryError>
Build the compiled executable plan for this partial-window query.
Source§impl<E> PartialWindowLoadQuery<'_, E>where
E: PersistedRow,
impl<E> PartialWindowLoadQuery<'_, E>where
E: PersistedRow,
Sourcepub fn execute(&self) -> Result<LoadQueryResult<E>, QueryError>where
E: EntityValue,
pub fn execute(&self) -> Result<LoadQueryResult<E>, QueryError>where
E: EntityValue,
Execute this partial-window query using the session’s policy settings.
Sourcepub fn execute_rows(&self) -> Result<EntityResponse<E>, QueryError>where
E: EntityValue,
pub fn execute_rows(&self) -> Result<EntityResponse<E>, QueryError>where
E: EntityValue,
Execute this partial-window query through the scalar rows-only session boundary.
Sourcepub fn explain_execution(
&self,
) -> Result<ExplainExecutionNodeDescriptor, QueryError>where
E: EntityValue,
pub fn explain_execution(
&self,
) -> Result<ExplainExecutionNodeDescriptor, QueryError>where
E: EntityValue,
Explain scalar load execution shape without executing the partial-window query.
Sourcepub fn explain_execution_text(&self) -> Result<String, QueryError>where
E: EntityValue,
pub fn explain_execution_text(&self) -> Result<String, QueryError>where
E: EntityValue,
Explain scalar load execution shape as deterministic text.
Sourcepub fn explain_execution_json(&self) -> Result<String, QueryError>where
E: EntityValue,
pub fn explain_execution_json(&self) -> Result<String, QueryError>where
E: EntityValue,
Explain scalar load execution shape as canonical JSON.
Sourcepub fn explain_execution_verbose(&self) -> Result<String, QueryError>where
E: EntityValue,
pub fn explain_execution_verbose(&self) -> Result<String, QueryError>where
E: EntityValue,
Explain scalar load execution shape as verbose text with diagnostics.