Enum datafusion::physical_plan::functions::TypeSignature [−][src]
pub enum TypeSignature {
Variadic(Vec<DataType>),
VariadicEqual,
Uniform(usize, Vec<DataType>),
Exact(Vec<DataType>),
Any(usize),
OneOf(Vec<TypeSignature>),
}
Expand description
A function’s type signature, which defines the function’s supported argument types.
Variants
arbitrary number of arguments of an common type out of a list of valid types
arbitrary number of arguments of an arbitrary but equal type
fixed number of arguments of an arbitrary but equal type out of a list of valid types
exact number of arguments of an exact type
Any(usize)
fixed number of arguments of arbitrary types
Tuple Fields of Any
0: usize
OneOf(Vec<TypeSignature>)
One of a list of signatures
Tuple Fields of OneOf
0: Vec<TypeSignature>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TypeSignature
impl Send for TypeSignature
impl Sync for TypeSignature
impl Unpin for TypeSignature
impl UnwindSafe for TypeSignature
Blanket Implementations
Mutably borrows from an owned value. Read more