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]
impl DFField
[src]pub fn new(
qualifier: Option<&str>,
name: &str,
data_type: DataType,
nullable: bool
) -> Self
[src]
qualifier: Option<&str>,
name: &str,
data_type: DataType,
nullable: bool
) -> Self
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 StructuralEq for DFField
[src]
impl StructuralEq for DFField
[src]impl StructuralPartialEq for DFField
[src]
impl StructuralPartialEq for DFField
[src]Auto Trait Implementations
impl RefUnwindSafe for DFField
impl RefUnwindSafe for DFField
impl UnwindSafe for DFField
impl UnwindSafe for DFField
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,