added aliases to all flux function docs for new structure

pull/1347/head
Scott Anderson 2020-08-20 17:01:09 -06:00
parent 9ea5107264
commit 8ee9d08805
372 changed files with 482 additions and 19 deletions

View File

@ -1,6 +1,8 @@
---
title: Flux data scripting language
description: Reference articles for Flux functions and the Flux language specification.
aliases:
- /v2.0/reference/flux/
influxdb/v2.0/tags: [flux]
menu:
influxdb_2_0_ref:

View File

@ -9,6 +9,8 @@ menu:
parent: Flux language
weight: 103
influxdb/v2.0/tags: [flux]
aliases:
- /v2.0/reference/flux/language/
---
The following document specifies the Flux language and query execution.

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Assignment and scope
weight: 202
aliases:
- /v2.0/reference/flux/language/assignment-scope/
---
An assignment binds an identifier to a variable, option, or function.

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Blocks
weight: 203
aliases:
- /v2.0/reference/flux/language/blocks/
---
A _block_ is a possibly empty sequence of statements within matching braces (`{}`).

View File

@ -6,6 +6,8 @@ menu:
name: Data model
parent: Flux specification
weight: 201
aliases:
- /v2.0/reference/flux/language/data-model/
---
{{% note %}}

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Expressions
weight: 204
aliases:
- /v2.0/reference/flux/language/expressions
---
An _expression_ specifies the computation of a value by applying the operators and functions to operands.

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Lexical elements
weight: 205
aliases:
- /v2.0/reference/flux/language/lexical-elements
---
{{% note %}}
@ -288,15 +290,16 @@ Within the quotes any character may appear except an unescaped double quote.
String literals support several escape sequences.
```
\n U+000A line feed or newline
\r U+000D carriage return
\t U+0009 horizontal tab
U+000A line feed or newline
U+000D carriage return
U+0009 horizontal tab
\" U+0022 double quote
\\ U+005C backslash
\ U+005C backslash
\${ U+0024 U+007B dollar sign and opening curly bracket
```
Additionally, any byte value may be specified via a hex encoding using `\x` as the prefix.
Additionally, any byte value may be specified via a hex encoding using `` as the prefix.
```
string_lit = `"` { unicode_value | byte_value | StringExpression | newline } `"` .
@ -312,9 +315,9 @@ StringExpression = "${" Expression "}" .
```js
"abc"
"string with double \" quote"
"string with backslash \\"
"string with backslash \"
"日本語"
"\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e" // the explicit UTF-8 encoding of the previous line
"日本語" // the explicit UTF-8 encoding of the previous line
```
String literals are also interpolated for embedded expressions to be evaluated as strings.
@ -346,13 +349,13 @@ n = 42
A _regular expression literal_ represents a regular expression pattern, enclosed in forward slashes.
Within the forward slashes, any unicode character may appear except for an unescaped forward slash.
The `\x` hex byte value representation from string literals may also be present.
The `` hex byte value representation from string literals may also be present.
Regular expression literals support only the following escape sequences:
```
\/ U+002f forward slash
\\ U+005c backslash
\ U+005c backslash
```
```
@ -365,9 +368,9 @@ regexp_escape_char = `\` (`/` | `\`)
```js
/.*/
/http:\/\/localhost:9999/
/^\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e(ZZ)?$/
/^日本語(ZZ)?$/
/^日本語(ZZ)?$/ // the above two lines are equivalent
/\\xZZ/ // this becomes the literal pattern "\xZZ"
/\xZZ/ // this becomes the literal pattern "ZZ"
```
The regular expression syntax is defined by [RE2](https://github.com/google/re2/wiki/Syntax).

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Notation
weight: 206
aliases:
- /v2.0/reference/flux/language/notation
---
The syntax of the language is specified using [Extended Backus-Naur Form (EBNF)](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form):

View File

@ -6,6 +6,8 @@ menu:
name: Operators
parent: Flux specification
weight: 215
aliases:
- /v2.0/reference/flux/language/operators
influxdb/v2.0/tags: [operators]
---

View File

@ -8,6 +8,8 @@ menu:
parent: Flux specification
name: Options
weight: 212
aliases:
- /v2.0/reference/flux/language/options
---
{{% note %}}

View File

@ -6,6 +6,7 @@ description: >
Each source file is parsed individually and composed into a single package.
aliases:
- /v2.0/reference/flux/language/programs
- /v2.0/reference/flux/language/packages
menu:
influxdb_2_0_ref:
parent: Flux specification

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Representation
weight: 209
aliases:
- /v2.0/reference/flux/language/representation
---
Source code is encoded in UTF-8.

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Side effects
weight: 210
aliases:
- /v2.0/reference/flux/language/side-effects
---
Side effects can occur in one of two ways.

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Statements
weight: 211
aliases:
- /v2.0/reference/flux/language/statements
---
{{% note %}}

View File

@ -8,6 +8,8 @@ menu:
parent: Flux specification
name: String interpolation
weight: 211
aliases:
- /v2.0/reference/flux/language/string-interpolation
---
Flux string interpolation evaluates string literals containing one or more placeholders

View File

@ -5,6 +5,7 @@ description: >
All such values must have a corresponding builtin statement to declare the existence and type of the built-in value.
aliases:
- /v2.0/reference/flux/language/built-ins/system-built-ins/
- /v2.0/reference/flux/language/system-built-ins
menu:
influxdb_2_0_ref:
name: System built-ins

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Types
weight: 213
aliases:
- /v2.0/reference/flux/language/types
---
{{% note %}}

View File

@ -6,6 +6,8 @@ menu:
parent: Flux specification
name: Variables
weight: 214
aliases:
- /v2.0/reference/flux/language/variables
---
A **variable** represents a storage location for a single value.

View File

@ -5,6 +5,7 @@ description: >
that retrieve, transform, process, and output data.
aliases:
- /v2.0/reference/flux/functions/
- /v2.0/reference/flux/stdlib/
influxdb/v2.0/tags: [flux, functions, package]
menu:
influxdb_2_0_ref:

View File

@ -3,6 +3,7 @@ title: Complete list of Flux functions
description: View the full library of documented Flux functions.
aliases:
- /v2.0/reference/flux/functions/all-functions/
- /v2.0/reference/flux/stdlib/all-functions
menu:
influxdb_2_0_ref:
name: View all functions

View File

@ -6,6 +6,7 @@ description: >
They do not require an import statement and are usable without any extra setup.
aliases:
- /v2.0/reference/flux/functions/built-in/
- /v2.0/reference/flux/stdlib/built-in/
menu:
influxdb_2_0_ref:
name: Built-in

View File

@ -5,6 +5,7 @@ description: Flux's built-in input functions define sources of data or or displa
aliases:
- /v2.0/reference/flux/functions/inputs
- /v2.0/reference/flux/functions/built-in/inputs/
- /v2.0/reference/flux/stdlib/built-in/inputs/
menu:
influxdb_2_0_ref:
parent: Built-in

View File

@ -4,6 +4,7 @@ description: The `buckets()` function returns a list of buckets in the organizat
aliases:
- /v2.0/reference/flux/functions/inputs/buckets
- /v2.0/reference/flux/functions/built-in/inputs/buckets/
- /v2.0/reference/flux/stdlib/built-in/inputs/buckets
menu:
influxdb_2_0_ref:
name: buckets

View File

@ -4,6 +4,7 @@ description: The `from()` function retrieves data from an InfluxDB data source.
aliases:
- /v2.0/reference/flux/functions/inputs/from
- /v2.0/reference/flux/functions/built-in/inputs/from/
- /v2.0/reference/flux/stdlib/built-in/inputs/from
menu:
influxdb_2_0_ref:
name: from

View File

@ -7,6 +7,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/misc
- /v2.0/reference/flux/functions/built-in/misc/
- /v2.0/reference/flux/stdlib/built-in/misc/
menu:
influxdb_2_0_ref:
parent: Built-in

View File

@ -4,6 +4,7 @@ description: The `intervals()` function generates a set of time intervals over a
aliases:
- /v2.0/reference/flux/functions/misc/intervals
- /v2.0/reference/flux/functions/built-in/misc/intervals/
- /v2.0/reference/flux/stdlib/built-in/misc/intervals
menu:
influxdb_2_0_ref:
name: intervals

View File

@ -6,6 +6,8 @@ menu:
name: length
parent: built-in-misc
weight: 401
aliases:
- /v2.0/reference/flux/stdlib/built-in/misc/length
---
The `length()` function returns the number of items in an array.

View File

@ -4,6 +4,7 @@ description: The `linearBins()` function generates a list of linearly separated
aliases:
- /v2.0/reference/flux/functions/misc/linearbins
- /v2.0/reference/flux/functions/built-in/misc/linearbins/
- /v2.0/reference/flux/stdlib/built-in/misc/linearbins
menu:
influxdb_2_0_ref:
name: linearBins

View File

@ -4,6 +4,7 @@ description: The `logarithmicBins()` function generates a list of exponentially
aliases:
- /v2.0/reference/flux/functions/misc/logarithmicbins
- /v2.0/reference/flux/functions/built-in/misc/logarithmicbins/
- /v2.0/reference/flux/stdlib/built-in/misc/logarithmicbins
menu:
influxdb_2_0_ref:
name: logarithmicBins

View File

@ -3,6 +3,7 @@ title: now() function
description: The `now()` function returns the current time (UTC).
aliases:
- /v2.0/reference/flux/functions/built-in/misc/now/
- /v2.0/reference/flux/stdlib/built-in/misc/now
menu:
influxdb_2_0_ref:
name: now

View File

@ -3,6 +3,7 @@ title: sleep() function
description: The `sleep()` function delays execution by a specified duration.
aliases:
- /v2.0/reference/flux/functions/built-in/misc/sleep/
- /v2.0/reference/flux/stdlib/built-in/misc/sleep
menu:
influxdb_2_0_ref:
name: sleep

View File

@ -5,6 +5,7 @@ description: Flux's built-in output functions yield results or send data to a sp
aliases:
- /v2.0/reference/flux/functions/outputs
- /v2.0/reference/flux/functions/built-in/outputs/
- /v2.0/reference/flux/stdlib/built-in/outputs/
menu:
influxdb_2_0_ref:
parent: Built-in

View File

@ -4,6 +4,7 @@ description: The `to()` function writes data to an InfluxDB v2.0 bucket.
aliases:
- /v2.0/reference/flux/functions/outputs/to
- /v2.0/reference/flux/functions/built-in/outputs/to/
- /v2.0/reference/flux/stdlib/built-in/outputs/to
menu:
influxdb_2_0_ref:
name: to

View File

@ -4,6 +4,7 @@ description: The `yield()` function indicates the input tables received should b
aliases:
- /v2.0/reference/flux/functions/outputs/yield
- /v2.0/reference/flux/functions/built-in/outputs/yield/
- /v2.0/reference/flux/stdlib/built-in/outputs/yield
menu:
influxdb_2_0_ref:
name: yield

View File

@ -4,6 +4,7 @@ list_title: Built-in testing functions
description: Flux's built-in testing functions test various aspects of piped-forward data.
aliases:
- /v2.0/reference/flux/functions/built-in/tests/
- /v2.0/reference/flux/stdlib/built-in/tests/
menu:
influxdb_2_0_ref:
name: Tests

View File

@ -3,6 +3,7 @@ title: contains() function
description: The `contains()` function tests whether a value is a member of a set.
aliases:
- /v2.0/reference/flux/functions/built-in/tests/contains/
- /v2.0/reference/flux/stdlib/built-in/tests/contains
menu:
influxdb_2_0_ref:
name: contains

View File

@ -5,6 +5,7 @@ description: Flux's built-in transformation functions transform and shape your d
aliases:
- /v2.0/reference/flux/functions/transformations
- /v2.0/reference/flux/functions/built-in/transformations/
- /v2.0/reference/flux/stdlib/built-in/transformations/
menu:
influxdb_2_0_ref:
parent: Built-in

View File

@ -7,6 +7,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/
menu:
influxdb_2_0_ref:
parent: built-in-transformations

View File

@ -4,6 +4,7 @@ description: The `aggregateWindow()` function applies an aggregate function to f
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/aggregatewindow
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/aggregatewindow/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/aggregatewindow
menu:
influxdb_2_0_ref:
name: aggregateWindow

View File

@ -4,6 +4,7 @@ description: The `count()` function outputs the number of non-null records in a
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/count
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/count/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count
menu:
influxdb_2_0_ref:
name: count

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/histogramquantile
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/histogramquantile/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/histogramquantile
menu:
influxdb_2_0_ref:
name: histogramQuantile

View File

@ -4,6 +4,7 @@ description: The `integral()` function computes the area under the curve per uni
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/integral
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/integral/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/integral
menu:
influxdb_2_0_ref:
name: integral

View File

@ -4,6 +4,7 @@ description: The `mean()` function computes the mean or average of non-null reco
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/mean
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/mean/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mean
menu:
influxdb_2_0_ref:
name: mean

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/median
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/median/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/median
menu:
influxdb_2_0_ref:
name: median

View File

@ -5,6 +5,7 @@ description: >
specified column in the input table.
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/mode/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/mode
menu:
influxdb_2_0_ref:
name: mode

View File

@ -5,6 +5,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/percentile
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/percentile
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/quantile/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/quantile
menu:
influxdb_2_0_ref:
name: quantile

View File

@ -5,6 +5,7 @@ description: >
`fn`, providing a way to create custom table aggregations.
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/reduce/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/reduce
menu:
influxdb_2_0_ref:
name: reduce

View File

@ -4,6 +4,7 @@ description: The `skew()` function outputs the skew of non-null records as a flo
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/skew
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/skew/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/skew
menu:
influxdb_2_0_ref:
name: skew

View File

@ -4,6 +4,7 @@ description: The `spread()` function outputs the difference between the minimum
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/spread
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/spread/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/spread
menu:
influxdb_2_0_ref:
name: spread

View File

@ -4,6 +4,7 @@ description: The `stddev()` function computes the standard deviation of non-null
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/stddev
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/stddev/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/stddev
menu:
influxdb_2_0_ref:
name: stddev

View File

@ -4,6 +4,7 @@ description: The `sum()` function computes the sum of non-null records in a spec
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/sum
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/sum/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum
menu:
influxdb_2_0_ref:
name: sum

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/chandemomentumoscillator/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/chandemomentumoscillator/
- /v2.0/reference/flux/stdlib/built-in/transformations/chandemomentumoscillator
menu:
influxdb_2_0_ref:
name: chandeMomentumOscillator

View File

@ -7,6 +7,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/columns
- /v2.0/reference/flux/functions/built-in/transformations/columns/
- /v2.0/reference/flux/stdlib/built-in/transformations/columns
menu:
influxdb_2_0_ref:
name: columns

View File

@ -5,6 +5,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/cov
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/cov/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/cov/
- /v2.0/reference/flux/stdlib/built-in/transformations/cov
menu:
influxdb_2_0_ref:
name: cov

View File

@ -5,6 +5,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/covariance
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/covariance/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/covariance/
- /v2.0/reference/flux/stdlib/built-in/transformations/covariance
menu:
influxdb_2_0_ref:
name: covariance

View File

@ -4,6 +4,7 @@ description: The `cumulativeSum()` function computes a running sum for non-null
aliases:
- /v2.0/reference/flux/functions/transformations/cumulativesum
- /v2.0/reference/flux/functions/built-in/transformations/cumulativesum/
- /v2.0/reference/flux/stdlib/built-in/transformations/cumulativesum
menu:
influxdb_2_0_ref:
name: cumulativeSum

View File

@ -4,6 +4,7 @@ description: The `derivative()` function computes the rate of change per unit of
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/derivative
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/derivative/
- /v2.0/reference/flux/stdlib/built-in/transformations/derivative
menu:
influxdb_2_0_ref:
name: derivative

View File

@ -4,6 +4,7 @@ description: The `difference()` function computes the difference between subsequ
aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/difference
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/difference/
- /v2.0/reference/flux/stdlib/built-in/transformations/difference
menu:
influxdb_2_0_ref:
name: difference

View File

@ -7,6 +7,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/doubleema/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/doubleema/
- /v2.0/reference/flux/stdlib/built-in/transformations/doubleema
menu:
influxdb_2_0_ref:
name: doubleEMA

View File

@ -4,6 +4,7 @@ description: The `drop()` function removes specified columns from a table.
aliases:
- /v2.0/reference/flux/functions/transformations/drop
- /v2.0/reference/flux/functions/built-in/transformations/drop/
- /v2.0/reference/flux/stdlib/built-in/transformations/drop
menu:
influxdb_2_0_ref:
name: drop

View File

@ -4,6 +4,7 @@ description: The `duplicate()` function duplicates a specified column in a table
aliases:
- /v2.0/reference/flux/functions/transformations/duplicate
- /v2.0/reference/flux/functions/built-in/transformations/duplicate/
- /v2.0/reference/flux/stdlib/built-in/transformations/duplicate
menu:
influxdb_2_0_ref:
name: duplicate

View File

@ -3,6 +3,7 @@ title: elapsed() function
description: The `elapsed()` function returns the time between subsequent records.
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/elapsed/
- /v2.0/reference/flux/stdlib/built-in/transformations/elapsed
menu:
influxdb_2_0_ref:
name: elapsed

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/exponentialmovingaverage/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/exponentialmovingaverage/
- /v2.0/reference/flux/stdlib/built-in/transformations/exponentialmovingaverage
menu:
influxdb_2_0_ref:
name: exponentialMovingAverage

View File

@ -4,6 +4,7 @@ description: The `fill()` function replaces all null values in an input stream a
aliases:
- /v2.0/reference/flux/functions/transformations/fill
- /v2.0/reference/flux/functions/built-in/transformations/fill/
- /v2.0/reference/flux/stdlib/built-in/transformations/fill
menu:
influxdb_2_0_ref:
name: fill

View File

@ -4,6 +4,7 @@ description: The `filter()` function filters data based on conditions defined in
aliases:
- /v2.0/reference/flux/functions/transformations/filter
- /v2.0/reference/flux/functions/built-in/transformations/filter/
- /v2.0/reference/flux/stdlib/built-in/transformations/filter
menu:
influxdb_2_0_ref:
name: filter

View File

@ -4,6 +4,7 @@ description: The `group()` function groups records based on their values for spe
aliases:
- /v2.0/reference/flux/functions/transformations/group
- /v2.0/reference/flux/functions/built-in/transformations/group/
- /v2.0/reference/flux/stdlib/built-in/transformations/group
menu:
influxdb_2_0_ref:
name: group

View File

@ -4,6 +4,7 @@ description: The `histogram()` function approximates the cumulative distribution
aliases:
- /v2.0/reference/flux/functions/transformations/histogram
- /v2.0/reference/flux/functions/built-in/transformations/histogram/
- /v2.0/reference/flux/stdlib/built-in/transformations/histogram
menu:
influxdb_2_0_ref:
name: histogram

View File

@ -6,6 +6,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/holtwinters
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/holtwinters/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/holtwinters/
- /v2.0/reference/flux/stdlib/built-in/transformations/holtwinters
menu:
influxdb_2_0_ref:
name: holtWinters

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/hourselection
- /v2.0/reference/flux/functions/built-in/transformations/hourselection/
- /v2.0/reference/flux/stdlib/built-in/transformations/hourselection
menu:
influxdb_2_0_ref:
name: hourSelection

View File

@ -7,6 +7,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/increase
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/increase/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/increase/
- /v2.0/reference/flux/stdlib/built-in/transformations/increase
menu:
influxdb_2_0_ref:
name: increase

View File

@ -4,6 +4,7 @@ description: The `join()` function merges two or more input streams whose values
aliases:
- /v2.0/reference/flux/functions/transformations/join
- /v2.0/reference/flux/functions/built-in/transformations/join/
- /v2.0/reference/flux/stdlib/built-in/transformations/join
menu:
influxdb_2_0_ref:
name: join

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/kaufmansama/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/kaufmansama/
- /v2.0/reference/flux/stdlib/built-in/transformations/kaufmansama
menu:
influxdb_2_0_ref:
name: kaufmansAMA

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/kaufmanser/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/kaufmanser/
- /v2.0/reference/flux/stdlib/built-in/transformations/kaufmanser
menu:
influxdb_2_0_ref:
name: kaufmansER

View File

@ -4,6 +4,7 @@ description: The `keep()` function returns a table containing only the specified
aliases:
- /v2.0/reference/flux/functions/transformations/keep
- /v2.0/reference/flux/functions/built-in/transformations/keep/
- /v2.0/reference/flux/stdlib/built-in/transformations/keep
menu:
influxdb_2_0_ref:
name: keep

View File

@ -7,6 +7,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/transformations/keys
- /v2.0/reference/flux/functions/built-in/transformations/keys/
- /v2.0/reference/flux/stdlib/built-in/transformations/keys
menu:
influxdb_2_0_ref:
name: keys

View File

@ -4,6 +4,7 @@ description: The `keyValues()` function returns a table with the input table's g
aliases:
- /v2.0/reference/flux/functions/transformations/keyvalues
- /v2.0/reference/flux/functions/built-in/transformations/keyvalues/
- /v2.0/reference/flux/stdlib/built-in/transformations/keyvalues
menu:
influxdb_2_0_ref:
name: keyValues

View File

@ -4,6 +4,7 @@ description: The `limit()` function limits each output table to the first `n` re
aliases:
- /v2.0/reference/flux/functions/transformations/limit
- /v2.0/reference/flux/functions/built-in/transformations/limit/
- /v2.0/reference/flux/stdlib/built-in/transformations/limit
menu:
influxdb_2_0_ref:
name: limit

View File

@ -4,6 +4,7 @@ description: The `map()` function applies a function to each record in the input
aliases:
- /v2.0/reference/flux/functions/transformations/map
- /v2.0/reference/flux/functions/built-in/transformations/map/
- /v2.0/reference/flux/stdlib/built-in/transformations/map
menu:
influxdb_2_0_ref:
name: map

View File

@ -5,6 +5,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/movingaverage/
- /v2.0/reference/flux/functions/built-in/transformations/movingaverage/
- /v2.0/reference/flux/stdlib/built-in/transformations/movingaverage
menu:
influxdb_2_0_ref:
name: movingAverage

View File

@ -5,6 +5,7 @@ aliases:
- /v2.0/reference/flux/functions/transformations/aggregates/pearsonr
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/pearsonr/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/pearsonr/
- /v2.0/reference/flux/stdlib/built-in/transformations/pearsonr
menu:
influxdb_2_0_ref:
name: pearsonr
@ -55,7 +56,7 @@ stream2 = from(bucket:"example-bucket")
r._field == "available"
)
pearsonr(x: stream1, y: stream2, on: ["_time", "_field"])
pearsonr(x: stream1, y: stream2, on: ["_time"])
```
## Function definition

