mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Arrays and Aggregates
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
Anand Krishnamoorthi
parent
351483d100
commit
d84096024d
+16
-2
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
pub mod aggregates;
|
||||
pub mod arrays;
|
||||
pub mod comparison;
|
||||
pub mod numbers;
|
||||
pub mod sets;
|
||||
@@ -28,12 +30,24 @@ lazy_static! {
|
||||
m.insert("floor", numbers::floor);
|
||||
m.insert("numbers.range", numbers::range);
|
||||
m.insert("rand.intn", numbers::intn);
|
||||
m.insert("round", numbers::round);
|
||||
m.insert("round", numbers::round);
|
||||
|
||||
// aggregates
|
||||
m.insert("count", aggregates::count);
|
||||
m.insert("max", aggregates::max);
|
||||
m.insert("min", aggregates::min);
|
||||
m.insert("product", aggregates::product);
|
||||
m.insert("sort", aggregates::sort);
|
||||
m.insert("sum", aggregates::sum);
|
||||
|
||||
// arrays
|
||||
m.insert("array.concat", arrays::concat);
|
||||
m.insert("array.reverse", arrays::reverse);
|
||||
|
||||
// sets
|
||||
m.insert("intersection", sets::intersection_of_set_of_sets);
|
||||
m.insert("union", sets::union_of_set_of_sets);
|
||||
|
||||
|
||||
m
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user