Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CastExpr in datafusion::physical_plan::expressions - Rust
[go: Go Back, main page]

Struct datafusion::physical_plan::expressions::CastExpr[][src]

pub struct CastExpr { /* fields omitted */ }

CAST expression casts an expression to a specific data type and returns a runtime error on invalid cast

Implementations

impl CastExpr[src]

pub fn new(
    expr: Arc<dyn PhysicalExpr>,
    cast_type: DataType,
    cast_options: CastOptions
) -> Self
[src]

Create a new CastExpr

pub fn expr(&self) -> &Arc<dyn PhysicalExpr>[src]

The expression to cast

pub fn cast_type(&self) -> &DataType[src]

The data type to cast to

Trait Implementations

impl Debug for CastExpr[src]

impl Display for CastExpr[src]

impl PhysicalExpr for CastExpr[src]

fn as_any(&self) -> &dyn Any[src]

Return a reference to Any that can be used for downcasting

Auto Trait Implementations

impl !RefUnwindSafe for CastExpr

impl Send for CastExpr

impl Sync for CastExpr

impl Unpin for CastExpr

impl !UnwindSafe for CastExpr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,