MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / name

Method name

src/expr/src/relation/func.rs:3169–3241  ·  view source on GitHub ↗

The base function name without the `~[...]` suffix used when rendering variants that represent a parameterized function family.

(&self)

Source from the content-addressed store, hash-verified

3167 /// The base function name without the `~[...]` suffix used when rendering
3168 /// variants that represent a parameterized function family.
3169 pub fn name(&self) -> &'static str {
3170 match self {
3171 Self::MaxNumeric => "max",
3172 Self::MaxInt16 => "max",
3173 Self::MaxInt32 => "max",
3174 Self::MaxInt64 => "max",
3175 Self::MaxUInt16 => "max",
3176 Self::MaxUInt32 => "max",
3177 Self::MaxUInt64 => "max",
3178 Self::MaxMzTimestamp => "max",
3179 Self::MaxFloat32 => "max",
3180 Self::MaxFloat64 => "max",
3181 Self::MaxBool => "max",
3182 Self::MaxString => "max",
3183 Self::MaxDate => "max",
3184 Self::MaxTimestamp => "max",
3185 Self::MaxTimestampTz => "max",
3186 Self::MaxInterval => "max",
3187 Self::MaxTime => "max",
3188 Self::MinNumeric => "min",
3189 Self::MinInt16 => "min",
3190 Self::MinInt32 => "min",
3191 Self::MinInt64 => "min",
3192 Self::MinUInt16 => "min",
3193 Self::MinUInt32 => "min",
3194 Self::MinUInt64 => "min",
3195 Self::MinMzTimestamp => "min",
3196 Self::MinFloat32 => "min",
3197 Self::MinFloat64 => "min",
3198 Self::MinBool => "min",
3199 Self::MinString => "min",
3200 Self::MinDate => "min",
3201 Self::MinTimestamp => "min",
3202 Self::MinTimestampTz => "min",
3203 Self::MinInterval => "min",
3204 Self::MinTime => "min",
3205 Self::SumInt16 => "sum",
3206 Self::SumInt32 => "sum",
3207 Self::SumInt64 => "sum",
3208 Self::SumUInt16 => "sum",
3209 Self::SumUInt32 => "sum",
3210 Self::SumUInt64 => "sum",
3211 Self::SumFloat32 => "sum",
3212 Self::SumFloat64 => "sum",
3213 Self::SumNumeric => "sum",
3214 Self::Count => "count",
3215 Self::Any => "any",
3216 Self::All => "all",
3217 Self::JsonbAgg { .. } => "jsonb_agg",
3218 Self::JsonbObjectAgg { .. } => "jsonb_object_agg",
3219 Self::MapAgg { .. } => "map_agg",
3220 Self::ArrayConcat { .. } => "array_agg",
3221 Self::ListConcat { .. } => "list_agg",
3222 Self::StringAgg { .. } => "string_agg",
3223 Self::RowNumber { .. } => "row_number",
3224 Self::Rank { .. } => "rank",
3225 Self::DenseRank { .. } => "dense_rank",
3226 Self::LagLead {

Callers 5

output_sql_typeMethod · 0.45
fmtMethod · 0.45
fmt_verbose_syntaxMethod · 0.45
convert_fromFunction · 0.45
mz_type_nameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected