{{/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}} {{ $ref := ref . "maintenance/configurations.md" }}
Function | Description | Output type |
---|---|---|
min() |
Provides the min value of an array of numbers. | Double |
max() |
Provides the max value of an array of numbers. | Double |
avg() |
Provides the average value of an array of numbers. | Double |
stddev() |
Provides the standard deviation value of an array of numbers | Double |
length() |
Provides the length of an array | Integer |
sum() |
Provides the sum value of an array of numbers. | Double |
keys() |
Provides the property keys (An alternative for terminal tilde ~) | Set |
concat(X) |
Provides a concatinated version of the path output with a new item. | like input |
append(X) |
add an item to the json path output array | like input |
append(X) |
add an item to the json path output array | like input |
first() |
Provides the first item of an array | Depends on the array |
last() |
Provides the last item of an array | Depends on the array |
index(X) |
Provides the item of an array of index: X, if the X is negative, take from backwards | Depends on the array |