pub struct ExpressionArgs<'a> { /* private fields */ }
Expand description
Arguments passed to user-defined window function
Implementations§
Source§impl<'a> ExpressionArgs<'a>
impl<'a> ExpressionArgs<'a>
Sourcepub fn new(
input_exprs: &'a [Arc<dyn PhysicalExpr>],
input_types: &'a [DataType],
) -> Self
pub fn new( input_exprs: &'a [Arc<dyn PhysicalExpr>], input_types: &'a [DataType], ) -> Self
Create an instance of ExpressionArgs
.
§Arguments
input_exprs
- The expressions passed as arguments to the user-defined window function.input_types
- The data types corresponding to the arguments to the user-defined window function.
Sourcepub fn input_exprs(&self) -> &'a [Arc<dyn PhysicalExpr>]
pub fn input_exprs(&self) -> &'a [Arc<dyn PhysicalExpr>]
Returns the expressions passed as arguments to the user-defined window function.
Sourcepub fn input_types(&self) -> &'a [DataType]
pub fn input_types(&self) -> &'a [DataType]
Returns the DataType
s corresponding to the input expressions
to the user-defined window function.
Trait Implementations§
Source§impl<'a> Debug for ExpressionArgs<'a>
impl<'a> Debug for ExpressionArgs<'a>
Source§impl<'a> Default for ExpressionArgs<'a>
impl<'a> Default for ExpressionArgs<'a>
Source§fn default() -> ExpressionArgs<'a>
fn default() -> ExpressionArgs<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ExpressionArgs<'a>
impl<'a> !RefUnwindSafe for ExpressionArgs<'a>
impl<'a> Send for ExpressionArgs<'a>
impl<'a> Sync for ExpressionArgs<'a>
impl<'a> Unpin for ExpressionArgs<'a>
impl<'a> !UnwindSafe for ExpressionArgs<'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