pub struct WindowUDFFieldArgs<'a> { /* private fields */ }
Expand description
Metadata for defining the result field from evaluating a user-defined window function.
Implementations§
Source§impl<'a> WindowUDFFieldArgs<'a>
impl<'a> WindowUDFFieldArgs<'a>
Sourcepub fn new(
input_fields: &'a [Arc<Field>],
display_name: &'a str,
) -> WindowUDFFieldArgs<'a>
pub fn new( input_fields: &'a [Arc<Field>], display_name: &'a str, ) -> WindowUDFFieldArgs<'a>
Create an instance of WindowUDFFieldArgs
.
§Arguments
input_fields
- The fields corresponding to the arguments to the user-defined window function.function_name
- The qualified schema name of the user-defined window function expression.
Sourcepub fn input_fields(&self) -> &[Arc<Field>]
pub fn input_fields(&self) -> &[Arc<Field>]
Returns the field of input expressions passed as arguments to the user-defined window function.
Auto Trait Implementations§
impl<'a> Freeze for WindowUDFFieldArgs<'a>
impl<'a> RefUnwindSafe for WindowUDFFieldArgs<'a>
impl<'a> Send for WindowUDFFieldArgs<'a>
impl<'a> Sync for WindowUDFFieldArgs<'a>
impl<'a> Unpin for WindowUDFFieldArgs<'a>
impl<'a> UnwindSafe for WindowUDFFieldArgs<'a>
Blanket Implementations§
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more