pub struct Take { /* private fields */ }Expand description
Implements limit: passes the first limit nodes of its input and
keeps a bound, the last accepted row, to decide on pushes (take.ts).
Counts globally or per value of a partition key.
Implementations§
Trait Implementations§
Source§impl Input for Take
impl Input for Take
fn set_output(&self, output: Weak<dyn Output>)
fn fetch(&self, req: &FetchRequest) -> NodeStream
Source§impl InputBase for Take
impl InputBase for Take
fn get_schema(&self) -> Rc<SourceSchema>
fn destroy(&self)
Source§impl Output for Take
impl Output for Take
fn push(&self, change: Change, _pusher: &dyn InputBase)
Source§fn reconcile(&self, _pusher: &dyn InputBase)
fn reconcile(&self, _pusher: &dyn InputBase)
Phase two. Sinks can ignore it; operators must forward it.
Source§fn has_reconcile(&self) -> bool
fn has_reconcile(&self) -> bool
Whether the output has a phase two: false for a sink whose JS
counterpart has no
reconcile, such as a view, which pushes timed
for the inspector skip (MeasurePushOperator).Auto Trait Implementations§
impl !Freeze for Take
impl !RefUnwindSafe for Take
impl !Send for Take
impl !Sync for Take
impl !UnwindSafe for Take
impl Forget for Take
impl Move for Take
impl Unpin for Take
impl UnsafeUnpin for Take
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