Skip to main content

FunctionContext

Struct FunctionContext 

Source
pub struct FunctionContext<'a> {
    pub fragment: Fragment,
    pub identity: IdentityId,
    pub row_count: usize,
    pub runtime_context: &'a RuntimeContext,
}
Expand description

Execution context for a function.

A function impl writes impl Routine<FunctionContext> for Foo. The trait’s execute signature has no way to receive &mut Transaction, so a function is guaranteed at the type level to be unable to mutate transactional state.

Functions don’t get catalog/ioc - they’re pure operations on column data. If a future “function” needs catalog access, it should be a procedure instead.

Fields§

§fragment: Fragment§identity: IdentityId§row_count: usize§runtime_context: &'a RuntimeContext

Trait Implementations§

Source§

impl<'a> Routine<FunctionContext<'a>> for Abs

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Acos

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Asin

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Atan

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Atan2

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Avg

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn accepted_types(&self) -> InputTypes

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for BlobB58

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for BlobB64

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for BlobB64url

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for BlobHex

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for BlobUtf8

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Ceil

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Clamp

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Cos

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Count

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateAdd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateAge

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateDay

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateDayOfWeek

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateDayOfYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateDaysInMonth

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateDiff

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateEndOfMonth

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateFormat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateIsLeapYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateMonth

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateNew

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateNow

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateQuarter

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateStartOfMonth

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateStartOfYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateSubtract

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeAdd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeAge

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeDate

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeDay

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeDayOfWeek

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeDayOfYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeDiff

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeEpoch

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeEpochMillis

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeFormat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeFromEpoch

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeFromEpochMillis

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeHour

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeMinute

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeMonth

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeNanosecond

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeNew

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeNow

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeQuarter

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeSecond

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeSubtract

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeTime

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeTrunc

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeWeek

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTimeYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateTrunc

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateWeek

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DateYear

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationAdd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationDays

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationFormat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationGetDays

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationGetMonths

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationGetNanos

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationHours

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationMillis

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationMinutes

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationMonths

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationNegate

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationScale

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationSeconds

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationSubtract

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationTrunc

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationWeeks

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for DurationYears

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Euler

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Exp

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Floor

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for FlowNodeToJson

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for FormatBytes

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for FormatBytesSi

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Gcd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for GenerateSeries

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Id

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for IsAnonymous

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for IsNone

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn propagates_options(&self) -> bool

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for IsRoot

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for IsSome

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn propagates_options(&self) -> bool

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for IsType

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn propagates_options(&self) -> bool

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for JsonArray

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for JsonObject

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for JsonPretty

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for JsonSerialize

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Lcm

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Log

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Log10

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Log2

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Max

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn accepted_types(&self) -> InputTypes

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Min

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn accepted_types(&self) -> InputTypes

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Modulo

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Now

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Pi

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Power

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Round

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for RqlFingerprint

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Series

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Sign

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Sin

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Sqrt

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Sum

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn accepted_types(&self) -> InputTypes

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Tan

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextAscii

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextChar

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextConcat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextContains

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextCount

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextEndsWith

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextIndexOf

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextLength

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextLower

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextPadLeft

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextPadRight

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextRepeat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextReplace

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextReverse

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextStartsWith

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextSubstring

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextTrim

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextTrimEnd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextTrimStart

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TextUpper

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeAdd

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeAge

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeDiff

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeFormat

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeHour

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeMinute

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeNanosecond

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeNew

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeNow

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeSecond

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeSubtract

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for TimeTrunc

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Truncate

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for Type

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[ValueType]) -> ValueType

Source§

fn propagates_options(&self) -> bool

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for UuidV4

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl<'a> Routine<FunctionContext<'a>> for UuidV7

Source§

fn info(&self) -> &RoutineInfo

Source§

fn return_type(&self, _input_types: &[Type]) -> Type

Source§

fn execute( &self, ctx: &mut FunctionContext<'a>, args: &Columns, ) -> Result<Columns, RoutineError>

Execute the routine. Read more
Source§

fn accepted_types(&self) -> InputTypes

Source§

fn propagates_options(&self) -> bool

Source§

fn call(&self, ctx: &mut C, args: &Columns) -> Result<Columns, RoutineError>

Calls the routine, automatically propagating Option columns if propagates_options() returns true. The option-propagation behaviour is identical for both contexts, hence the shared default.
Source§

impl Context for FunctionContext<'_>

Auto Trait Implementations§

§

impl<'a> Freeze for FunctionContext<'a>

§

impl<'a> RefUnwindSafe for FunctionContext<'a>

§

impl<'a> Send for FunctionContext<'a>

§

impl<'a> Sync for FunctionContext<'a>

§

impl<'a> Unpin for FunctionContext<'a>

§

impl<'a> UnsafeUnpin for FunctionContext<'a>

§

impl<'a> UnwindSafe for FunctionContext<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more