Skip to main content

EagerUnaryFunc

Trait EagerUnaryFunc 

Source
pub trait EagerUnaryFunc {
    type Input<'a>: InputDatumType<'a, EvalError>;
    type Output<'a>: OutputDatumType<'a, EvalError>;

    // Required methods
    fn call<'a>(&self, input: Self::Input<'a>) -> Self::Output<'a>;
    fn output_type(&self, input_type: SqlColumnType) -> SqlColumnType;

    // Provided methods
    fn propagates_nulls(&self) -> bool { ... }
    fn introduces_nulls(&self) -> bool { ... }
    fn could_error(&self) -> bool { ... }
    fn preserves_uniqueness(&self) -> bool { ... }
    fn inverse(&self) -> Option<UnaryFunc> { ... }
    fn is_monotone(&self) -> bool { ... }
}
Expand description

A description of an SQL unary function that operates on eagerly evaluated expressions

Required Associated Types§

Required Methods§

Source

fn call<'a>(&self, input: Self::Input<'a>) -> Self::Output<'a>

Source

fn output_type(&self, input_type: SqlColumnType) -> SqlColumnType

The output SqlColumnType of this function

Provided Methods§

Source

fn propagates_nulls(&self) -> bool

Whether this function will produce NULL on NULL input

Source

fn introduces_nulls(&self) -> bool

Whether this function will produce NULL on non-NULL input

Source

fn could_error(&self) -> bool

Whether this function could produce an error

Source

fn preserves_uniqueness(&self) -> bool

Whether this function preserves uniqueness

Source

fn inverse(&self) -> Option<UnaryFunc>

Source

fn is_monotone(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl EagerUnaryFunc for AbsFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for AbsFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for AbsInt16

Source§

impl EagerUnaryFunc for AbsInt32

Source§

impl EagerUnaryFunc for AbsInt64

Source§

impl EagerUnaryFunc for AbsNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for AclItemGrantee

Source§

impl EagerUnaryFunc for AclItemGrantor

Source§

impl EagerUnaryFunc for AclItemPrivileges

Source§

impl EagerUnaryFunc for Acos

Source§

impl EagerUnaryFunc for Acosh

Source§

impl EagerUnaryFunc for AdjustNumericScale

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for AdjustTimestampPrecision

Source§

impl EagerUnaryFunc for AdjustTimestampTzPrecision

Source§

impl EagerUnaryFunc for Ascii

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for Asin

Source§

impl EagerUnaryFunc for Asinh

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for Atan

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for Atanh

Source§

impl EagerUnaryFunc for BitCountBytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = Result<i64, EvalError>

Source§

impl EagerUnaryFunc for BitLengthBytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for BitLengthString

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for BitNotInt16

Source§

type Input<'a> = i16

Source§

type Output<'a> = i16

Source§

impl EagerUnaryFunc for BitNotInt32

Source§

type Input<'a> = i32

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for BitNotInt64

Source§

type Input<'a> = i64

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for BitNotUint16

Source§

type Input<'a> = u16

Source§

type Output<'a> = u16

Source§

impl EagerUnaryFunc for BitNotUint32

Source§

type Input<'a> = u32

Source§

type Output<'a> = u32

Source§

impl EagerUnaryFunc for BitNotUint64

Source§

type Input<'a> = u64

Source§

type Output<'a> = u64

Source§

impl EagerUnaryFunc for ByteLengthBytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for ByteLengthString

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for CastArrayToListOneDim

Source§

impl EagerUnaryFunc for CastBoolToInt32

Source§

type Input<'a> = bool

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for CastBoolToInt64

Source§

type Input<'a> = bool

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastBoolToString

Source§

type Input<'a> = bool

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for CastBoolToStringNonstandard

Source§

type Input<'a> = bool

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for CastBytesToString

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastCharToString

Source§

type Input<'a> = Char<&'a str>

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for CastDateToMzTimestamp

Source§

impl EagerUnaryFunc for CastDateToString

Source§

impl EagerUnaryFunc for CastDateToTimestamp

Source§

impl EagerUnaryFunc for CastDateToTimestampTz

Source§

impl EagerUnaryFunc for CastFloat32ToFloat64

Source§

type Input<'a> = f32

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastFloat32ToInt16

Source§

impl EagerUnaryFunc for CastFloat32ToInt32

Source§

impl EagerUnaryFunc for CastFloat32ToInt64

Source§

impl EagerUnaryFunc for CastFloat32ToNumeric

Source§

type Input<'a> = f32

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastFloat32ToString

Source§

type Input<'a> = f32

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastFloat32ToUint16

Source§

impl EagerUnaryFunc for CastFloat32ToUint32

Source§

impl EagerUnaryFunc for CastFloat32ToUint64

Source§

impl EagerUnaryFunc for CastFloat64ToFloat32

Source§

impl EagerUnaryFunc for CastFloat64ToInt16

Source§

impl EagerUnaryFunc for CastFloat64ToInt32

Source§

impl EagerUnaryFunc for CastFloat64ToInt64

Source§

impl EagerUnaryFunc for CastFloat64ToNumeric

Source§

type Input<'a> = f64

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastFloat64ToString

Source§

type Input<'a> = f64

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastFloat64ToUint16

Source§

impl EagerUnaryFunc for CastFloat64ToUint32

Source§

impl EagerUnaryFunc for CastFloat64ToUint64

Source§

impl EagerUnaryFunc for CastInt2VectorToArray

Source§

type Input<'a> = Int2Vector<'a>

Source§

type Output<'a> = Array<'a>

Source§

impl EagerUnaryFunc for CastInt2VectorToString

Source§

impl EagerUnaryFunc for CastInt16ToFloat32

Source§

type Input<'a> = i16

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastInt16ToFloat64

Source§

type Input<'a> = i16

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastInt16ToInt32

Source§

type Input<'a> = i16

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for CastInt16ToInt64

Source§

type Input<'a> = i16

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastInt16ToNumeric

Source§

type Input<'a> = i16

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastInt16ToString

Source§

type Input<'a> = i16

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastInt16ToUint16

Source§

impl EagerUnaryFunc for CastInt16ToUint32

Source§

impl EagerUnaryFunc for CastInt16ToUint64

Source§

impl EagerUnaryFunc for CastInt32ToBool

Source§

type Input<'a> = i32

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for CastInt32ToFloat32

Source§

type Input<'a> = i32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastInt32ToFloat64

Source§

type Input<'a> = i32

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastInt32ToInt16

Source§

impl EagerUnaryFunc for CastInt32ToInt64

Source§

type Input<'a> = i32

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastInt32ToMzTimestamp

Source§

impl EagerUnaryFunc for CastInt32ToNumeric

Source§

type Input<'a> = i32

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastInt32ToOid

Source§

type Input<'a> = i32

Source§

type Output<'a> = Oid

Source§

impl EagerUnaryFunc for CastInt32ToPgLegacyChar

Source§

impl EagerUnaryFunc for CastInt32ToString

Source§

type Input<'a> = i32

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastInt32ToUint16

Source§

impl EagerUnaryFunc for CastInt32ToUint32

Source§

impl EagerUnaryFunc for CastInt32ToUint64

Source§

impl EagerUnaryFunc for CastInt64ToBool

Source§

type Input<'a> = i64

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for CastInt64ToFloat32

Source§

type Input<'a> = i64

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastInt64ToFloat64

Source§

type Input<'a> = i64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastInt64ToInt16

Source§

impl EagerUnaryFunc for CastInt64ToInt32

Source§

impl EagerUnaryFunc for CastInt64ToMzTimestamp

Source§

impl EagerUnaryFunc for CastInt64ToNumeric

Source§

type Input<'a> = i64

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastInt64ToOid

Source§

impl EagerUnaryFunc for CastInt64ToString

Source§

type Input<'a> = i64

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastInt64ToUint16

Source§

impl EagerUnaryFunc for CastInt64ToUint32

Source§

impl EagerUnaryFunc for CastInt64ToUint64

Source§

impl EagerUnaryFunc for CastIntervalToString

Source§

impl EagerUnaryFunc for CastIntervalToTime

Source§

impl EagerUnaryFunc for CastJsonbToBool

Source§

impl EagerUnaryFunc for CastJsonbToFloat32

Source§

impl EagerUnaryFunc for CastJsonbToFloat64

Source§

impl EagerUnaryFunc for CastJsonbToInt16

Source§

impl EagerUnaryFunc for CastJsonbToInt32

Source§

impl EagerUnaryFunc for CastJsonbToInt64

Source§

impl EagerUnaryFunc for CastJsonbToNumeric

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastJsonbToString

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastJsonbableToJsonb

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = JsonbRef<'a>

Source§

impl EagerUnaryFunc for CastMzTimestampToString

Source§

impl EagerUnaryFunc for CastMzTimestampToTimestamp

Source§

impl EagerUnaryFunc for CastMzTimestampToTimestampTz

Source§

impl EagerUnaryFunc for CastNumericToFloat32

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<f32, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToFloat64

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<f64, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToInt16

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<i16, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToInt32

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToInt64

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<i64, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToMzTimestamp

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Timestamp, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToString

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastNumericToUint16

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<u16, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToUint32

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<u32, EvalError>

Source§

impl EagerUnaryFunc for CastNumericToUint64

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<u64, EvalError>

Source§

impl EagerUnaryFunc for CastOidToInt32

Source§

type Input<'a> = Oid

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for CastOidToInt64

Source§

type Input<'a> = Oid

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastOidToRegClass

Source§

impl EagerUnaryFunc for CastOidToRegProc

Source§

impl EagerUnaryFunc for CastOidToRegType

Source§

impl EagerUnaryFunc for CastOidToString

Source§

type Input<'a> = Oid

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastPgLegacyCharToChar

Source§

impl EagerUnaryFunc for CastPgLegacyCharToInt32

Source§

impl EagerUnaryFunc for CastPgLegacyCharToString

Source§

impl EagerUnaryFunc for CastPgLegacyCharToVarChar

Source§

impl EagerUnaryFunc for CastRegClassToOid

Source§

impl EagerUnaryFunc for CastRegProcToOid

Source§

impl EagerUnaryFunc for CastRegTypeToOid

Source§

impl EagerUnaryFunc for CastStringToBool

Source§

impl EagerUnaryFunc for CastStringToBytes

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<Vec<u8>, EvalError>

Source§

impl EagerUnaryFunc for CastStringToChar

Source§

impl EagerUnaryFunc for CastStringToDate

Source§

impl EagerUnaryFunc for CastStringToFloat32

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<f32, EvalError>

Source§

impl EagerUnaryFunc for CastStringToFloat64

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<f64, EvalError>

Source§

impl EagerUnaryFunc for CastStringToInt16

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i16, EvalError>

Source§

impl EagerUnaryFunc for CastStringToInt32

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for CastStringToInt64

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i64, EvalError>

Source§

impl EagerUnaryFunc for CastStringToInterval

Source§

impl EagerUnaryFunc for CastStringToJsonb

Source§

impl EagerUnaryFunc for CastStringToMzTimestamp

Source§

impl EagerUnaryFunc for CastStringToNumeric

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastStringToOid

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<Oid, EvalError>

Source§

impl EagerUnaryFunc for CastStringToPgLegacyChar

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = PgLegacyChar

Source§

impl EagerUnaryFunc for CastStringToPgLegacyName

Source§

impl EagerUnaryFunc for CastStringToTime

Source§

impl EagerUnaryFunc for CastStringToTimestamp

Source§

impl EagerUnaryFunc for CastStringToTimestampTz

Source§

impl EagerUnaryFunc for CastStringToUint16

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<u16, EvalError>

Source§

impl EagerUnaryFunc for CastStringToUint32

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<u32, EvalError>

Source§

impl EagerUnaryFunc for CastStringToUint64

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<u64, EvalError>

Source§

impl EagerUnaryFunc for CastStringToUuid

Source§

impl EagerUnaryFunc for CastStringToVarChar

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<VarChar<&'a str>, EvalError>

Source§

impl EagerUnaryFunc for CastTimeToInterval

Source§

impl EagerUnaryFunc for CastTimeToString

Source§

impl EagerUnaryFunc for CastTimestampToDate

Source§

impl EagerUnaryFunc for CastTimestampToMzTimestamp

Source§

impl EagerUnaryFunc for CastTimestampToString

Source§

impl EagerUnaryFunc for CastTimestampToTime

Source§

impl EagerUnaryFunc for CastTimestampToTimestampTz

Source§

impl EagerUnaryFunc for CastTimestampTzToDate

Source§

impl EagerUnaryFunc for CastTimestampTzToMzTimestamp

Source§

impl EagerUnaryFunc for CastTimestampTzToString

Source§

impl EagerUnaryFunc for CastTimestampTzToTime

Source§

impl EagerUnaryFunc for CastTimestampTzToTimestamp

Source§

impl EagerUnaryFunc for CastUint16ToFloat32

Source§

type Input<'a> = u16

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastUint16ToFloat64

Source§

type Input<'a> = u16

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastUint16ToInt16

Source§

impl EagerUnaryFunc for CastUint16ToInt32

Source§

type Input<'a> = u16

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for CastUint16ToInt64

Source§

type Input<'a> = u16

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastUint16ToNumeric

Source§

type Input<'a> = u16

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastUint16ToString

Source§

type Input<'a> = u16

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastUint16ToUint32

Source§

type Input<'a> = u16

Source§

type Output<'a> = u32

Source§

impl EagerUnaryFunc for CastUint16ToUint64

Source§

type Input<'a> = u16

Source§

type Output<'a> = u64

Source§

impl EagerUnaryFunc for CastUint32ToFloat32

Source§

type Input<'a> = u32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastUint32ToFloat64

Source§

type Input<'a> = u32

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastUint32ToInt16

Source§

impl EagerUnaryFunc for CastUint32ToInt32

Source§

impl EagerUnaryFunc for CastUint32ToInt64

Source§

type Input<'a> = u32

Source§

type Output<'a> = i64

Source§

impl EagerUnaryFunc for CastUint32ToMzTimestamp

Source§

impl EagerUnaryFunc for CastUint32ToNumeric

Source§

type Input<'a> = u32

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastUint32ToString

Source§

type Input<'a> = u32

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastUint32ToUint16

Source§

impl EagerUnaryFunc for CastUint32ToUint64

Source§

type Input<'a> = u32

Source§

type Output<'a> = u64

Source§

impl EagerUnaryFunc for CastUint64ToFloat32

Source§

type Input<'a> = u64

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CastUint64ToFloat64

Source§

type Input<'a> = u64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CastUint64ToInt16

Source§

impl EagerUnaryFunc for CastUint64ToInt32

Source§

impl EagerUnaryFunc for CastUint64ToInt64

Source§

impl EagerUnaryFunc for CastUint64ToMzTimestamp

Source§

impl EagerUnaryFunc for CastUint64ToNumeric

Source§

type Input<'a> = u64

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for CastUint64ToString

Source§

type Input<'a> = u64

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for CastUint64ToUint16

Source§

impl EagerUnaryFunc for CastUint64ToUint32

Source§

impl EagerUnaryFunc for CastUuidToString

Source§

impl EagerUnaryFunc for CastVarCharToString

Source§

type Input<'a> = VarChar<&'a str>

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for CbrtFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CeilFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for CeilFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for CeilNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for CharLength

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Result<i32, EvalError>

Source§

impl EagerUnaryFunc for Chr

Source§

impl EagerUnaryFunc for Cos

Source§

impl EagerUnaryFunc for Cosh

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for Cot

Source§

impl EagerUnaryFunc for Crc32Bytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = u32

Source§

impl EagerUnaryFunc for Crc32String

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = u32

Source§

impl EagerUnaryFunc for DatePartInterval

Source§

impl EagerUnaryFunc for DatePartTime

Source§

impl EagerUnaryFunc for DatePartTimestamp

Source§

impl EagerUnaryFunc for DatePartTimestampTz

Source§

impl EagerUnaryFunc for DateTruncTimestamp

Source§

impl EagerUnaryFunc for DateTruncTimestampTz

Source§

impl EagerUnaryFunc for Degrees

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for Exp

Source§

impl EagerUnaryFunc for ExpNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for ExtractDate

Source§

type Input<'a> = Date

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for ExtractInterval

Source§

type Input<'a> = Interval

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for ExtractTime

Source§

type Input<'a> = NaiveTime

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for ExtractTimestamp

Source§

type Input<'a> = CheckedTimestamp<NaiveDateTime>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for ExtractTimestampTz

Source§

type Input<'a> = CheckedTimestamp<DateTime<Utc>>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for FloorFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for FloorFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for FloorNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for Initcap

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for IsFalse

Source§

type Input<'a> = Datum<'a>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for IsLikeMatch

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for IsNull

Source§

type Input<'a> = Datum<'a>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for IsRegexpMatch

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for IsTrue

Source§

type Input<'a> = Datum<'a>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for JsonbArrayLength

Source§

impl EagerUnaryFunc for JsonbPretty

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for JsonbStripNulls

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = Jsonb

Source§

impl EagerUnaryFunc for JsonbTypeof

Source§

type Input<'a> = JsonbRef<'a>

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for JustifyDays

Source§

impl EagerUnaryFunc for JustifyHours

Source§

impl EagerUnaryFunc for JustifyInterval

Source§

impl EagerUnaryFunc for KafkaMurmur2Bytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for KafkaMurmur2String

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = i32

Source§

impl EagerUnaryFunc for ListLength

Source§

impl EagerUnaryFunc for Ln

Source§

impl EagerUnaryFunc for LnNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for Log10

Source§

impl EagerUnaryFunc for Log10Numeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for Lower

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for MapLength

Source§

impl EagerUnaryFunc for MzAclItemGrantee

Source§

impl EagerUnaryFunc for MzAclItemGrantor

Source§

impl EagerUnaryFunc for MzAclItemPrivileges

Source§

impl EagerUnaryFunc for MzFormatPrivileges

Source§

impl EagerUnaryFunc for MzRowSize

Source§

impl EagerUnaryFunc for MzTypeName

Source§

impl EagerUnaryFunc for MzValidatePrivileges

Source§

impl EagerUnaryFunc for MzValidateRolePrivilege

Source§

impl EagerUnaryFunc for NegFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for NegFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for NegInt16

Source§

impl EagerUnaryFunc for NegInt32

Source§

impl EagerUnaryFunc for NegInt64

Source§

impl EagerUnaryFunc for NegInterval

Source§

impl EagerUnaryFunc for NegNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for Not

Source§

type Input<'a> = bool

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for PadChar

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = Char<String>

Source§

impl EagerUnaryFunc for Panic

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for PgColumnSize

Source§

impl EagerUnaryFunc for PgSizePretty

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<String, EvalError>

Source§

impl EagerUnaryFunc for QuoteIdent

Source§

impl EagerUnaryFunc for Radians

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for RangeEmpty

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for RangeLower

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = Option<Datum<'a>>

Source§

impl EagerUnaryFunc for RangeLowerInc

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for RangeLowerInf

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for RangeUpper

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = Option<Datum<'a>>

Source§

impl EagerUnaryFunc for RangeUpperInc

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for RangeUpperInf

Source§

type Input<'a> = Range<Datum<'a>>

Source§

type Output<'a> = bool

Source§

impl EagerUnaryFunc for Reverse

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = String

Source§

impl EagerUnaryFunc for RoundFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for RoundFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for RoundNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for SeahashBytes

Source§

type Input<'a> = &'a [u8]

Source§

type Output<'a> = u64

Source§

impl EagerUnaryFunc for SeahashString

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = u64

Source§

impl EagerUnaryFunc for Sin

Source§

impl EagerUnaryFunc for Sinh

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for Sleep

Source§

impl EagerUnaryFunc for SqrtFloat64

Source§

impl EagerUnaryFunc for SqrtNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Result<Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>, EvalError>

Source§

impl EagerUnaryFunc for StepMzTimestamp

Source§

impl EagerUnaryFunc for Tan

Source§

impl EagerUnaryFunc for Tanh

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for TimezoneTime

Source§

impl EagerUnaryFunc for TimezoneTimestamp

Source§

impl EagerUnaryFunc for TimezoneTimestampTz

Source§

impl EagerUnaryFunc for ToCharTimestamp

Source§

impl EagerUnaryFunc for ToCharTimestampTz

Source§

impl EagerUnaryFunc for ToTimestamp

Source§

impl EagerUnaryFunc for TrimLeadingWhitespace

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for TrimTrailingWhitespace

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for TrimWhitespace

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = &'a str

Source§

impl EagerUnaryFunc for TruncFloat32

Source§

type Input<'a> = f32

Source§

type Output<'a> = f32

Source§

impl EagerUnaryFunc for TruncFloat64

Source§

type Input<'a> = f64

Source§

type Output<'a> = f64

Source§

impl EagerUnaryFunc for TruncNumeric

Source§

type Input<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

type Output<'a> = Decimal<mz_repr::::adt::numeric::Numeric::{constant#0}>

Source§

impl EagerUnaryFunc for TryParseMonotonicIso8601Timestamp

Source§

impl EagerUnaryFunc for Upper

Source§

type Input<'a> = &'a str

Source§

type Output<'a> = String