Skip to main content

ClipOperation

Struct ClipOperation 

Source
pub struct ClipOperation<L, U> { /* private fields */ }

Trait Implementations§

Source§

impl<L: Clone, U: Clone> Clone for ClipOperation<L, U>

Source§

fn clone(&self) -> ClipOperation<L, U>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<V, L, U> ElementKernel<Bare<V>> for ClipOperation<L, U>

Source§

type Emission = <<L as ArgumentSource<Unaligned, V>>::Retention as Retention>::Then<<U as ArgumentSource<Unaligned, V>>::Retention>

Source§

type OutShape = Bare<V>

Source§

fn pipeline<'a>( _graphrecord: &'a GraphRecord, prepared: Self::Prepared<'a>, ) -> QueryResult<ElementPipeline<'a, Bare<V>, Self>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<I, V, L, U> ElementKernel<Indexed<I, V>> for ClipOperation<L, U>
where I: IndexDomain, V: ValueClip, L: ArgumentSource<Keyed<I>, V>, U: ArgumentSource<Keyed<I>, V>,

Source§

type Emission = <<L as ArgumentSource<Keyed<I>, V>>::Retention as Retention>::Then<<U as ArgumentSource<Keyed<I>, V>>::Retention>

Source§

type OutShape = Indexed<I, V>

Source§

fn pipeline<'a>( _graphrecord: &'a GraphRecord, prepared: Self::Prepared<'a>, ) -> QueryResult<ElementPipeline<'a, Indexed<I, V>, Self>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<L, U> Explain for ClipOperation<L, U>
where L: Explain, U: Explain,

Source§

fn describe<'__explain>( &'__explain self, formatter: &mut ExplainFormatter<'__explain, '_>, ) -> Result

Source§

impl<L, U> Labeled for ClipOperation<L, U>
where L: Explain, U: Explain,

Source§

const LABEL: &'static str = "Clip"

Source§

impl<L, U> Operation for ClipOperation<L, U>

Source§

impl<L, U> OperationInputs for ClipOperation<L, U>
where L: PlanIdentity + PlanInputs + 'static, U: PlanIdentity + PlanInputs + 'static,

Source§

type Inputs<'__inputs, __Primary: '__inputs> = (&'__inputs __Primary, &'__inputs L, &'__inputs U)

Source§

fn inputs<'__inputs, __Primary: '__inputs>( &'__inputs self, primary: &'__inputs __Primary, ) -> Self::Inputs<'__inputs, __Primary>

Source§

impl<L, U> OptimizerHints for ClipOperation<L, U>

Source§

impl<L, U> PlanIdentity for ClipOperation<L, U>

Source§

fn identity_eq(&self, other: &Self) -> bool

Source§

fn identity_hash<__Hasher: Hasher>(&self, state: &mut __Hasher)

Source§

impl<L, U> PlanInputs for ClipOperation<L, U>
where L: PlanInputs, U: PlanInputs,

Source§

fn inputs(&self) -> Vec<&dyn PlanNode>

Source§

fn optimize(&self, session: &Session<'_>) -> Transformed<Self>

Source§

impl<L: Prepare, U: Prepare> Prepare for ClipOperation<L, U>

Source§

type Prepared<'a> = (<L as Prepare>::Prepared<'a>, <U as Prepare>::Prepared<'a>) where Self: 'a

Source§

fn prepare<'a>( &'a self, graphrecord: &'a GraphRecord, cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Auto Trait Implementations§

§

impl<L, U> Freeze for ClipOperation<L, U>
where L: Freeze, U: Freeze,

§

impl<L, U> RefUnwindSafe for ClipOperation<L, U>

§

impl<L, U> Send for ClipOperation<L, U>
where L: Send, U: Send,

§

impl<L, U> Sync for ClipOperation<L, U>
where L: Sync, U: Sync,

§

impl<L, U> Unpin for ClipOperation<L, U>
where L: Unpin, U: Unpin,

§

impl<L, U> UnsafeUnpin for ClipOperation<L, U>
where L: UnsafeUnpin, U: UnsafeUnpin,

§

impl<L, U> UnwindSafe for ClipOperation<L, U>
where L: UnwindSafe, U: UnwindSafe,

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<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<S, T> ExpandTo<T> for S

Source§

type ReturnOperand = <T as Apply<ExpandToOperation<S>>>::Output

Source§

fn expand_to(&self, template: &T) -> <S as ExpandTo<T>>::ReturnOperand

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> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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

impl<T> Key for T
where T: Clone,

Source§

fn align() -> usize

The alignment necessary for the key. Must return a power of two.
Source§

fn size(&self) -> usize

The size of the key in bytes.
Source§

unsafe fn init(&self, ptr: *mut u8)

Initialize the key in the given memory location. Read more
Source§

unsafe fn get<'a>(ptr: *const u8) -> &'a T

Get a reference to the key from the given memory location. Read more
Source§

unsafe fn drop_in_place(ptr: *mut u8)

Drop the key in place. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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