@@ -85,20 +85,21 @@ Functions
8585Functions can be invoked at the tail end of a path - the input to a function is the output of the path expression.
8686The function output is dictated by the function itself.
8787
88- | Function | Description | Output type |
89- | :----------| :-------------------------------------------------------------------------------------| :---------------------|
90- | min() | Provides the min value of an array of numbers | Double |
91- | max() | Provides the max value of an array of numbers | Double |
92- | avg() | Provides the average value of an array of numbers | Double |
93- | stddev() | Provides the standard deviation value of an array of numbers | Double |
94- | length() | Provides the length of an array | Integer |
95- | sum() | Provides the sum value of an array of numbers | Double |
96- | keys() | Provides the property keys (An alternative for terminal tilde ` ~ ` ) | ` Set<E> ` |
97- | concat(X) | Provides a concatinated version of the path output with a new item | like input |
98- | append(X) | add an item to the json path output array | like input |
99- | first() | Provides the first item of an array | Depends on the array |
100- | last() | Provides the last item of an array | Depends on the array |
101- | index(X) | Provides the item of an array of index: X, if the X is negative, take from backwards | Depends on the array |
88+ | Function | Description | Output type |
89+ | :-----------| :-------------------------------------------------------------------------------------| :---------------------|
90+ | min() | Provides the min value of an array of numbers | Double |
91+ | max() | Provides the max value of an array of numbers | Double |
92+ | avg() | Provides the average value of an array of numbers | Double |
93+ | stddev() | Provides the standard deviation value of an array of numbers | Double |
94+ | length() | Provides the length of an array | Integer |
95+ | sum() | Provides the sum value of an array of numbers | Double |
96+ | keys() | Provides the property keys (An alternative for terminal tilde ` ~ ` ) | ` Set<E> ` |
97+ | concat(X) | Provides a concatinated version of the path output with a new item | like input |
98+ | append(X) | add an item to the json path output array | like input |
99+ | first() | Provides the first item of an array | Depends on the array |
100+ | last() | Provides the last item of an array | Depends on the array |
101+ | index(X) | Provides the item of an array of index: X, if the X is negative, take from backwards | Depends on the array |
102+ | distinct() | Provides the unique items of an array | Depends on the array |
102103Filter Operators
103104-----------------
104105
0 commit comments