Method
new
(
inner: Arc<dyn AggregateUDFImpl>,
new_aliases: impl IntoIterator<Item = &'static str>,
)
Source from the content-addressed store, hash-verified
| 1231 | |
| 1232 | impl AliasedAggregateUDFImpl { |
| 1233 | pub fn new( |
| 1234 | inner: Arc<dyn AggregateUDFImpl>, |
| 1235 | new_aliases: impl IntoIterator<Item = &'static str>, |
| 1236 | ) -> Self { |
| 1237 | let mut aliases = inner.aliases().to_vec(); |
| 1238 | aliases.extend(new_aliases.into_iter().map(|s| s.to_string())); |
| 1239 | |
| 1240 | Self { |
| 1241 | inner: inner.into(), |
| 1242 | aliases, |
| 1243 | } |
| 1244 | } |
| 1245 | } |
| 1246 | |
| 1247 | #[warn(clippy::missing_trait_methods)] // Delegates, so it should implement every single trait method |
Callers
nothing calls this directly
Tested by
no test coverage detected