pub struct UnresolvedFunction {
pub name: String,
pub args: Vec<Expression>,
pub is_distinct: bool,
}Expand description
pyspark.sql.connect.expressions.UnresolvedFunction
Represents a function call with a name and arguments.
Fields§
§name: String§args: Vec<Expression>§is_distinct: boolImplementations§
Source§impl UnresolvedFunction
impl UnresolvedFunction
pub fn new(name: impl Into<String>, args: Vec<Expression>) -> Self
pub fn new_distinct(name: impl Into<String>, args: Vec<Expression>) -> Self
Sourcepub fn render(&self) -> String
pub fn render(&self) -> String
Render this function call, mirroring UnresolvedFunction.__repr__:
binary operators render infix as (a op b), the unary not/negate render
prefixed, everything else as name(arg, arg, ...).
pub fn to_proto(&self) -> Expression
Trait Implementations§
Source§impl Clone for UnresolvedFunction
impl Clone for UnresolvedFunction
Source§fn clone(&self) -> UnresolvedFunction
fn clone(&self) -> UnresolvedFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnresolvedFunction
impl Debug for UnresolvedFunction
Source§impl PartialEq for UnresolvedFunction
impl PartialEq for UnresolvedFunction
impl StructuralPartialEq for UnresolvedFunction
Auto Trait Implementations§
impl Freeze for UnresolvedFunction
impl RefUnwindSafe for UnresolvedFunction
impl Send for UnresolvedFunction
impl Sync for UnresolvedFunction
impl Unpin for UnresolvedFunction
impl UnsafeUnpin for UnresolvedFunction
impl UnwindSafe for UnresolvedFunction
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request