pub struct QueryResultOperator { /* private fields */ }Expand description
Operator that streams rows from a QueryResult.
This adapter allows existing QueryResult (from table scans, etc.) to be used in the streaming operator pipeline. Unlike MaterializedOperator, this does NOT load all rows upfront - it streams them on demand.
§Benefits
- Memory efficient: Only one row in memory at a time
- Early termination: LIMIT stops reading immediately
- Streaming pipeline: Fits into Volcano execution model
Implementations§
Trait Implementations§
Source§impl Operator for QueryResultOperator
impl Operator for QueryResultOperator
Source§fn schema(&self) -> &[ColumnInfo]
fn schema(&self) -> &[ColumnInfo]
Get the schema (column information) for this operator’s output.
Source§fn estimated_rows(&self) -> Option<usize>
fn estimated_rows(&self) -> Option<usize>
Get an estimate of the number of rows this operator will produce. Read more
Source§fn ordering(&self) -> OrderingProperty
fn ordering(&self) -> OrderingProperty
Physical ordering guaranteed by this operator’s output. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for QueryResultOperator
impl !Sync for QueryResultOperator
impl !UnwindSafe for QueryResultOperator
impl Freeze for QueryResultOperator
impl Send for QueryResultOperator
impl Unpin for QueryResultOperator
impl UnsafeUnpin for QueryResultOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more