You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2021/10/22 13:33:02 UTC
[incubator-age-website] branch master updated: Remove () from
function names in TOC
This is an automated email from the ASF dual-hosted git repository.
joshinnis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age-website.git
The following commit(s) were added to refs/heads/master by this push:
new af44b63 Remove () from function names in TOC
af44b63 is described below
commit af44b636fab3ebe43bdcc516a0d5c3fdc5a3cfaf
Author: Josh Innis <Jo...@gmail.com>
AuthorDate: Fri Oct 22 06:32:06 2021 -0700
Remove () from function names in TOC
---
docs/functions/aggregate_functions.md | 16 +++++++-------
docs/functions/logarithmic_functions.md | 10 ++++-----
docs/functions/numeric_functions.md | 12 +++++------
docs/functions/scalar_functions.md | 35 ++++++++++++++-----------------
docs/functions/string_functions.md | 22 +++++++++----------
docs/functions/trigonometric_functions.md | 20 +++++++++---------
6 files changed, 56 insertions(+), 59 deletions(-)
diff --git a/docs/functions/aggregate_functions.md b/docs/functions/aggregate_functions.md
index b25b48c..f07ddc4 100644
--- a/docs/functions/aggregate_functions.md
+++ b/docs/functions/aggregate_functions.md
@@ -23,7 +23,7 @@ SELECT * FROM cypher('graph_name', $$
$$) as (a agtype);
```
-## min()
+## min
min() returns the minimum value in a set of values.
@@ -154,7 +154,7 @@ Result:
-## max()
+## max
max() returns the maximum value in a set of values.
@@ -230,7 +230,7 @@ Result:
-## stDev()
+## stDev
stDev() returns the standard deviation for the given value over a group. It uses a standard two-pass method, with N - 1 as the denominator, and should be used when taking a sample of the population for an unbiased estimate. When the standard variation of the entire population is being calculated, stdDevP should be used.
@@ -304,7 +304,7 @@ Result:
-## stDevP()
+## stDevP
stDevP() returns the standard deviation for the given value over a group. It uses a standard two-pass method, with N as the denominator, and should be used when calculating the standard deviation for an entire population. When the standard variation of only a sample of the population is being calculated, stDev should be used.
@@ -378,7 +378,7 @@ Result:
-## percentileCont()
+## percentileCont
percentileCont() returns the percentile of the given value over a group, with a percentile from 0.0 to 1.0. It uses a linear interpolation method, calculating a weighted average between two values if the desired percentile lies between them. For nearest values using a rounding method, see percentileDisc.
@@ -458,7 +458,7 @@ Result:
-## percentileDisc()
+## percentileDisc
percentileDisc() returns the percentile of the given value over a group, with a percentile from 0.0to 1.0. It uses a rounding method and calculates the nearest value to the percentile. For interpolated values, see percentileCont.
@@ -538,7 +538,7 @@ Result:
-## count()
+## count
count() returns the number of values or records, and appears in two variants:
@@ -768,7 +768,7 @@ Result:
</table>
-## avg()
+## avg
avg() returns the average of a set of numeric values.
diff --git a/docs/functions/logarithmic_functions.md b/docs/functions/logarithmic_functions.md
index 0ca85d8..2490704 100644
--- a/docs/functions/logarithmic_functions.md
+++ b/docs/functions/logarithmic_functions.md
@@ -1,7 +1,7 @@
# Logarithmic Functions
-## e()
+## e
e() returns the base of the natural logarithm, e.
@@ -46,7 +46,7 @@ Results
-## sqrt()
+## sqrt
sqrt() returns the square root of a number.
@@ -91,7 +91,7 @@ Results
-## exp()
+## exp
exp() returns e^n, where e is the base of the natural logarithm, and n is the value of the argument expression.
@@ -163,7 +163,7 @@ Result:
-## log()
+## log
log() returns the natural logarithm of a number.
@@ -236,7 +236,7 @@ Result:
-## log10()
+## log10
log10() returns the common logarithm (base 10) of a number.
diff --git a/docs/functions/numeric_functions.md b/docs/functions/numeric_functions.md
index 0d53342..6fda83f 100644
--- a/docs/functions/numeric_functions.md
+++ b/docs/functions/numeric_functions.md
@@ -1,7 +1,7 @@
# Numeric Functions
-## rand()
+## rand
rand() returns a random floating point number in the range from 0 (inclusive) to 1 (exclusive); i.e.[0,1). The numbers returned follow an approximate uniform distribution.
@@ -48,7 +48,7 @@ Result:
-## abs()
+## abs
abs() returns the absolute value of the given number.
@@ -130,7 +130,7 @@ Result:
-## ceil()
+## ceil
ceil() returns the smallest floating point number that is greater than or equal to the given number and equal to a mathematical integer.
@@ -202,7 +202,7 @@ Result:
-## floor()
+## floor
floor() returns the greatest floating point number that is less than or equal to the given number and equal to a mathematical integer.
@@ -276,7 +276,7 @@ Result:
-## round()
+## round
round() returns the value of the given number rounded to the nearest integer.
@@ -350,7 +350,7 @@ Result:
-## sign()
+## sign
sign() returns the signum of the given number: 0 if the number is 0, -1 for any negative number, and 1 for any positive number
diff --git a/docs/functions/scalar_functions.md b/docs/functions/scalar_functions.md
index cd10281..bc8990c 100644
--- a/docs/functions/scalar_functions.md
+++ b/docs/functions/scalar_functions.md
@@ -1,7 +1,7 @@
# Scalar Functions
-## id()
+## id
id() returns the id of a vertex or edge.
@@ -80,7 +80,7 @@ Results
-## start_id()
+## start_id
start_id() returns the id of the vertex that is the starting vertex for the edge.
@@ -159,7 +159,7 @@ Results
-## end_id()
+## end_id
end_id() returns the id of the vertex that is the ending vertex for the edge.
@@ -236,7 +236,7 @@ Results
-## type()
+## type
type() returns the string representation of the edge type
@@ -307,7 +307,7 @@ Results
-## properties()
+## properties
Returns an agtype map containing all the properties of a vertex or edge. If the argument is already a map, it is returned unchanged.
@@ -374,7 +374,7 @@ Results:
-## head()
+## head
returns the first element in an agtype list.
@@ -453,7 +453,7 @@ Result:
-## last()
+## last
returns the last element in an agtype list.
@@ -532,7 +532,7 @@ Result:
-## length()
+## length
length() returns the length of a path.
@@ -610,7 +610,7 @@ Results:
-## size()
+## size
size() returns the length of a list.
@@ -682,7 +682,7 @@ Results:
-## startNode()
+## startNode
startNode() returns the start node of an edge.
@@ -757,7 +757,7 @@ Result
-## endNode()
+## endNode
endNode() returns the start node of an edge.
@@ -832,7 +832,7 @@ Result
-## timestamp()
+## timestamp
timestamp() returns the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.
@@ -885,7 +885,7 @@ Results:
-## toBoolean()
+## toBoolean
toBoolean() converts a string value to a boolean value.
@@ -961,7 +961,7 @@ Result:
-## toFloat()
+## toFloat
toFloat() converts an integer or string value to a floating point number.
@@ -1029,7 +1029,7 @@ Result:
-## toInteger()
+## toInteger
toInteger() converts a floating point or string value to an integer value.
@@ -1105,7 +1105,7 @@ Result:
-## coalesce()
+## coalesce
coalesce() returns the first non-null value in the given list of expressions.
@@ -1156,9 +1156,6 @@ RETURN coalesce(a.hairColor, a.eyes), a.hair_color, a.eyes
$$) as (color agtype, hair_color agtype, eyes agtype);
```
-
-Table 105.
-
Result
diff --git a/docs/functions/string_functions.md b/docs/functions/string_functions.md
index ef60794..eb267a1 100644
--- a/docs/functions/string_functions.md
+++ b/docs/functions/string_functions.md
@@ -1,7 +1,7 @@
# String Functions
-## replace()
+## replace
replace() returns a string in which all occurrences of a specified string in the original string have been replaced by another (specified) string.
@@ -91,7 +91,7 @@ Result:
-## split()
+## split
split() returns a list of strings resulting from the splitting of the original string around matches of the given delimiter.
@@ -167,7 +167,7 @@ Result:
-## left()
+## left
left() returns a string containing the specified number of leftmost characters of the original string.
@@ -246,7 +246,7 @@ Result:
-## right()
+## right
right() returns a string containing the specified number of rightmost characters of the original string.
@@ -325,7 +325,7 @@ Result:
-## substring()
+## substring
substring() returns a substring of the original string, beginning with a 0-based index start and length.
@@ -416,7 +416,7 @@ Result:
-## rTrim()
+## rTrim
rTrim() returns the original string with trailing whitespace removed.
@@ -486,7 +486,7 @@ Result:
-## lTrim()
+## lTrim
lTrim() returns the original string with trailing whitespace removed.
@@ -556,7 +556,7 @@ Result:
-## trim()
+## trim
trim() returns the original string with leading and trailing whitespace removed.
@@ -696,7 +696,7 @@ Result:
-## toUpper()
+## toUpper
toUpper() returns the original string in lowercase.
@@ -766,7 +766,7 @@ Result:
-## reverse()
+## reverse
reverse() returns a string in which the order of all characters in the original string have been reversed.
@@ -836,7 +836,7 @@ Result:
-## toString()
+## toString
toString() converts an integer, float or boolean value to a string.
diff --git a/docs/functions/trigonometric_functions.md b/docs/functions/trigonometric_functions.md
index 925d886..a45d745 100644
--- a/docs/functions/trigonometric_functions.md
+++ b/docs/functions/trigonometric_functions.md
@@ -1,7 +1,7 @@
# Trigonometric Functions
-## degrees()
+## degrees
degrees() converts radians to degrees.
@@ -73,7 +73,7 @@ Results:
-## radians()
+## radians
radians() converts radians to degrees.
@@ -145,7 +145,7 @@ Results:
-## pi()
+## pi
pi() returns the mathematical constant pi.
@@ -192,7 +192,7 @@ Result:
-## sin()
+## sin
sin() returns the sine of a number.
@@ -264,7 +264,7 @@ Results:
-## cos()
+## cos
cos() returns the cosine of a number.
@@ -336,7 +336,7 @@ Results:
-## tan()
+## tan
tan() returns the tangent of a number.
@@ -408,7 +408,7 @@ Results:
-## asin()
+## asin
asin() returns the arcsine of a number.
@@ -481,7 +481,7 @@ Results:
-## acos()
+## acos
acos() returns the arccosine of a number.
@@ -554,7 +554,7 @@ Results:
-## atan()
+## atan
atan() returns the arctangent of a number.
@@ -626,7 +626,7 @@ Results:
-## atan2()
+## atan2
atan2() returns the arctangent2 of a set of coordinates in radians.