pub struct CommonInlineUserDefinedFunctionExpression {
pub function_name: String,
pub deterministic: bool,
pub arguments: Vec<Expression>,
pub python_udf: PythonUDFPayload,
}Expand description
Represents a CommonInlineUserDefinedFunction expression. Wraps a Python UDF with its name, determinism flag, and arguments.
Fields§
§function_name: StringName of the UDF (e.g., “my_func”).
deterministic: boolWhether the UDF is deterministic.
arguments: Vec<Expression>Argument expressions passed to the UDF.
python_udf: PythonUDFPayloadThe Python UDF payload (command, output type, eval type, python version).
Implementations§
Source§impl CommonInlineUserDefinedFunctionExpression
impl CommonInlineUserDefinedFunctionExpression
Sourcepub fn new(
function_name: String,
deterministic: bool,
arguments: Vec<Expression>,
python_udf: PythonUDFPayload,
) -> Self
pub fn new( function_name: String, deterministic: bool, arguments: Vec<Expression>, python_udf: PythonUDFPayload, ) -> Self
Create a new CommonInlineUserDefinedFunction expression.
Sourcepub fn to_proto(&self) -> CommonInlineUserDefinedFunction
pub fn to_proto(&self) -> CommonInlineUserDefinedFunction
Convert to a proto CommonInlineUserDefinedFunction message.
Trait Implementations§
Source§impl Clone for CommonInlineUserDefinedFunctionExpression
impl Clone for CommonInlineUserDefinedFunctionExpression
Source§fn clone(&self) -> CommonInlineUserDefinedFunctionExpression
fn clone(&self) -> CommonInlineUserDefinedFunctionExpression
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 moreimpl StructuralPartialEq for CommonInlineUserDefinedFunctionExpression
Auto Trait Implementations§
impl Freeze for CommonInlineUserDefinedFunctionExpression
impl RefUnwindSafe for CommonInlineUserDefinedFunctionExpression
impl Send for CommonInlineUserDefinedFunctionExpression
impl Sync for CommonInlineUserDefinedFunctionExpression
impl Unpin for CommonInlineUserDefinedFunctionExpression
impl UnsafeUnpin for CommonInlineUserDefinedFunctionExpression
impl UnwindSafe for CommonInlineUserDefinedFunctionExpression
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