moving_avg

command
v0.11.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2016 License: MIT Imports: 6 Imported by: 0

README

Moving Average UDF Examples

Each example in this directory should implement a moving average with the following specifications.

  • Wants and provides a stream edge.
  • Computes a moving average and emits a point for every incoming points once the window is full.
  • Has a field option that specifies which field to operate on.
  • Has a size option that specifies how many points to keep in the moving average window.
  • Has an as option that specifies the name of the output field.
  • Implements snapshot/restore methods that save the state of the moving average.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL