Trait mz_expr::scalar::func::EagerUnaryFunc

source ·
trait EagerUnaryFunc<'a> {
    type Input: DatumType<'a, EvalError>;
    type Output: DatumType<'a, EvalError>;

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

    // 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(&self, input: Self::Input) -> Self::Output

source

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

The output ColumnType 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

Implementors§

source§

impl<'a> EagerUnaryFunc<'a> for CastBoolToInt32

§

type Input = bool

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for CastBoolToInt64

§

type Input = bool

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastBoolToString

§

type Input = bool

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for CastBoolToStringNonstandard

§

type Input = bool

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for Not

§

type Input = bool

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for BitLengthBytes

§

type Input = &'a [u8]

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for ByteLengthBytes

§

type Input = &'a [u8]

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastBytesToString

§

type Input = &'a [u8]

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for Crc32Bytes

§

type Input = &'a [u8]

§

type Output = u32

source§

impl<'a> EagerUnaryFunc<'a> for Crc32String

§

type Input = &'a str

§

type Output = u32

source§

impl<'a> EagerUnaryFunc<'a> for KafkaMurmur2Bytes

§

type Input = &'a [u8]

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for KafkaMurmur2String

§

type Input = &'a str

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for SeahashBytes

§

type Input = &'a [u8]

§

type Output = u64

source§

impl<'a> EagerUnaryFunc<'a> for SeahashString

§

type Input = &'a str

§

type Output = u64

source§

impl<'a> EagerUnaryFunc<'a> for CastCharToString

§

type Input = Char<&'a str>

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for PadChar

§

type Input = &'a str

§

type Output = Char<String>

source§

impl<'a> EagerUnaryFunc<'a> for CastDateToString

source§

impl<'a> EagerUnaryFunc<'a> for CastDateToTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastDateToTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for ExtractDate

§

type Input = Date

§

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

source§

impl<'a> EagerUnaryFunc<'a> for IsFalse

§

type Input = Datum<'a>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for IsNull

§

type Input = Datum<'a>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for IsTrue

§

type Input = Datum<'a>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for MzRowSize

source§

impl<'a> EagerUnaryFunc<'a> for PgColumnSize

source§

impl<'a> EagerUnaryFunc<'a> for AbsFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToFloat64

§

type Input = f32

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToInt64

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToNumeric

§

type Input = f32

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToString

§

type Input = f32

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat32ToUint64

source§

impl<'a> EagerUnaryFunc<'a> for CeilFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for FloorFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for NegFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for RoundFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for TruncFloat32

§

type Input = f32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for AbsFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Acos

source§

impl<'a> EagerUnaryFunc<'a> for Acosh

source§

impl<'a> EagerUnaryFunc<'a> for Asin

source§

impl<'a> EagerUnaryFunc<'a> for Asinh

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Atan

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Atanh

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToFloat32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToInt64

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToNumeric

§

type Input = f64

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToString

§

type Input = f64

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastFloat64ToUint64

source§

impl<'a> EagerUnaryFunc<'a> for CbrtFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CeilFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Cos

source§

impl<'a> EagerUnaryFunc<'a> for Cosh

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Cot

source§

impl<'a> EagerUnaryFunc<'a> for Degrees

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Exp

source§

impl<'a> EagerUnaryFunc<'a> for FloorFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Ln

source§

impl<'a> EagerUnaryFunc<'a> for Log10

source§

impl<'a> EagerUnaryFunc<'a> for NegFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Radians

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for RoundFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Sin

source§

impl<'a> EagerUnaryFunc<'a> for Sinh

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for Sleep

source§

impl<'a> EagerUnaryFunc<'a> for SqrtFloat64

source§

impl<'a> EagerUnaryFunc<'a> for Tan

source§

impl<'a> EagerUnaryFunc<'a> for Tanh

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for ToTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for TruncFloat64

§

type Input = f64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for AbsInt16

source§

impl<'a> EagerUnaryFunc<'a> for BitNotInt16

§

type Input = i16

§

type Output = i16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToFloat32

§

type Input = i16

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToFloat64

§

type Input = i16

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToInt32

§

type Input = i16

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToInt64

§

type Input = i16

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToNumeric

§

type Input = i16

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToString

§

type Input = i16

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt16ToUint64

source§

impl<'a> EagerUnaryFunc<'a> for NegInt16

source§

impl<'a> EagerUnaryFunc<'a> for AbsInt32

source§

impl<'a> EagerUnaryFunc<'a> for BitNotInt32

§

type Input = i32

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToBool

§

type Input = i32

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToFloat32

§

type Input = i32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToFloat64

§

type Input = i32

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToInt64

§

type Input = i32

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToNumeric

§

type Input = i32

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToOid

§

type Input = i32

§

type Output = Oid

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToPgLegacyChar

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToString

§

type Input = i32

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToUint64

source§

impl<'a> EagerUnaryFunc<'a> for Chr

source§

impl<'a> EagerUnaryFunc<'a> for NegInt32

source§

