[][src]Struct datafusion::execution::physical_plan::expressions::Column

pub struct Column { /* fields omitted */ }

Represents the column at a given index in a RecordBatch

Implementations

impl Column[src]

pub fn new(index: usize, name: &str) -> Self[src]

Create a new column expression

Trait Implementations

impl PhysicalExpr for Column[src]

fn name(&self) -> String[src]

Get the name to use in a schema to represent the result of this expression

fn data_type(&self, input_schema: &Schema) -> Result<DataType>[src]

Get the data type of this expression, given the schema of the input

fn nullable(&self, input_schema: &Schema) -> Result<bool>[src]

Decide whehter this expression is nullable, given the schema of the input

fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>[src]

Evaluate the expression

Auto Trait Implementations

impl RefUnwindSafe for Column

impl Send for Column

impl Sync for Column

impl Unpin for Column

impl UnwindSafe for Column

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> Instrument for T[src]

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

impl<T> IntoRequest<T> for T[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>, 

impl<T> WithSubscriber for T[src]