Skip to main content

PartialWindowLoadQuery

Struct PartialWindowLoadQuery 

Source
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,

Source

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.

Source

pub fn explain(&self) -> Result<ExplainPlan, QueryError>

Build explain metadata for the current partial-window query.

Source

pub fn plan_hash_hex(&self) -> Result<String, QueryError>

Return the stable plan hash for this partial-window query.

Source

pub fn trace(&self) -> Result<QueryTracePlan, QueryError>

Build one trace payload without executing the partial-window query.

Source

pub fn planned(&self) -> Result<PlannedQuery<E>, QueryError>

Build the validated logical plan without compiling execution details.

Source

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,

Source

pub fn execute(&self) -> Result<LoadQueryResult<E>, QueryError>
where E: EntityValue,

Execute this partial-window query using the session’s policy settings.

Source

pub fn execute_rows(&self) -> Result<EntityResponse<E>, QueryError>
where E: EntityValue,

Execute this partial-window query through the scalar rows-only session boundary.

Source

pub fn explain_execution( &self, ) -> Result<ExplainExecutionNodeDescriptor, QueryError>
where E: EntityValue,

Explain scalar load execution shape without executing the partial-window query.

Source

pub fn explain_execution_text(&self) -> Result<String, QueryError>
where E: EntityValue,

Explain scalar load execution shape as deterministic text.

Source

pub fn explain_execution_json(&self) -> Result<String, QueryError>
where E: EntityValue,

Explain scalar load execution shape as canonical JSON.

Source

pub fn explain_execution_verbose(&self) -> Result<String, QueryError>
where E: EntityValue,

Explain scalar load execution shape as verbose text with diagnostics.

Auto Trait Implementations§

§

impl<'a, E> !Freeze for PartialWindowLoadQuery<'a, E>

§

impl<'a, E> !RefUnwindSafe for PartialWindowLoadQuery<'a, E>

§

impl<'a, E> !Send for PartialWindowLoadQuery<'a, E>

§

impl<'a, E> !Sync for PartialWindowLoadQuery<'a, E>

§

impl<'a, E> !UnwindSafe for PartialWindowLoadQuery<'a, E>

§

impl<'a, E> Unpin for PartialWindowLoadQuery<'a, E>
where E: Unpin,

§

impl<'a, E> UnsafeUnpin for PartialWindowLoadQuery<'a, E>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V