Struct datafusion::logical_plan::DFField[][src]

pub struct DFField { /* fields omitted */ }

DFField wraps an Arrow field and adds an optional qualifier

Implementations

impl DFField[src]

pub fn new(
    qualifier: Option<&str>,
    name: &str,
    data_type: DataType,
    nullable: bool
) -> Self
[src]

Creates a new DFField

pub fn from(field: Field) -> Self[src]

Create an unqualified field from an existing Arrow field

pub fn from_qualified(qualifier: &str, field: Field) -> Self[src]

Create a qualified field from an existing Arrow field

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

Returns an immutable reference to the DFField’s unqualified name

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

Returns an immutable reference to the DFField’s data-type

pub fn is_nullable(&self) -> bool[src]

Indicates whether this DFField supports null values

pub fn qualified_name(&self) -> String[src]

Returns a reference to the DFField’s qualified name

pub fn qualifier(&self) -> Option<&String>[src]

Get the optional qualifier

Trait Implementations

impl Clone for DFField[src]

impl Debug for DFField[src]

impl Eq for DFField[src]

impl PartialEq<DFField> for DFField[src]

impl StructuralEq for DFField[src]

impl StructuralPartialEq for DFField[src]

Auto Trait Implementations

impl RefUnwindSafe for DFField

impl Send for DFField

impl Sync for DFField

impl Unpin for DFField

impl UnwindSafe for DFField

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,