pub struct DynamicComparisonVTable;Trait Implementations§
Source§impl Debug for DynamicComparisonVTable
impl Debug for DynamicComparisonVTable
Source§impl VTable for DynamicComparisonVTable
impl VTable for DynamicComparisonVTable
type Expr = DynamicComparisonExpr
type Encoding = DynamicComparisonExprEncoding
type Metadata = ProstMetadata<LiteralOpts>
Source§fn encoding(_expr: &Self::Expr) -> ExprEncodingRef
fn encoding(_expr: &Self::Expr) -> ExprEncodingRef
Returns the encoding for the expr.
Source§fn metadata(_expr: &Self::Expr) -> Option<Self::Metadata>
fn metadata(_expr: &Self::Expr) -> Option<Self::Metadata>
Returns the serialize-able metadata for the expr, or
None if serialization is not
supported.Source§fn with_children(
expr: &Self::Expr,
children: Vec<ExprRef>,
) -> VortexResult<Self::Expr>
fn with_children( expr: &Self::Expr, children: Vec<ExprRef>, ) -> VortexResult<Self::Expr>
Return a new instance of the expression with the children replaced. Read more
Source§fn build(
_encoding: &Self::Encoding,
_metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_children: Vec<ExprRef>,
) -> VortexResult<Self::Expr>
fn build( _encoding: &Self::Encoding, _metadata: &<Self::Metadata as DeserializeMetadata>::Output, _children: Vec<ExprRef>, ) -> VortexResult<Self::Expr>
Construct a new
VortexExpr from the provided parts.Source§fn evaluate(expr: &Self::Expr, scope: &Scope) -> VortexResult<ArrayRef>
fn evaluate(expr: &Self::Expr, scope: &Scope) -> VortexResult<ArrayRef>
Evaluate the expression in the given scope.
Source§fn return_dtype(expr: &Self::Expr, scope: &DType) -> VortexResult<DType>
fn return_dtype(expr: &Self::Expr, scope: &DType) -> VortexResult<DType>
Compute the return
DType of the expression if evaluated in the given scope.Auto Trait Implementations§
impl Freeze for DynamicComparisonVTable
impl RefUnwindSafe for DynamicComparisonVTable
impl Send for DynamicComparisonVTable
impl Sync for DynamicComparisonVTable
impl Unpin for DynamicComparisonVTable
impl UnwindSafe for DynamicComparisonVTable
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
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