pub trait ExprEncoding:
'static
+ Send
+ Sync
+ Debug
+ Sealed {
// Required methods
fn as_any(&self) -> &dyn Any;
fn id(&self) -> ExprId;
fn build(
&self,
metadata: &[u8],
children: Vec<ExprRef>,
) -> VortexResult<ExprRef>;
}
Expand description
Encoding trait for a Vortex expression.
An ExprEncoding
can be registered with a Vortex session in order to support deserialization
via the expression protobuf representation.
Required Methods§
Implementations§
Trait Implementations§
Source§impl AsRef<dyn ExprEncoding> for BetweenExprEncoding
impl AsRef<dyn ExprEncoding> for BetweenExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for BinaryExprEncoding
impl AsRef<dyn ExprEncoding> for BinaryExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for CastExprEncoding
impl AsRef<dyn ExprEncoding> for CastExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for DynamicComparisonExprEncoding
impl AsRef<dyn ExprEncoding> for DynamicComparisonExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for GetItemExprEncoding
impl AsRef<dyn ExprEncoding> for GetItemExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for IsNullExprEncoding
impl AsRef<dyn ExprEncoding> for IsNullExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for LikeExprEncoding
impl AsRef<dyn ExprEncoding> for LikeExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for ListContainsExprEncoding
impl AsRef<dyn ExprEncoding> for ListContainsExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for LiteralExprEncoding
impl AsRef<dyn ExprEncoding> for LiteralExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for MergeExprEncoding
impl AsRef<dyn ExprEncoding> for MergeExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for NotExprEncoding
impl AsRef<dyn ExprEncoding> for NotExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for PackExprEncoding
impl AsRef<dyn ExprEncoding> for PackExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for RootExprEncoding
impl AsRef<dyn ExprEncoding> for RootExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<dyn ExprEncoding> for SelectExprEncoding
impl AsRef<dyn ExprEncoding> for SelectExprEncoding
Source§fn as_ref(&self) -> &dyn ExprEncoding
fn as_ref(&self) -> &dyn ExprEncoding
Converts this type into a shared reference of the (usually inferred) input type.