View File

@ -4,6 +4,7 @@ description: The `pivot()` function collects values stored vertically (column-wi
aliases:
- /v2.0/reference/flux/functions/transformations/pivot
- /v2.0/reference/flux/functions/built-in/transformations/pivot/
- /v2.0/reference/flux/stdlib/built-in/transformations/pivot
menu:
influxdb_2_0_ref:
name: pivot

View File

@ -4,6 +4,7 @@ description: The `range()` function filters records based on time bounds.
aliases:
- /v2.0/reference/flux/functions/transformations/range
- /v2.0/reference/flux/functions/built-in/transformations/range/
- /v2.0/reference/flux/stdlib/built-in/transformations/range
menu:
influxdb_2_0_ref:
name: range

View File

@ -6,6 +6,7 @@ description: >
aliases:
- /v2.0/reference/flux/functions/built-in/transformations/aggregates/relativestrengthindex/
- /v2.0/reference/flux/stdlib/built-in/transformations/aggregates/relativestrengthindex/
- /v2.0/reference/flux/stdlib/built-in/transformations/relativestrengthindex
menu:
influxdb_2_0_ref:
name: relativeStrengthIndex

View File

@ -4,6 +4,7 @@ description: The `rename()` function renames specified columns in a table.
aliases:
- /v2.0/reference/flux/functions/transformations/rename
- /v2.0/reference/flux/functions/built-in/transformations/rename/
- /v2.0/reference/flux/stdlib/built-in/transformations/rename
menu:
influxdb_2_0_ref:
name: rename

View File

@ -5,6 +5,7 @@ description: Flux's built-in selector functions return one or more records based
aliases:
- /v2.0/reference/flux/functions/transformations/selectors
- /v2.0/reference/flux/functions/built-in/transformations/selectors/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/
menu:
influxdb_2_0_ref:
parent: built-in-transformations

View File

@ -4,6 +4,7 @@ description: The `bottom()` function sorts a table by columns and keeps only the
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/bottom
- /v2.0/reference/flux/functions/built-in/transformations/selectors/bottom/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/bottom
menu:
influxdb_2_0_ref:
name: bottom

View File

@ -4,6 +4,7 @@ description: The `distinct()` function returns the unique values for a given col
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/distinct
- /v2.0/reference/flux/functions/built-in/transformations/selectors/distinct/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/distinct
menu:
influxdb_2_0_ref:
name: distinct

View File

@ -4,6 +4,7 @@ description: The `first()` function selects the first non-null record from an in
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/first
- /v2.0/reference/flux/functions/built-in/transformations/selectors/first/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/first
menu:
influxdb_2_0_ref:
name: first

View File

@ -4,6 +4,7 @@ description: The `highestAverage()` function calculates the average of each tabl
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/highestaverage
- /v2.0/reference/flux/functions/built-in/transformations/selectors/highestaverage/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/highestaverage
menu:
influxdb_2_0_ref:
name: highestAverage

View File

@ -4,6 +4,7 @@ description: The `highestCurrent()` function selects the last record of each tab
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/highestcurrent
- /v2.0/reference/flux/functions/built-in/transformations/selectors/highestcurrent/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/highestcurrent
menu:
influxdb_2_0_ref:
name: highestCurrent

View File

@ -4,6 +4,7 @@ description: The `highestMax()` function selects the maximum record from each ta
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/highestmax
- /v2.0/reference/flux/functions/built-in/transformations/selectors/highestmax/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/highestmax
menu:
influxdb_2_0_ref:
name: highestMax

View File

@ -4,6 +4,7 @@ description: The `last()` function selects the last non-null record from an inpu
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/last
- /v2.0/reference/flux/functions/built-in/transformations/selectors/last/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/last
menu:
influxdb_2_0_ref:
name: last

View File

@ -4,6 +4,7 @@ description: The `lowestAverage()` function calculates the average of each table
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/lowestaverage
- /v2.0/reference/flux/functions/built-in/transformations/selectors/lowestaverage/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/lowestaverage
menu:
influxdb_2_0_ref:
name: lowestAverage

View File

@ -4,6 +4,7 @@ description: The `lowestCurrent()` function selects the last record of each tabl
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/lowestcurrent
- /v2.0/reference/flux/functions/built-in/transformations/selectors/lowestcurrent/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/lowestcurrent
menu:
influxdb_2_0_ref:
name: lowestCurrent

View File

@ -4,6 +4,7 @@ description: The `lowestMin()` function selects the minimum record from each tab
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/lowestmin
- /v2.0/reference/flux/functions/built-in/transformations/selectors/lowestmin/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/lowestmin
menu:
influxdb_2_0_ref:
name: lowestMin

View File

@ -4,6 +4,7 @@ description: The `max()` function selects record with the highest _value from th
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/max
- /v2.0/reference/flux/functions/built-in/transformations/selectors/max/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/max
menu:
influxdb_2_0_ref:
name: max

View File

@ -4,6 +4,7 @@ description: The `min()` function selects record with the lowest _value from the
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/min
- /v2.0/reference/flux/functions/built-in/transformations/selectors/min/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/min
menu:
influxdb_2_0_ref:
name: min

View File

@ -4,6 +4,7 @@ description: The `sample()` function selects a subset of the records from the in
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/sample
- /v2.0/reference/flux/functions/built-in/transformations/selectors/sample/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/sample
menu:
influxdb_2_0_ref:
name: sample

View File

@ -4,6 +4,7 @@ description: The `top()` function sorts a table by columns and keeps only the to
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/top
- /v2.0/reference/flux/functions/built-in/transformations/selectors/top/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/top
menu:
influxdb_2_0_ref:
name: top

View File

@ -4,6 +4,7 @@ description: The `unique()` function returns all records containing unique value
aliases:
- /v2.0/reference/flux/functions/transformations/selectors/unique
- /v2.0/reference/flux/functions/built-in/transformations/selectors/unique/
- /v2.0/reference/flux/stdlib/built-in/transformations/selectors/unique
menu:
influxdb_2_0_ref:
name: unique

Some files were not shown because too many files have changed in this diff Show More