Loading

NEWENCODER

encoder multivariate

The NEWENCODER function creates an empty encoder and pushes it onto the stack. An encoder is very similar to a Geo Time Series™, it differs by its ability to store values of all four types (LONG, DOUBLE, BOOLEAN, STRING) where a GTS is limited to the type of the first value stored.

The set of operations which can be performed on encoders is more limited than those that can be performed on GTS.

NEWENCODER is available since version 1.2.9.

See also

Signatures

Examples

NEWENCODER 0 NaN NaN NaN true ADDVALUE 1 NaN NaN NaN 42 ADDVALUE 2 NaN NaN NaN "foo" ADDVALUE 0 NaN NaN NaN PI ADDVALUE // as long as you are in RAM, you can have duplicates timestamps...