[][src]Enum weld::ast::BuilderKind

pub enum BuilderKind {
    Appender(Box<Type>),
    Merger(Box<Type>, BinOpKind),
    DictMerger(Box<Type>, Box<Type>, BinOpKind),
    GroupMerger(Box<Type>, Box<Type>),
    VecMerger(Box<Type>, BinOpKind),
}

Builder types in the Weld IR.

Variants

Appender(Box<Type>)

A builder that appends items to a list.

Merger(Box<Type>, BinOpKind)

A builder that constructs a scalar or struct.

Results are merged using an associative binary operator.

DictMerger(Box<Type>, Box<Type>, BinOpKind)

A builder that creates a dictionary.

Results are grouped by key, and values are combined using an associative binary operator.

GroupMerger(Box<Type>, Box<Type>)

A builder that creates groups.

Results are grouped by key, where values are appended to a list.

VecMerger(Box<Type>, BinOpKind)

A builder that constructs a vector by updating elements.

Elements are updated by index using an associative binary operator.

Methods

impl BuilderKind[src]

pub fn merge_type(&self) -> Type[src]

Returns the type merged into this BuilderKind.

pub fn result_type(&self) -> Type[src]

Returns the type produced by this BuilderKind.

Trait Implementations

impl Clone for BuilderKind[src]

impl Debug for BuilderKind[src]

impl Display for BuilderKind[src]

impl Eq for BuilderKind[src]

impl Hash for BuilderKind[src]

impl PartialEq<BuilderKind> for BuilderKind[src]

impl StructuralEq for BuilderKind[src]

impl StructuralPartialEq for BuilderKind[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.