pub struct TopKRefill {
pub rows: Vec<TopKCandidate>,
pub payload: RecordBatch,
pub unseen_bound: Option<u64>,
}Expand description
The next batch of a tablet’s local top-k (adaptive refill, spec section 12.10).
Fields§
§rows: Vec<TopKCandidate>The next local candidates (rows not returned before, best first),
aligned with payload’s rows.
payload: RecordBatchThe candidates’ full row payload (same schema as the stream output).
unseen_bound: Option<u64>Tightened unseen-score bound (None = tablet exhausted).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TopKRefill
impl !UnwindSafe for TopKRefill
impl Freeze for TopKRefill
impl Send for TopKRefill
impl Sync for TopKRefill
impl Unpin for TopKRefill
impl UnsafeUnpin for TopKRefill
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more