impl<'a> EagerUnaryFunc<'a> for AbsInt64

source§

impl<'a> EagerUnaryFunc<'a> for BitNotInt64

§

type Input = i64

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToBool

§

type Input = i64

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToFloat32

§

type Input = i64

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToFloat64

§

type Input = i64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToNumeric

§

type Input = i64

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToOid

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToString

§

type Input = i64

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToUint64

source§

impl<'a> EagerUnaryFunc<'a> for NegInt64

source§

impl<'a> EagerUnaryFunc<'a> for CastIntervalToString

source§

impl<'a> EagerUnaryFunc<'a> for CastIntervalToTime

source§

impl<'a> EagerUnaryFunc<'a> for JustifyDays

source§

impl<'a> EagerUnaryFunc<'a> for JustifyHours

source§

impl<'a> EagerUnaryFunc<'a> for JustifyInterval

source§

impl<'a> EagerUnaryFunc<'a> for NegInterval

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToBool

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToFloat32

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToFloat64

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToInt64

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToNumeric

§

type Input = JsonbRef<'a>

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbToString

§

type Input = JsonbRef<'a>

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastJsonbableToJsonb

§

type Input = JsonbRef<'a>

§

type Output = JsonbRef<'a>

source§

impl<'a> EagerUnaryFunc<'a> for JsonbArrayLength

source§

impl<'a> EagerUnaryFunc<'a> for JsonbPretty

§

type Input = JsonbRef<'a>

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for JsonbStripNulls

§

type Input = JsonbRef<'a>

§

type Output = Jsonb

source§

impl<'a> EagerUnaryFunc<'a> for JsonbTypeof

§

type Input = JsonbRef<'a>

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for AclItemGrantee

source§

impl<'a> EagerUnaryFunc<'a> for AclItemGrantor

source§

impl<'a> EagerUnaryFunc<'a> for AclItemPrivileges

source§

impl<'a> EagerUnaryFunc<'a> for MzAclItemGrantee

source§

impl<'a> EagerUnaryFunc<'a> for MzAclItemGrantor

source§

impl<'a> EagerUnaryFunc<'a> for MzAclItemPrivileges

source§

impl<'a> EagerUnaryFunc<'a> for MzFormatPrivileges

source§

impl<'a> EagerUnaryFunc<'a> for MzValidatePrivileges

source§

impl<'a> EagerUnaryFunc<'a> for MzValidateRolePrivilege

source§

impl<'a> EagerUnaryFunc<'a> for CastDateToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastInt32ToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastInt64ToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastMzTimestampToString

source§

impl<'a> EagerUnaryFunc<'a> for CastMzTimestampToTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastMzTimestampToTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToMzTimestamp

§

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

§

type Output = Result<Timestamp, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampTzToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for StepMzTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for AbsNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for AdjustNumericScale

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToFloat32

§

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

§

type Output = Result<f32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToFloat64

§

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

§

type Output = Result<f64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToInt16

§

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

§

type Output = Result<i16, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToInt32

§

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

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToInt64

§

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

§

type Output = Result<i64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToString

§

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

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToUint16

§

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

§

type Output = Result<u16, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToUint32

§

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

§

type Output = Result<u32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastNumericToUint64

§

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

§

type Output = Result<u64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CeilNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for ExpNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for FloorNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for LnNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for Log10Numeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for NegNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for PgSizePretty

§

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

§

type Output = Result<String, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for RoundNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for SqrtNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for TruncNumeric

§

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

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToInt32

§

type Input = Oid

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToInt64

§

type Input = Oid

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToRegClass

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToRegProc

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToRegType

source§

impl<'a> EagerUnaryFunc<'a> for CastOidToString

§

type Input = Oid

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for MzTypeName

source§

impl<'a> EagerUnaryFunc<'a> for CastPgLegacyCharToChar

source§

impl<'a> EagerUnaryFunc<'a> for CastPgLegacyCharToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastPgLegacyCharToString

source§

impl<'a> EagerUnaryFunc<'a> for CastPgLegacyCharToVarChar

source§

impl<'a> EagerUnaryFunc<'a> for RangeEmpty

§

type Input = Range<Datum<'a>>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for RangeLowerInc

§

type Input = Range<Datum<'a>>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for RangeLowerInf

§

type Input = Range<Datum<'a>>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for RangeUpperInc

§

type Input = Range<Datum<'a>>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for RangeUpperInf

§

type Input = Range<Datum<'a>>

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for CastRegClassToOid

source§

impl<'a> EagerUnaryFunc<'a> for CastRegProcToOid

source§

impl<'a> EagerUnaryFunc<'a> for CastRegTypeToOid

source§

impl<'a> EagerUnaryFunc<'a> for Ascii

§

type Input = &'a str

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for BitLengthString

§

type Input = &'a str

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for ByteLengthString

§

type Input = &'a str

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToBool

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToBytes

§

type Input = &'a str

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToChar

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToDate

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToFloat32

§

type Input = &'a str

§

type Output = Result<f32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToFloat64

§

type Input = &'a str

§

type Output = Result<f64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToInt16

§

type Input = &'a str

§

type Output = Result<i16, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToInt32

§

type Input = &'a str

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToInt64

§

type Input = &'a str

§

type Output = Result<i64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToInterval

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToJsonb

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToNumeric

§

type Input = &'a str

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToOid

§

type Input = &'a str

§

type Output = Result<Oid, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToPgLegacyChar

§

type Input = &'a str

§

type Output = PgLegacyChar

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToPgLegacyName

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToTime

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToUint16

§

type Input = &'a str

§

type Output = Result<u16, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToUint32

§

type Input = &'a str

§

type Output = Result<u32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToUint64

§

type Input = &'a str

§

type Output = Result<u64, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToUuid

source§

impl<'a> EagerUnaryFunc<'a> for CastStringToVarChar

§

type Input = &'a str

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CharLength

§

type Input = &'a str

§

type Output = Result<i32, EvalError>

source§

impl<'a> EagerUnaryFunc<'a> for Initcap

§

type Input = &'a str

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for IsLikeMatch

§

type Input = &'a str

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for IsRegexpMatch

§

type Input = &'a str

§

type Output = bool

source§

impl<'a> EagerUnaryFunc<'a> for Lower

§

type Input = &'a str

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for Panic

§

type Input = &'a str

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for TrimLeadingWhitespace

§

type Input = &'a str

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for TrimTrailingWhitespace

§

type Input = &'a str

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for TrimWhitespace

§

type Input = &'a str

§

type Output = &'a str

source§

impl<'a> EagerUnaryFunc<'a> for TryParseMonotonicIso8601Timestamp

source§

impl<'a> EagerUnaryFunc<'a> for Upper

§

type Input = &'a str

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastTimeToInterval

source§

impl<'a> EagerUnaryFunc<'a> for CastTimeToString

source§

impl<'a> EagerUnaryFunc<'a> for DatePartTime

source§

impl<'a> EagerUnaryFunc<'a> for ExtractTime

§

type Input = NaiveTime

§

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

source§

impl<'a> EagerUnaryFunc<'a> for TimezoneTime

source§

impl<'a> EagerUnaryFunc<'a> for AdjustTimestampPrecision

source§

impl<'a> EagerUnaryFunc<'a> for AdjustTimestampTzPrecision

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampToDate

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampToString

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampToTime

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampToTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampTzToDate

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampTzToString

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampTzToTime

source§

impl<'a> EagerUnaryFunc<'a> for CastTimestampTzToTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for DatePartInterval

source§

impl<'a> EagerUnaryFunc<'a> for DatePartTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for DatePartTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for DateTruncTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for DateTruncTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for ExtractInterval

§

type Input = Interval

§

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

source§

impl<'a> EagerUnaryFunc<'a> for ExtractTimestamp

§

type Input = CheckedTimestamp<NaiveDateTime>

§

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

source§

impl<'a> EagerUnaryFunc<'a> for ExtractTimestampTz

§

type Input = CheckedTimestamp<DateTime<Utc>>

§

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

source§

impl<'a> EagerUnaryFunc<'a> for TimezoneTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for TimezoneTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for ToCharTimestamp

source§

impl<'a> EagerUnaryFunc<'a> for ToCharTimestampTz

source§

impl<'a> EagerUnaryFunc<'a> for BitNotUint16

§

type Input = u16

§

type Output = u16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToFloat32

§

type Input = u16

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToFloat64

§

type Input = u16

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToInt32

§

type Input = u16

§

type Output = i32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToInt64

§

type Input = u16

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToNumeric

§

type Input = u16

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToString

§

type Input = u16

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToUint32

§

type Input = u16

§

type Output = u32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint16ToUint64

§

type Input = u16

§

type Output = u64

source§

impl<'a> EagerUnaryFunc<'a> for BitNotUint32

§

type Input = u32

§

type Output = u32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToFloat32

§

type Input = u32

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToFloat64

§

type Input = u32

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToInt64

§

type Input = u32

§

type Output = i64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToNumeric

§

type Input = u32

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToString

§

type Input = u32

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint32ToUint64

§

type Input = u32

§

type Output = u64

source§

impl<'a> EagerUnaryFunc<'a> for BitNotUint64

§

type Input = u64

§

type Output = u64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToFloat32

§

type Input = u64

§

type Output = f32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToFloat64

§

type Input = u64

§

type Output = f64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToInt16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToInt32

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToInt64

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToNumeric

§

type Input = u64

§

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

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToString

§

type Input = u64

§

type Output = String

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToUint16

source§

impl<'a> EagerUnaryFunc<'a> for CastUint64ToUint32

source§

impl<'a> EagerUnaryFunc<'a> for CastUuidToString

source§

impl<'a> EagerUnaryFunc<'a> for CastVarCharToString

§

type Input = VarChar<&'a str>

§

type Output = &'a str