Enum datafusion_expr::TypeSignature
source · 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§
Variadic(Vec<DataType>)
arbitrary number of arguments of an common type out of a list of valid types
VariadicEqual
arbitrary number of arguments of an arbitrary but equal type
Uniform(usize, Vec<DataType>)
fixed number of arguments of an arbitrary but equal type out of a list of valid types
Exact(Vec<DataType>)
exact number of arguments of an exact type
Any(usize)
fixed number of arguments of arbitrary types
OneOf(Vec<TypeSignature>)
One of a list of signatures
Trait Implementations§
source§impl Clone for TypeSignature
impl Clone for TypeSignature
source§fn clone(&self) -> TypeSignature
fn clone(&self) -> TypeSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more